| | | | MCQ Tutorial - Linux->Command | | | | 1.) Which command will you use to see the available routes?
| | Options are: | | A.) netstat -r
| | B.) route status
| | C.) show route
| | D.) display route
| | Correct Option: A | | | | | | | 2.) Write the command to display the current date in the form dd/mm/yyyy | | Options are: | | A.) date +%d/%m/%Y
| | B.) date +/%d/%m/20%y
| | C.) date +”/%d/%m/20%y”
| | D.) date +”%d/%m/%Y”
| | Correct Option: A | | | | | | | 3.) The command syntax to display the file ‘sample.txt’ one page at a time is | | Options are: | | A.) man sample.txt>more
| | B.) cat sample.txt|more
| | C.) man sample.txt
| | D.) cat sample.txt | | Correct Option: B | | | | | | | 4.) Which one shows the name of the operating system?
| | Options are: | | A.) uname -m
| | B.) uname -r
| | C.) uname -o
| | D.) uname -n
| | Correct Option: C | | | | | | | 5.) How do you add (append) a file “file1″ to the example.tar file
| | Options are: | | A.) tar -cvf example.tar file1
| | B.) tar -rvf file1 example.tar
| | C.) no you cannot add a file to example.tar
| | D.) tar -evf file1 example.tar
| | Correct Option: B | | | | | | | | | | | |