Computer Science - Unix

Exercise : Unix - Section 2
31.
The commonly used UNIX commands like date, ls, cat, etc. are stored in
/dev directory
/bin and /usr/bin directories
/tmp directory
/unix directory
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.

32.
Which of the following commands is used to remove files with confirmation prompt from the user file system which have neither been accessed nor modified i the last one year?
find -mtime +365 | rm
grep (/usr/*) - mtime + 365 | -ok rm
find -name - mtime + 365 / - ok rm
find /user/* \(-mtime + 365 - a - atime +365 \) - OK rm {} \;
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.

33.
Which of the following commands is used to summarize the disk usage?
chkdsk
fdisk
du
disk
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.

34.
Which command is used to sort the lines of data in a file in alphabetical order?
sort
sh
st
sort -r
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.

35.
If a file has read and write permissions for the owner, then the octal representation of the permissions will be
1
6
5
3
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.