GAT Subject
Engineering
Computer Science Civil Engineering Chemical Engineering Agricultural Engineering Mechanical Engineering Electronics and Communication
6. | Which command is used to list all the files with extension .lst? | ||
A. | ls -l *.lst | ||
B. | ls lst* | ||
C. | ls *.* | ||
D. | ls *[lst] | ||
7. | Which option is used with the chmod command recursively to all files and sub-directories in a directory? | ||
A. | -1 | ||
B. | -i | ||
C. | -x | ||
D. | -R | ||
8. | Which of the following is invalid filename? | ||
A. | shutry | ||
B. | TRY | ||
C. | trial | ||
D. | my .file | ||
9. | Which commands is used to assign executable permission to all of the files named "letter"? | ||
A. | chmod ugo+r letter | ||
B. | chmod ugo+rw letter | ||
C. | chmod u+x letter | ||
D. | chmod ugo+x letter | ||
10. | Which set option is used with vi editor to display line numbers on screen? | ||
A. | nm | ||
B. | nu | ||
C. | ic | ||
D. | li | ||