My bash aliases

If you find yourself using some commands always with the same flags, then it would make sense to define them as alieses, by putting them into your .bashrc file like this (log out and back in for it to take effect): # .bashrc # Put user specific aliases and functions here alias ls='ls -al --color=auto' alias qstat='qstat -a' alias qsub='qsub -m abe -M' alias disk="du * -sh | sort -h" -a for ls shows hidden files (files that start with a dot, like .

Continue reading

Author's picture

Riinu Ots

if it aint broke, you’re outdated

Data Manager

Edinburgh, UK