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?
- countw
- wcount
- wc
- count p
- None of the above
Q2: _______ command is used to remove the directory?
- rdir
- remove
- rd
- rmdir
- None of the above
Q3: ________ command is used to remove files?
- dm
- rm
- delete
- erase
- None of the above
Q4: _______ hardware architectures are not supported by Red Hat?
- SPARC
- IBM-compatible
- Macintosh
- Alpha
- None of the above
Q5: http://127.0.0.1 is the address of
- ISP (Internet Service Provider)
- Own Machine
- windows
- Linux
- None of the above
Q6: Macintosh is a variant of
- Linux
- Windows
- Unix
- Apple
- Steve Jobs
Q7: Which of the following is not a communication command?
- grep
- mesg
- write
- None of the above
Q8: What command is used to add printing jobs to the queue?
- lpd
- lpr
- lpq
- lpc
- None of the above
Q9: #!/bin/bash is commonly called as
- shebang
- hashbang
- Script Initialiser
- (a) and (b) is correct
- None of the Above
Q10: What does GNU stands for?
- Gnu’s not Unix
- Geek Needed Unix
- General Unix
- General Unix
- None of the Above
Q11: ______ command is used to list contents of directories?
- tar
- dir
- lp
- ls
- None of the above
Q12: Which of the following is a command in Linux?
- w
- x
- t
- All of the Above
- None of the Above
Q13: ______ command is used to remove jobs from the print queue?
- lpq
- lpr
- lprm
- lpc
- None of the above
Q14: _________ makes it possible to run Windows and Linux Kernel simultaneously in parallel on the same machine.
- Virtualbox
- Vmware
- Cooperative Linux (coLinux)
- LAN
- None of the Above
15. _____ is the world’s largest non-commercial Linux distribution
- Debian
- Ubuntu
- Fedora
- Mint
- Slackware
1(c),2(d),3(b),4(a),5(b),6(d),7(d),8(c),9(c),10(a),11(d),12(e),13(d),14(e),15(b)
the answer of question 9th is shebang the prefix used to write a script.
That’s what I answered, too. Never heard of ‘hashbang‘.
1(c)
2(c)
3(b)
4(b)
5(a)
6(A)
7(D)
8(C)
9(D)
10(a)
11(D)
12(E)
13(d)
14(d)
The answer of 12th question is w. It is used to see the login details of the users.
The answer of 5th question is own machine.. This IP is reserve IP basically to check the network card in your system..
this website provides great test
I want to take test exam for linux command line with you
1-c,2-d,3-b,4-c,5-b,6-d,7-a,8-d,9-d,10-c,11-d,12-a,13-b,14-b,15-a
1(c), 2(d), 3(b), 4(c), 5(b), 6(d), 7(a), 8(c), 9(d), 10(a), 11(d), 12(a), 13(c), 14(b), 15(a)
1 (c) ,2 (d), 3(b), 4(c), 5(e), 6(d), 7(d), 8(e),9 (d),10 (a),11 (d)
12(e) ,13 (d), 14 (c), 15 (a)
Answer: 1(b), 2(d), 3(b), 4(a), 5(b), 6(a), 7(d), 8(b), 9(c), 10(a), 11(d), 12(d), 13(c), 14(b), 15 (a)
1 (c) , 2 (d) , 3 (b) , 4 (b) , 5 (e) , 6 (d) , 7 (d) , 8 (e) , 9 (d) , 10 (a) , 11 (d)
1-c
2-d
3-b
4-c
5-a
6-a
7-d
8- i dont know ans
9-a
10-i dont know ans
11-d
12-a
13-i dont know ans
14-a
15-i dont know ans
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 ……..
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)
1(c), 2(d), 3(b),4(a),5(b),6(c),7(c),8(b),
9(a),10(a),11(d),12(e),13(c),14(a),15(e)
1(c),2(d),3(b),4(c),5(b),6(c),7(a),8(c),9(a),10(a),11(d),12(a),13(b),14(c),15(b)
1(c), 2(d), 3(b),4(a),5(b),6(c),7(e),8(b),9(a),10(e),11(d),12(e),13(c),14(c),15(a)
Easy Questions…
1(c),2(c),3(b),4(b),5(b),6(c),7(a),8(c),9(c),10(d),11(d),12(c),13(c),14(c),15(c)
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
What are the correct answers. Please post them.
1(c),2(d),3(b),4(c),5(d),6(d),7(a),8(b),9(c),10(a),11(d),12(a),13(c),14(a),15(a)
1(c). 2(d) 3(b) 4(c) 5(b) 6(c) 7(a) 8(b) 9(c) 10(a) 11 (d) 12(a) 13(c) 14(b) 15(a)
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(e), 15(a)
1(c)
2(d)
3(b)
4(a)
5(b)
6(c)
7(a)
8(c)
9(d)
10(a)
11(d)
12(a)
13(e)
14(b)
15(a)
1) c
2) d
3) b
4) b
5) b (localhost, loopback)
6) c)
7) a
8) b
9) a
10) e
11) d
12) a
13) c
14) a
15) c
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
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. :)
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
1(c)
2(c)
3(b)
4(a)
5(b)
6(c)
7(a)
8(c)
9(a)
10(a)
11(d)
12(a)
13(c)
14(b)
15(a)
1 (c)
2 (d)
3 (b)
4
5 (b)
6 (d)
7 (a)
8
9 (a)
10 (a)
11 (d)
12 (a)
13
14 (c)
15 (b)
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.
1(c)
2(d)
3(b)
4(c)
5(b)
6(c)
7(a)
8(b)
9(a)
10(a)
11(d)
12(a)
13(a)
14(a)
15(a)
1(c), 2(b), 3(b), 4(d), 5(b), 6(d). 7(c), 8(c), 9(d), 10(a), 11(d), 12(d), 13(c), 14(c), 15(a)
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
1.c
2.d
3.b
4.d
5.b
6.c
7.a
8.b
9.c
10.a
11.d
12.w
13.c
14.c
15.a
Answers:– 1(c),2(c),3(b),4(c),5(E),6(D),7(a),8(c),9(a),10(E),11(D),12(a),13(b),
14(E),15(D).
Answer: 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)
1(c), 2(d), 3(b), 4(a), 5(b), 6(a), 7(a), 8(c), 9(a), 10(a), 11(d), 12(a), 13c, 14(b), 15 (d)
1c, 2c, 3b, 4c, 5b, 6d, 7a, 8c, 9b, 10a, 11d, 12d, 13d, 14a, 15e
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(b), 14(b), 15(b)
1(c), 2(d), 3(b), 4(e), 5(b), 6(d), 7(1), 8(b), 9(b), 10(a), 11(d), 12(a), 13(c), 14(e), 15(a)
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.
Answers to Quiz 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).
All the best everyone!!!
Abdul.
[email protected]
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
1(c), 2(d), 3(b), 4(c), 5(b), 6(c), 7(a), 8(a), 9(d), 10(a), 11(d), 12(a), 13(c), 14(a), 15(a)
1)C
2)C
3)B
3)C
5)A
6)D
7)A
8)B
9)C
10)A
11)D
12)D
13)C
14)A
15)C
Name:Utsav Rana
Email:[email protected]
answers : 1(c). 2(d) 3(b) 4(c) 5(b) 6(c) 7(a) 8(b) 9(c) 10(A) 11 (d) 12(d) 13(c) 14(b) 15(a)
1 :- c
2 :- d
3 :- b
4 :- c
5 :- b
6 :- d
7 :- a
8 :- b
9 :- c
10 :- a
11 :- d
12 :- a
13 :- c
14 :- a
15 :- a