Академический Документы
Профессиональный Документы
Культура Документы
a) 7
b) 6
c) 5
d) 8
Q3: Which help command displays short description of commands & which command gives more in-
depth documentation of commands (Select any two)
a) whatis
b) - -help
c) man
d) info
Q4: Which remove command when used will recursively removes the directory tree and query
whether or not each file should be removed?
a) rm –i
b) rm –f
c) rm –r
d) rm –ri
How many subdirectories are created under the projects folder using the ls projects command?
a) 4
b) 3
c) 2
d) None of the above.
a) grant write access to user & grant execute access to group and others.
b) deny write access to user & deny execute access to group and others.
c) grant write access to user & deny execute access to group and others.
d) deny write access to user & grant execute access to group and others.
Q9: How many separate files are created using the touch command below?
Q11: Which command is used to change the welcome message at the beginning of the virtual console?
a) cat /etc/issue
b) cat etc/issue
c) vim /etc/issue
d) vi /etc/issue
Q12: What does running the command "chmod 2770 /home/share" mean?
a). All files created in this directory will have read/write access granted to the group which owns
the directory.
b) The umask is changed to 007.
c) All files created in this directory will be owned by the group which owns the dir.
d) This would change the ownership to root.
Q13: Which of the following commands can give you access to a bash shell prompt during the Red
Hat Linux installation process?
a) .ALT-F1
b) .ALT-F2
c) .ALT-F3
d) .ALT-F4
Q15: In the below shown command what does the three digit number specify
chmod 640 filename
Q16: If you are logged on as a non root user which command is used to change identity to access root
privileges
a) sudo
b) su
c) su -
d) su - username
Q17: Which command is used to forcefully remove the subdirectories and all the files associated with
the directory?
a) rm – r
b) rm -rf
c) rm -f
d) none of the above
Q18: Which command creates empty files and also updates timestamps?
a) cat
b) vim
c) touch
d) vi
Q19: which command would bring you back to the root directory?
a) cd
b) cd /
c) cd..
d) .. cd
Q20: what are the two graphical environments provided by RHEL 5 ? (Select any two)
a) Virtual console
b) GNOME
c) KDE
d) none of the above
Q22: Which command displays detailed documentation with Name, Synopsis, Description, Options?
a) info
b) man
c) whatis
d) - - help\
a) useradd eric
b) passwd eric
c) vi /etc/passwd
d) eric:x:505:505::/home/eric:/sbin/nologin
Q24: Where would you add files that you want distributed to all new users?
a) /etc/skel
b) /home
c) /etc/users
d) /etc/passwd
Q25: By Default Scheduling on Cron allowed to all users. Deny to all users except root to
run cron schedule.
a). vi etc/cron.allow
b). vi /etc/cron.allow
c). vi /etc/cron.allow
d). vi /etc/allow
a) $
b) #
c) ~
d) !
Q27: Which command enables the user to get to the graphical mode from the virtual console mode ?
a) Ctrl+Shift+1
b) Ctrl+Shift+1
c) Ctrl+alt+F1
d) Ctrl+Shift+alt+1
Q28: which command is used to view both the user and group added
a) vim /etc/issue
b) cat /etc/issue
c) cat /etc/group
d) cat /etc/user
a) gpasswd groupname
b) passwprd groupname
c) passwd groupname
d) none of the above