some commonly used unix/linux commands

change directory : cd |space||path| *tips : type prefix letter and use tab for auto selection
view list : ls -ltr
copy : cp -rf |source||space||destination|
delete : rm -rf |source|
move : mv |source||space||destination|
see log : tail -f server.log

see log in log file : vi server.log
to scroll up : CTRL + P
to scroll down : CTRL + D

find file/directory starts with: find / -mount -name 'filename*'

reference: 1.http://student.santarosa.edu/unix_commands.html
2.http://www.codecoffee.com/tipsforlinux/articles/21.html

0 comments:

Post a Comment