Part Il: Linux 1. Which command is used to display the top of the Which option w
ID: 3705443 • Letter: P
Question
Part Il: Linux 1. Which command is used to display the top of the Which option will be used with ps command to show all file? CD head more D grep E None of the above E. None of the above 2. Which command is used to copy all fBles havingtet or al Which of the following commands is used to obeain ist of all files by modification time A is F B. Is-t C. Is -i D. Is-R E. None of the above string chap and any two characters after that to the progs directory? A cp chap?? progs cp chap. progs cp chap 12] /progs cp chap?? /progs E None of the above 8 Which command is used to display the characteristics of 3. Which command is used to remove a directory? a process? A. pid B du rd mdir C didir D, rdir E None of the above ps D au E. None of the above 4.Which of the following files will be displayed by this 9 Which of the following commands is used to display your working directory? A. dir B, prompt SpSg C pwd D. Path E. None of the above command cat *ch A. patch B catch All ofthe above E None of the above Which of the following commands is used to list contents of directories? 5. a Is C dir D tar E. None of the aboveExplanation / Answer
1)
=> head is used to diaplay the top of any file
2)
=> to access file having two characters after a stign we use '?'
hence we will use chap?? as fist argument of cp and then put it in
progrs/ directory
command: cp chap?? /progrs/*
3)
=> rmdir is used to remove a directory
we can use rm -rf directoryname as well
4)
=> cat *ch*
will display all the file having ch as a part of filename
hence all the files will b displayed
5)
=> ls is used to list all files in a directory
6)
=> ps -aux is used to to see all running processes
7)
=> ls -t is used to list files by modification date
8)
=> ps is used to list process characteristics
9)
=> pwd display current working directory