Stale smb cifs mount file for no reason

So I have an Apache 2 Ubuntu Server 18.04.3 LTS which has been working fine and now for no reason that I know the SMB share mount has stopped working. My /etc/fstab file is: //**.*.*.***/********* /media/**** cifs credentials=/home/****/.smbcredentials,uid=www-data,gid=www-data,iocharset=utf8 0 0 And when I try to do ls /media/**** I get ls: cannot access ‘/media/****’: Stale…

Details

How can I change the colour of the git branch displayed in bash

I know nothing about bash or how to do stuff but this snippet does what I want: source /usr/lib/git-core/git-sh-prompt export PS1=”${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u:\[\033[01;34m\]\w\[\033[00m\]\$(__git_ps1)\[\033[00m\] $ ” It displays the current git branch in my terminal prompt if there is a branch. But the git branch is displayed in white (the default text colour in my ubuntu terminal). How…

Details