Home » Commands » Linux » Quiz » Linux Basics commands quiz Hasan Basri 2:21 PM 0 comments Commands Linux Quiz Linux Basics commands quiz Linux Basic Commands quiz Linux Basic Commands quizThis is a quiz on basic commands of linux. Which option with the command "rm" is required to remove a directory -d-f-r-i The command used to display the manual pages for any command is manmanualhelpshow Which of following will show the first 5 lines of the input file less -5 file head -5 filemore -5 fileshow -5 file Which option of "ls" will show the hidden files-h-a-l-i The command "cat -n file" willAdd a new line after every line of the outputAdd line numbers to every line of the output Will show only a count of number of lines in the file.Will not print any thing. The command "echo -n hello" will Print "hello" and add a new line after it Not print any thingPrint "hello" and not add a new line after it Change the case and print HELLO The command sort by default sorts TextNumbers Any thing Special symbols Which of the following will list the users who currently logged in in the systemloginwhichwhotty To change the password of a user we can use the command passwordpasswd chpasssu Which command can be used to view the content of a file in reverse i.e from last line to first. cat -r rev taclessfeel free mail tux.think@gmail.com for any corrections or clarifications. Answers are given at : Answers to Linux commands quiz -1 Share: Facebook Twitter Google+ StumbleUpon Digg Delicious LinkedIn Reddit Technorati
0 comments:
Post a Comment