Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Which command is used to display the top of the file? cat head more grep None of

ID: 3692006 • Letter: W

Question

Which command is used to display the top of the file? cat head more grep None of the above Which command is used to copy all files having the string chap and any two characters after that to the progs directory? cp chap?? progs cp chap* progs cp chap[12]/progs/*.* cp chap??/progs/* None of the above Which command is used to change protection mode of files starting with the string emp and ending with 1, 2, or 3? chmod u+x emp[1-3] chmod 777 emp* chmod u+r ??? emp chmod 222 emp? None of the above Which command is used to remove a directory? rd rmdir dldir rdir None of the above Which command sends the word count of the tile infile to the newfile. we infile >newfile we newfile we infile - newfile we infile | newfile None of the above Which of the following files will be displayed by this command cat *ch* Patch catch ch All of the above None of the above The Octal number to be given along with chmod command to make a file readable, writable and executable to the owner, readable and executable to group and others is: 000 755 744 555 None of the above Which symbol is used to separate more than one command in the same command line? $ #:; None of the above Which of the following commands is used to contents of directories? Is lp dir tar None of the above Which command will be used with vi edit insert text to left of cursor? s S a i None of the above

Explanation / Answer

1. B. head.

2. D. cp chap?? /progs/*

3. A.

4. B. rmdir

5. A. wc infile > newfile

6. D. All the above.

7. B. 755

8. D. ;

9. A. ls.

10. D. i.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote