Quiz 2 – “Test Yourself” 15 Linux Basic Questions

Linux Questions
Linux Quiz 2

This is the second post of Test Yourself Series. Test Yourself is aimed at putting you in the process of learning in better and interactive way. Take the Test and know where you are.

Post your Answers in Comment Section along with Name and Email ID. The format would be posting Answers like this:

Answer: 1(a), 2(d), 3(c), 4(b), 5(a), 6(d), 7(c), 8(a), 9(b), 10(b), 11(b), 12(d), 13(c), 14(d), 15 (a)

Based upon Lucky Contest We will Post the Name and Photo of the WINNER on our homepage, who gets maximum right answer. This contest is open till Saturday August 31st, 2013, 1:00 PM IST. Hurry Up! Get Famous through us.

Please attention, WINNER will be announced on Monday 2nd September 2013. Make sure you add correct Name and Email ID when you enter answers. Which will help us to contact you via email.

Note: It is recommended to write at least one Line in support of your answer (why do you think, that particular option is the correct answer?), so that we are assured that you just have not Copied the answer from somewhere.

Announcement : The Contest “Test Yourself – Quiz 2” is closed, the WINNER of this contest is:

We have selected the Winner based on the maximum correct answer with satisfactory explanation to each question. Click on Winner Name to see her answers.

Correct Answers
1(c), 2(d), 3(b), 4(c), 5(b), 6(c), 7(a), 8(b), 9(d), 10(a), 11(d), 12(a), 13(c), 14(c), 15(a)

Test Yourself Quiz 2

Q1: ________ command is used to count the total number of lines, words and character in a file?
  1. countw
  2. wcount
  3. wc
  4. count p
  5. None of the above
Q2: _______ command is used to remove the directory?
  1. rdir
  2. remove
  3. rd
  4. rmdir
  5. None of the above
Q3: ________ command is used to remove files?
  1. dm
  2. rm
  3. delete
  4. erase
  5. None of the above
Q4: _______ hardware architectures are not supported by Red Hat?
  1. SPARC
  2. IBM-compatible
  3. Macintosh
  4. Alpha
  5. None of the above
Q5: http://127.0.0.1 is the address of
  1. ISP (Internet Service Provider)
  2. Own Machine
  3. windows
  4. Linux
  5. None of the above
Q6: Macintosh is a variant of
  1. Linux
  2. Windows
  3. Unix
  4. Apple
  5. Steve Jobs
Q7: Which of the following is not a communication command?
  1. grep
  2. mail
  3. mesg
  4. write
  5. None of the above
Q8: What command is used to add printing jobs to the queue?
  1. lpd
  2. lpr
  3. lpq
  4. lpc
  5. None of the above
Q9: #!/bin/bash is commonly called as
  1. shebang
  2. hashbang
  3. Script Initialiser
  4. (a) and (b) is correct
  5. None of the Above
Q10: What does GNU stands for?
  1. Gnu’s not Unix
  2. Geek Needed Unix
  3. General Unix
  4. General Unix
  5. None of the Above
Q11: ______ command is used to list contents of directories?
  1. tar
  2. dir
  3. lp
  4. ls
  5. None of the above
Q12: Which of the following is a command in Linux?
  1. w
  2. x
  3. t
  4. All of the Above
  5. None of the Above
Q13: ______ command is used to remove jobs from the print queue?
  1. lpq
  2. lpr
  3. lprm
  4. lpc
  5. None of the above
Q14: _________ makes it possible to run Windows and Linux Kernel simultaneously in parallel on the same machine.
  1. Virtualbox
  2. Vmware
  3. Cooperative Linux (coLinux)
  4. LAN
  5. None of the Above
15. _____ is the world’s largest non-commercial Linux distribution
  1. Debian
  2. Ubuntu
  3. Fedora
  4. Mint
  5. Slackware
Avishek
A Passionate GNU/Linux Enthusiast and Software Developer with over a decade in the field of Linux and Open Source technologies.

Each tutorial at TecMint is created by a team of experienced Linux system administrators so that it meets our high-quality standards.

Join the TecMint Weekly Newsletter (More Than 156,129 Linux Enthusiasts Have Subscribed)
Was this article helpful? Please add a comment or buy me a coffee to show your appreciation.

52 thoughts on “Quiz 2 – “Test Yourself” 15 Linux Basic Questions”

  1. Please fine below correct Answers :
    1.(c),|2.(d),|3.(b),|4.(c),|5.(b),|6.(d),|7.(a),|8.(c),|9.(a),|10.(a),|11.(d),|12.(a),|13.(c),|14.(c),|15.(c)
    Thanks 4 the reading ……..

    Reply
  2. 1 – c
    2 – d
    3 – b
    4 – c
    5 – b
    6 – c
    7 – a
    8 – b
    9 – d
    10 – a
    11 – d
    12 – a
    13 – c
    14 – c
    15- a

    Reply
  3. 1 (b) : wc is short for word count and there are other options in it to count lines.
    2 (d) : rmdir is opposite of mkdir(make directory) and only removes empty ones.
    3 (b) : rm is for remove
    4 (c) : mactintosh is software platform and not hardware i think. Also , linux has support for the other options.
    5 (b) : there is no place like 127.0.0.1
    6 (c) : macintosh is based on BSD, which in turn is based on UNIX.
    7 (a) : grep is used to search within a file. mail is to send mail to others, write can be used for interprocess communications via pipes/shared memory
    8 (b) : just knew it
    9 (c) : shebang/hashbang(#!) tells the path of which process can run the script.(/bin/bash for bash script, /usr/bin/python3 for python)
    10 (a) : recursive definition like LINUX( Linux Is Not UniX)
    11 (d) : every newbie should know this.
    12 (a) : w tells the users currently logged in
    13 (c) : guessed it, (opposite of lpr)
    14 (c) : virtualbox and vmware both can run windows ON LINUX and vice-versa, not parallely, but colinux can do it
    15 (b) : red-hat is the largest commercial one and ubuntu is the largest non-commercial one

    Reply
  4. Answers : 1(c), 2(d), 3(b), 4(c), 5(e), 6(d), 7(a), 8(b), 9(d), 10(a), 11(d), 12(a), 13(c), 14(c), 15(a)

    1(c) : wc is used to count lines and characters with its options -l(for Lines) and -m for Characters, and this was the only working command in the option lists.

    2(d) : rmdir is used to delete empty folders, and no other command exists.

    3(b) : rm is used to remove files

    4(c) : Macintosh is Apple based hardware which does not support any other OS other than Mac. However some people have acheived this as well.. :P

    5(e) : Its the address of local host or loopback.

    6(d) : Apple

    7(a) : grep is used for pattern base search,not for communication.

    8(b) : lpr is used to manage print related tasks, cupsd

    9(d) : Both shebang and hashbang is popular.

    10(a) : GNU is not Unix.

    11(d) : ls is used to list the contents of a directory.

    12(a) : “w” is used to see ll the current users online on the system.

    13(c) : lprm is used to remove the jobs from the print queue.

    14(c) : coLinux, co-operativelinux allows to run windows and linux kernel parallel on the same machine at the same time.

    15(a) : Debian , one of your post only told this before some days. :)

    Reply
  5. 1)c, 2)d, 3)b, 4)d, 5)b, 6) d [Macintosh is an apple trademark no an OS, that would be OSX], 7)a, 8)b, 9)b, 10)a, 11)d, 12)a, 13)c, 14)a, 15)b

    Reply
  6. 1(c), 2(d), 3(b), 4(c), 5(b), 6(d), 7(a), 8(b), 9(d), 10(a), 11(d), 12(a), 13(c), 14(a), 15(b)

    1(c) : wc -l option is used to count lines, wc -m used to count characters, Ex: wc -lm temp.txt
    2(d) : rmdir remove empty directory.
    3(b) : rm command used . Ex: rm temp.txt
    4(c) : Macintosh is Apple base hardware which does not allow other OS to support other than Mac.
    5(b) : It is used to test software during development for developers.It is independent from any other network.
    6(d) : macintosh is developed by Apple.
    7(a) : grep is used to find matching strings.. not used for communication purpose.
    8(b) : ex: lpr temp.txt, lpr push the data in printing queue, lpd prints the data.
    9(d) : # character is not consider. and hashbang is also called as Shebang.
    10(a) : Stallman runs the free s/w foundation named GNU. It is ‘Genuinely not Unix’.
    11(d) : ls command list all the files which are available in directory : Ex: ls machine
    12(a) : w command shows who is the current user of Linux.
    13(c) : lprm command removes the job from print queue.. ‘rm’ shows remove.
    14(a) : Some experts tools are available in virtualBox that is useful running 2 different OS simultaneously.
    15(b) : Ubantu provides long term support, security, used for commercial and no commercial both.

    Reply
  7. 01)wc
    02)rmdir
    03)rm
    04)macintosh
    05)Own Machine
    06)Apple
    07)grep
    08)lpr
    09)shebang
    10)GNU’s not Unix
    11)ls
    12)w
    13)lpr
    14)Cooperative Linux (coLinux)
    15)Debian

    Reply
  8. 1(c),2(d),3(b),4(a),5(b),6(c),7(a),8(d),9(d),10(a),11(d),12(a),13(c),14(b),15(b)

    =) I like quizzes like this, not so sure about the printing but, everything else was really easy.

    Reply
  9. Answers:
    2(4) *by rmdir it only remove empty directories,
    3(2) *by rm we can remove files & folders too by using (-r) switch,
    5(2) *127.0.0.1 is our loop back address or local host address do, when we put http://127.0.0.1 it will send request to our apache server; if service is available then we get the webpage,
    6(3) *Mac uses the kernal of UNIX so it comes under *nix family,
    9(3) *bash (bourne again shell) it executes cmd’s from terminal or from file,
    10(1) *Gnu’s is an organization,
    11(4) *ls stands for listing (contents of folder or directory),
    14(1) *virtual box provide virtual guest OS , 15(2) *Ubuntu is open source, regular updates,. quick bug fix, fast

    Reply

Got something to say? Join the discussion.

Thank you for taking the time to share your thoughts with us. We appreciate your decision to leave a comment and value your contribution to the discussion. It's important to note that we moderate all comments in accordance with our comment policy to ensure a respectful and constructive conversation.

Rest assured that your email address will remain private and will not be published or shared with anyone. We prioritize the privacy and security of our users.