Shahzeb Ihsan

"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


Blog | Archive | About Me | Projects

Using SSHFS

20 Aug 2015 | | virtualbox, virtualmachine, archlinux, linux, sshfs, vboxsf, git

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.

Continue Reading →

Setting Linux Environment Variables, Bash Init Scripts and Loading/Execution Order

14 Aug 2015 | | virtualbox, virtualmachine, archlinux, linux, development, bash, script, etc, environment, pam

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.

Continue Reading →

Some Arch Linux VM Issues & Their Solutions

11 Aug 2015 | | virtualbox, virtualmachine, archlinux, linux, development, bash, script

Some recurring issues I’ve had with VirtualBox and Arch Linux and their solutions. This bash script implements all these solutions.

Continue Reading →

1 2 3