Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

Misc Commands -------------date cal whoami init 6, init 0 ssh stuser10@172.24.0.

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

You might also like