alias + “pushd .”
alias – “popd”
alias u “cd ..”
alias p “pwd”
>> put in ~/.mycshrc
“history”
history | grep command-name
!<number>
Untar gz:
tar -xvzf file.tar.gz
Untar:
tar -xvf file.tar
Repeat previous command
- up arrow
- Type !! and press enter
- Type !-1 and press enter.
- Press Control+P will display the previous command
Advertisement