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.
16. Which
command is used for splitting a file horizontally?
Answers: •
a, b and c
17. Which of
the following is a responsibility of the system administrator?
Answers: •
a,b and c
18. The
shell variable that defines internal field separator is.
Answers: •
IFS
19. Which of
the following statements is not true regarding the grep filter?
Answers: •
grep can be used without specifying a regular expression.
20. What
control character signals the end of the file ?
Answers: •
Ctrl+d
21. Which
command will you use to see the available routes and their status?
Answers: •
netstat -rn
22. Which
error will you see when an NFS client can no longer access mounted file system?
Answers: •
File Inaccessible
23. What is
the user id of a root user?
Answers: •
0
No comments:
Post a Comment