1. Which
file contains the commands that the system executes when a user logs in?
Answers: •
$HOME/.profile
2. The
executable file name for the Bourne shell is :
Answers: •
sh
3. By which
command a user can add a password for his login name?
Answers: •
passwd
4. Which of
the following is the only filter?
Answers: •
wc
5. Consider
the following file listing of file abc1 for a user abc
-rw——- 1 abc
student 10 jan 10:39 abc1
What
inference would you make regarding the file access permissions ?
Answers: •
Only the owner has full permissions.
6. Which
command gives all differences between two files ?
Answers: •
diff
7. Which of
the following shells is typically used for guest logins and in secure systems ?
Answers: •
sh
8. Which
option of the sort filter changes the output to reverse order ?
Answers: •
-r
9. Which of
the following is not a valid file command ?
Answers: •
break
10. Which
wild-card matches one character ?
Answers: •
@
11. A single
command which lists all files in a directory, distinguishing between a
directory, executable and symbolic link files is:
Answers: •
ls -l
12. What
would be displayed on the screen if the pwd command is entered when the user is
in /usr directory?
Answers: •
usr>
13. Which of
the following statements is incorrect regarding positional parameters ?
Answers: •
The command name is put into the variable $1.
14. How can
a root user find the password of a user who has forgotten his password?
Answers: •
It is not possible
15. Which of
the following statements is incorrect regarding the UNIX environment?
Answers: •
It does not allow relative path names.