Computer Science - Unix

Exercise : Unix - Section 3
1.
The File that contains a set of instructions which are performed when a user logs in, is
.exrc
.profile
.autoexec
autoexec.bat
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.

2.
The octal representation 652 indicates
Execute permission for the owner
Write permission for others
Read and write permission of groups
All of the above
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.

3.
Which of the following command is used to count just the number of lines contained in a file?
wc -l
wc -c
wc -w
wc -r
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.

4.
Which of the following command is used to go to home directory?
cd..
cd/
cd
cd HOME.
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.

5.
Which command is used to move all files to the bin sub-directory of the parent directory?
mv *.* /bin/
mv * /bin/*
mv * ../bin
mv * ../bin *.*
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.