Created
March 6, 2017 08:19
-
-
Save neelabhg/192394ceca0e3678eadf715804a1a3f5 to your computer and use it in GitHub Desktop.
Customizations for my GNU/Linux installations
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Place this in .bashrc or another shell initialization file | |
# Print the amount of File system usage on terminal start | |
# Command taken from http://www.cyberciti.biz/tips/shell-script-to-watch-the-disk-space.html | |
df -H /dev/sda1 | grep -vE '^Filesystem|tmpfs|cdrom' | awk '{ print "Disk usage: " $5 }' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Place this in /etc/rc.local | |
# Mount a Virtualbox shared folder, if running in a VM | |
mount -t vboxsf homedir /home/neelabh/sf_homedir |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment