LINUX LANGUAGE MULTIPLE CHOICE QUESTION SET-5
1. LINUX is ----- based operating system. Java UNIX C++ None of these www.prolearninghub.com
2. LINUX kernel 4.0 was released in ------. April 2012 April 2013 April 2014 April 2015 www.prolearninghub.com
3. v +num samplefile What does above command do ? If will open a file in VI editor It will open a file samplefile It will open a file samplefile with cursor at line 5 None of these www.prolearninghub.com
4. Sed prints --------. Selective content of a file All the content of the file first line of the content Last line of the content www.prolearninghub.com
5. ‘ ; ’ is ----- in LINUX. Command separator Command generator Command terminal None of these www.prolearninghub.com
6. ------ command provide the communication to another user. Talk Read Communicate None of these www.prolearninghub.com
Directory path for a file 7. Tput rmso set -----. Directory path for a file Screen halt Screen back to normal None of these www.prolearninghub.com
8. Netstat-r provides the -------. All the routes All the available roots All the occupied routes None of these www.prolearninghub.com
9. Which command we use to print the environment of a process? Env print Cat None of these www.prolearninghub.com
10. The file ……./mountinfo consists of --------. All the numbers of device files Root of the mount Both And B None of these www.prolearninghub.com
11. Which command/s is used to delete a file information in VI. X Dd Both A and B None of these www.prolearninghub.com
12. What does overruling noclobber means ? Its same as noclobbers Its overwrite the existing file Its copy the existing file and add it None of these www.prolearninghub.com
13. Syntax for overruling noclobber is ------. command >| <fileName> command <| >fileName> command >| >fileName> command <| <fileName> www.prolearninghub.com
14. >>append -------------. Doesn’t let the file content be overwritten Overwrite the file Erase all the text in file None of these www.prolearninghub.com
15. Syntax for append is ------. command << <fileName> command >> fileName command >> <fileName> command > <fileName> www.prolearninghub.com
16. Command ------redirect the error of an output. ‘ 2> ’ ‘ <2 ’ ‘ 2< ’ ‘ >2 ’ www.prolearninghub.com
17. Stderr stands for --------. Standard erase Standard error Standard directory None of these www.prolearninghub.com
18. After find command we may use ------ symbol/s. ( . ) ( / ) Can use both fir different purposes None of these www.prolearninghub.com
19. We can find all the file ends with ------ extension. doc dosc txt exe www.prolearninghub.com
20. The ‘-type’ parameter is used to find the type of -----. Kernel File Command None fo tehse www.prolearninghub.com
21. Locate command is used to -------. Search a file Search a file by name Search a file by type Search a file by its nature www.prolearninghub.com
22. Syntax for locate file is Locate >> <fileName> Locate || <fileName> Locate << <fileName> Locate <fileName> www.prolearninghub.com
23. The date command displays ------. The current date Time Time zone All of these www.prolearninghub.com
24. There are only one format for date in LINUX. Yes No No, you can display as your choice There is no command for date www.prolearninghub.com
25. The ‘cal’ term stand for ------. Calculator Calendar Caliber None of these www.prolearninghub.com
26. The following syntax of colander shows what 26. The following syntax of colander shows what ? cal <month> <year> It show the future month and year It shows the past month and year It can show both past and future months None of these www.prolearninghub.com
Allow the terminal to wait specific amount of time 27. Sleep command -------. Hibernate a file Hibernate a process Allow the terminal to wait specific amount of time None of these www.prolearninghub.com
28. Syntax for sleep is ------. sleep <time> Sleep || <time> Sleep >> <time> www.prolearninghub.com
29. The time command shows ------. The system time How long it take to execute a command The time a process remains active None of these www.prolearninghub.com
30. Which command we’ll use to to view zipped files. zcat zmore Zip zipfile www.prolearninghub.com
31. What is different b/w gzip and bzip2. Both are same Bzip2 faster than gzip Bzip2 zip batter than gzip None of these www.prolearninghub.com
32. The command bunzip2 decompress a file like ------command. gzip gunzip zip None of these www.prolearninghub.com
It display the file compressed with bzip 33. Bzcat is same as bzcat. Yes No It display the file compressed with bzip None of these www.prolearninghub.com
34. The df command tells--------. Disk space in the file system Difference b/w files Both A and B None of these www.prolearninghub.com
35. Regular expression is also called as ------. regex regexp Both A and B None of these www.prolearninghub.com
36. Regular expressions are used to ----. Copy text Find a pattern in a string Fins a pattern in a file None of these www.prolearninghub.com
37. Regex expression can be used in ------. Grep sed bash All of these www.prolearninghub.com
38. If you want to replace any character in regex use -------. . dot $ doller sign * Asterik ? Question mark www.prolearninghub.com
39. In context of regex ? ----- Matches exactly 2 character Matches exactly one character Matches all the character in the file None of these www.prolearninghub.com
40. () -------. Group regular expression Represents the group of characters Matches exactly one character None of these www.prolearninghub.com
41. ( - ) -----------. Represent the domain Represent the range The group characters None of these www.prolearninghub.com
42. {N} preceding character is matched --------. Exactly N times Exactly N times or more Exactly N times but no more than N time None of these www.prolearninghub.com
43. \b matches -------. empty string at the edge of a word. empty string at the start of a word. None of these www.prolearninghub.com
44. \B matches -------. Matches empty string at the edge of a word. Match empty string Matches empty string at the edge of a word. Matches empty string at the start of a word. Matches empty string if it is not at the edge of a word. www.prolearninghub.com
45. How many versions of regex are there in LINUX. 2 3 4 5 www.prolearninghub.com
46. ------ belongs to regex. BRE ERE PRCE All of these www.prolearninghub.com
47. Syntax for print lines matches a pattern is ------- grep <fileName> <pattern> grep <fileName> grep <pattern> <fileName> None of these www.prolearninghub.com
48. The syntax for rename is ------. rename 's/string/' rename 's/string/other string/' rename 's/other string/' None of these www.prolearninghub.com
49. Usermod is use to ----- Grant access to user Define use information Modify the properties of the user None of these www.prolearninghub.com
50. Unset command ------. Remove the variable from shell Remove user ID Remove the variable from shell Remove the text from file None of these www.prolearninghub.com