If you’ve defined alias ls='ls -al –color=auto', but want to use ls without the extra information and colouring then use
\ls
or equivalently
command ls
I don’t know if it’s good or bad, but I like when the files I’m working with are in the working directory (so instead of using pathnames to my files I can just type filename or ./filename). But to avoid copying data and wasting space, symbolic links are the way to go. The command for that is:
ln -s target_file sym_link,
where -s stands for “symbolic” (just ln would create a hard link)
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 myemail@email.com' alias disk="du * -sh | sort -h" -a for ls shows hidden files (files that start with a dot, like .