Skip to main content

Posts

Showing posts from January 8, 2015

LINUX COMMANDS -1

LINUX COMMANDS ● ls - list directory contents  $ ls file1  sub_dir1 ● who am i – this command identifies the invoking user and list the username, terminal line ,date and time of login  $ who am i anuj     pts/1        2015-01-03 17:10 (:0) ● who - (show who is logged on) this is more powerful than who am i . It displays the  data about all the users that have logged into the system . It is crucial for multi-user operating system  $ who anuj     tty7         2015-01-03 16:31 (:0) anuj     pts/1        2015-01-03 17:10 (:0) ● pwd      print name of current/working directory  $ pwd /home/anuj/dir1 ● mkdir    make directories ● rmdir remove empty directories  $ mkdir dir3  $ ls ...