Computer Science - Unix

Exercise : Unix - Section 2
6.
Which command is used to list all the files with extension .lst?
ls -l *.lst
ls lst*
ls *.*
ls *[lst]
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.

7.
Which option is used with the chmod command recursively to all files and sub-directories in a directory?
-1
-i
-x
-R
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.

8.
Which command is used to change directory to the name beginning with a 'p'?
cd p
cd p?
cd p*
cd [p]
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.

9.
Which of the following is invalid filename?
shutry
TRY
trial
my .file
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.

10.
Which commands is used to assign executable permission to all of the files named "letter"?
chmod ugo+r letter
chmod ugo+rw letter
chmod u+x letter
chmod ugo+x letter
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.