| Coverage : General
Linux Basic
Linux Documentation
Linux Commands
Unix Shell
Regular Expressions
Redirection
User Groups
User Permissions
Vi Editor
Printing
Symbolic Links
Disk Tool
Linux Process
|
| 1. | Who is the founder of Linux? |
| a. | | Sabeer Bhatia |
| b. | | Bill Gates |
| c. | | Linus Torvalds |
| d. | | Linux Redhat
|
| |
| 2. | What is the most important aspect in Linux Operating System? |
| a. | | Bios |
| b. | | Kernel |
| c. | | Logs |
| d. | | Ram Disk
|
| |
| 3. | What is the meaning of GPL? |
| a. | | General Public License |
| b. | | General Purpose Language |
| c. | | General Publishing License |
| d. | | General Power Language
|
| |
| 4. | Linux operating system is valid for: |
| a. | | Single User |
| b. | | Multi Users |
| c. | | Single and Multi Users |
| d. | | None of these
|
| |
| 5. | What kind of software is Linux operating system? |
| a. | | Open Source |
| b. | | Proprietary Software |
| c. | | A and B Both |
| d. | | None Of These
|
| |
| 6. | How many terminals are provided by default in Linux operating system? |
| a. | | 2 virtual consoles and one graphical console |
| b. | | 4 virtual consoles and one graphical console |
| c. | | 6 virtual consoles and one virtual graphical interface |
| d. | | 5 virtual consoles and one graphical interface
|
| |
| 7. | What is short form of GNU Network Object Model Environment? |
| a. | | GNOM |
| b. | | GNOME |
| c. | | GENOM |
| d. | | GNOME PLUS
|
| |
| 8. | Which is the correct syntax to display the calendar of September 2005? |
| a. | | Cal 9 2005 |
| b. | | Calendar 2005 |
| c. | | 2005 cal |
| d. | | 9 2005 calendar
|
| |
| 9. | Linux operating system was installed in the morning. Can the WHATIS command be run without executing the command MAKEWHATIS by administrator? |
| a. | | Yes |
| b. | | No
|
| |
| 10. | What is the use of MAKEWHATIS? |
| a. | | Updating the database |
| b. | | Giving a brief description |
| c. | | Updating the man page |
| d. | | Updating mysql
|
| |
| 11. | What does the command, # what is cal, do? |
| a. | | It gives a complete description about cal command |
| b. | | It gives one line description about cal command |
| c. | | It gives the current date |
| d. | | None of these
|
| |
| 12. | Which of the following is the path that contains documentation about installed packages? |
| a. | | /usr/bin/share |
| b. | | /usr/lib/ |
| c. | | /usr/share/doc |
| d. | | /usr/share/help
|
| |
| 13. | If the fifth man page of inittab is to be viewed, how should it be displayed? |
| a. | | Man 6 inittab |
| b. | | Man 5 inittab |
| c. | | Man 4 inittab |
| d. | | Manual 5 inittab
|
| |
| 14. | How can a short description of what the ls command does be obtained? |
| a. | | Whereis ls |
| b. | | Whatis ls |
| c. | | Whatis -ls |
| d. | | Whereis -ls
|
| |
| 15. | Which of the following command-line options can be used to display a long listing of files, with a human-readable size description(i.e.6.8M instead of 6819467)? |
| a. | | Ls+ah |
| b. | | Ls |
| c. | | Ls-l |
| d. | | Ls -lh
|
| |
| 16. | Allen wants to see a long listing of files, and also the hidden files of the current dir. What option will he choose with the ls command? |
| a. | | Ls -l |
| b. | | Ls -al |
| c. | | Ls -l |
| d. | | Ls -lh
|
| |
| 17. | What does the pwd command do? |
| a. | | It changes the password of user |
| b. | | It shows the current path where the user is |
| c. | | It shows the passwd file |
| d. | | It shows information about Linux architecture
|
| |
| 18. | What is the use of touch command? |
| a. | | It makes a new empty file |
| b. | | It displays the contents of a file |
| c. | | It updates the pre existing file |
| d. | | It makes a new directory
|
| |
| 19. | What this command output of touch and what output show ls command after executing the following command? $ touch {report,graph}_{jan,proprietary,mar} |
| a. | | Report_jan report_feb report_mar graph_jan graph_feb graph_mar |
| b. | | Report_jan |
| c. | | Report_feb |
| d. | | Graph_mar
|
| |
| 20. | The user's current path is /root/Desktop/abc. If he runs $ cd ../../../ what will be the user's HIS current path? |
| a. | | / |
| b. | | /root/ |
| c. | | /root/Desktop |
| d. | | /root/Desktop/abc
|
| |
| 21. | What does the cp command do in the following syntax? $ cp /root/Desktop/abc /home/abc/ |
| a. | | It copys the contents of /home/abc to /root/Desktop/abc |
| b. | | It copys abc from /root/Desktop to /home/abc/ and changes the path to /home/abc/abc |
| c. | | It copys /root/Desktop to /home |
| d. | | It copys /root to /home
|
| |
| 22. | What does the history command do? |
| a. | | It shows user information |
| b. | | It hides user information |
| c. | | It hides the history of commands which has been used in the current session |
| d. | | It displays the complete list of commands which have been executed in the current session
|
| |
| 23. | From where can the passwd file be accessed? |
| a. | | /usr/bin |
| b. | | /etc/passwd |
| c. | | /sbin/passwd |
| d. | | /root/Desktop
|
| |
| 24. | How can the version of a Kernel be checked? |
| a. | | Uname -kernel |
| b. | | Uname -r |
| c. | | Uname -f |
| d. | | Kernel -uname
|
| |
| 25. | Which of the following is not the correct shell? |
| a. | | Bash |
| b. | | Tcsh |
| c. | | Zsh |
| d. | | Wsch
|
| |
| 26. | Does linux support wildcard characters, regular expressions, and modifiers? |
| a. | | Yes |
| b. | | No
|
| |
| 27. | What is the correct syntax of 'find the passwd file'? |
| a. | | Find-name /etc |
| b. | | Find/-name passwd |
| c. | | Find -uid root -gid root -name passwd |
| d. | | Find passwd
|
| |
| 28. | What is the output of the following command? $ man cal > cal.man |
| a. | | It will create a new file with the name cal.man |
| b. | | The Man page of calendar will be redirected into named cal.man |
| c. | | It will show man page of calendar |
| d. | | None of these
|
| |
| 29. | Which command adds a new user? |
| a. | | Usernew |
| b. | | Useradd |
| c. | | Newuser |
| d. | | None of these
|
| |
| 30. | Which command is used to modify the user? |
| a. | | Modseradd |
| b. | | Moduser |
| c. | | Usermod |
| d. | | Modify
|
| |
| 31. | Which command is used to add a new group? |
| a. | | Groupadd |
| b. | | Addgroup |
| c. | | Grpadd |
| d. | | Addgrp
|
| |
| 32. | If umask is 0022, what is the by default permission of a file? |
| a. | | 644 |
| b. | | 655 |
| c. | | 666 |
| d. | | 777
|
| |
| 33. | Which command changes permissions of files or directories? |
| a. | | Chmod |
| b. | | Changemod |
| c. | | Chpermission |
| d. | | Usermod
|
| |
| 34. | What is the name of the file where groups are added? |
| a. | | /etc/grp |
| b. | | /etc/groups |
| c. | | /etc/group |
| d. | | /usr/bin/group
|
| |
| 35. | What does permission 644 denote? |
| a. | | Rw-r--r-- |
| b. | | Rw-rx-rx- |
| c. | | Rwxr--r-- |
| d. | | R-xr-xr-x
|
| |
| 36. | What does permission 777 denote? |
| a. | | -rw-rw-rw- |
| b. | | -rwx-wxr-x |
| c. | | -rwxrwxrw- |
| d. | | -rwxrwxrwx
|
| |
| 37. | Which is the correct syntax to give permission 755 to the dir /etc/test? |
| a. | | Chmod 755 /etc/test |
| b. | | Changemod 755 /etc/test |
| c. | | Modchage 755 /etc/test |
| d. | | None of these
|
| |
| 38. | What is the correct format to open the file /etc/test into the vi editor? |
| a. | | /etc/test vi |
| b. | | vi /etc/test |
| c. | | edit /etc/test |
| d. | | None of these
|
| |
| 39. | When a file into vi editor /etc/test is opened, it will not be inserted. Which option should inserted before the cursor? |
| a. | | i |
| b. | | -I |
| c. | | -m |
| d. | | None of these
|
| |
| 40. | Which of the following options delete a current line in vi editor? |
| a. | | Del |
| b. | | Dd |
| c. | | DD |
| d. | | Delete
|
| |
| 41. | Which of the following options discards changes and exits file in vi? |
| a. | | Wq |
| b. | | Q |
| c. | | W |
| d. | | Q
|
| |
| 42. | Which of the following options saves the file and exits forcefully from vi editor? |
| a. | | Wq |
| b. | | Wq! |
| c. | | Q! |
| d. | | Wq!
|
| |
| 43. | Which of the following options exits forcefully from vi editor without any change in the file? |
| a. | | wq |
| b. | | wq! |
| c. | | q! |
| d. | | wq!
|
| |
| 44. | Which of the following is an incorrect command? |
| a. | | $ lpr /etc/passwd |
| b. | | $ lpq |
| c. | | $ print /etc/passwd |
| d. | | $ lprem /etc/passwd
|
| |
| 45. | Which of the following syntax creates a softlink? |
| a. | | $ ln -s /etc/test test |
| b. | | $ ln -softlink /etc/test test |
| c. | | $ ln /etc/test test |
| d. | | $ ln -slink /etc/test test
|
| |
| 46. | What does the du command do? |
| a. | | It shows disk usage |
| b. | | It shows the user |
| c. | | It shows disk file system |
| d. | | None of these
|
| |
| 47. | Which of the following is the 1st process in Linux? |
| a. | | init |
| b. | | bash |
| c. | | .bashrc |
| d. | | /etc/init
|
| |
| 48. | What does the head command do? |
| a. | | It shows the first 20 lines |
| b. | | It shows the first 10 lines |
| c. | | It shows the first 50 lines |
| d. | | It shows the first 5 lines
|
| |
| 49. | Why is the wc command used? |
| a. | | It is used for sorting |
| b. | | It reads the file |
| c. | | It counts lines and char from file |
| d. | | It gives the line index
|
| |
| 50. | What does an aspell command do ? |
| a. | | It spell checks the file |
| b. | | It gives the sequence of lines |
| c. | | It is used for redirection |
| d. | | It edits the file
|
| |
What others think about Red Hat Linux Practice Test - Red Hat Linux 9.0 General |
| By: chris w. on Nov 30, 2008 |
| | I just learned unix linux and cant understand how I never new of such a way to use my computer. School is great I love learning this stuff. KNOW THIS STUFF its better than drugs girls rock n roll all that stuff that's craped in my head. |
|
 |
| By: suresh on Oct 27, 2008 |
| | This is practice test. recently i was joing linux 5.0 clases |
|
 |
| By: Gurpreet Singh on Oct 24, 2008 |
| | A nice test for functional understanding of daily tasks we do in linux. |
|
 |
| By: Lavanya on Oct 23, 2008 |
|
 |
| By: Manu Joseph on Oct 22, 2008 |
| | I find this really useful. |
|
 |
| By: Vineeth on Oct 21, 2008 |
| | Excellent Learning Experience |
|
 |
| By: Abhas Mangal on Oct 13, 2008 |
| | Good test but should include more queries regarding linux commands for searching a string and changing it as well. |
|
 |
| By: durai on Oct 9, 2008 |
|
 |
| By: Thangadurai on Oct 9, 2008 |
| | It is better for basic level linux exam |
|
 |
| By: Sachin on Oct 7, 2008 |
| | It is nice experiance to give an exam. |
|