Professional Documents
Culture Documents
LINUX Lab Assignment1 PDF
LINUX Lab Assignment1 PDF
-1
Operating Systems
(UCS 303)
Faculty: - Dr. Shalini Batra, Mr.Vinay Arora
CSED, TU
7. ls[option]:
-a list hidden file
-d list the name of current directory
-f show directories with a trailing /
-g show group ownership of file in long listing
-I print the inode number of each file
-l long listing giving detail about file and directories
-r list all subdirectories encountered
-t sort by time modified instead of name
ls *s
ls s*
ls ?
ls ???s???
8 cd - change directories
10 cal:
12 df h
15 mkdir[option]
16 mv -change the name of a directory
19 cp - Copy files
22 more - allows files contents or piped output to be sent to the screen one page at a time
23 less -Opposite of the more commands
Q31.Let's rename the script back to it's original name. "mv mynewnamescript myfirstscript"