#alias -> shows current alias
#alias cd.. cd .. -> maps cd .. to command cd.. (dos like). Hit cd.. and you are ready to go back one directory.
#alias lsd ls -ld -> using lsd instead of ls -ld
PS: ls -ld accepts even wildmarks(*)
Make Alias permanent: http://www.linfo.org/make_alias_permanent.html
Identidy Current Shell -> #echo $shell (default is bin/csh)
If you need scripting with shell, you have to load bash shell.
Available shells -> /etc/shells
Writing Aliases in csh and tcsh
#alias cd.. cd .. -> maps cd .. to command cd.. (dos like). Hit cd.. and you are ready to go back one directory.
#alias lsd ls -ld -> using lsd instead of ls -ld
PS: ls -ld accepts even wildmarks(*)
Make Alias permanent: http://www.linfo.org/make_alias_permanent.html
Identidy Current Shell -> #echo $shell (default is bin/csh)
If you need scripting with shell, you have to load bash shell.
Available shells -> /etc/shells
Writing Aliases in csh and tcsh
0 σχόλια:
Δημοσίευση σχολίου