"The reasonable man adapts himself to the world; the unreasonable man persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man." -- George Bernard Shaw
A while back I had issues with git clone
on Windows host machine’s folders mounted using vboxsf. Cloning, pushing or committing would result in Git complaining that it couldn’t lock the config file because permission was denied. I uselessly Googled for a solution for about a week until I discovered SSHFS.
This post serves as a reference for various Linux startup, login and init scripts, environment variables and the order in which they are loaded or executed.
I use Arch Linux with Bash, but the general concepts should be applicable to any distro or shell. I also use Bash as my default login shell. You can confirm which login shell you’re running (sh or bash) by using echo $SHELL
. The default user shell can be changed using the chsh
command.
Some recurring issues I’ve had with VirtualBox and Arch Linux and their solutions. This bash script implements all these solutions.
contact me shahzeb (dot) ihsan (at) gmail (dot) com