|
COMP 2400 Software Tools
Goals: Becoming familiar with bash
- initialization files .bash_profile,
.bashrc, .bash_aliases etc.
- to source one of these files
$ . .bashrc
- modifying PATH variable
- customizing the prompt
- tricks to improve productivity
-- cd - //to go back to the previous directory
-- cntl+r //to recall from history
-- cntl+w to erase one word
-- cntl+u to erase the entire line
Other UNIX commands:
- $ find // to find files
- $ chmod a+x d2u //gives execute
perm to all
- cat > filename //takes input
from stdin,
//cntl+d signals the end
- cat >> filename //appends
to an existing file
Useful Links:
Online Tutorial:
|