Professional Documents
Culture Documents
Unix Commands
Unix Commands
252 ( you can use -l option also) w ( on remote machine, local machine) who ( on remote machine, local machine) whoami ( on remote machine, local machine) free ( on remote machine, local machine) uname -a fdisk -l /sbin/ifconfig top (equivalent to task manager in windows) hostname ehco "Hi there" export echo $ORACLE_SID sqlplus passwd File related commands --------------------What is a home directory UNIX file system tree structure (/etc, /var/ tmp, /bin, /home pwd ls -l ls -la ls -lha (name, modification time, size, owner,group permissions) ls -l /etc What happens when you login 1. YOu are automatically put in your home directory 2. a file named .bash_profile in your home directory is executed cd cd .. cd / mkdir rmdir cat more head tail vi (i, esc, :w, :q, :wq, :q!) alias (put in .bash_profile) rm (-i, -f, -r) cp mv