Presentation is loading. Please wait.

Presentation is loading. Please wait.

LINUX LANGUAGE MULTIPLE CHOICE QUESTION SET-5

Similar presentations


Presentation on theme: "LINUX LANGUAGE MULTIPLE CHOICE QUESTION SET-5"— Presentation transcript:

1 LINUX LANGUAGE MULTIPLE CHOICE QUESTION SET-5

2 1. LINUX is ----- based operating system.
Java UNIX C++ None of these

3 2. LINUX kernel 4.0 was released in ------.
April 2012 April 2013 April 2014 April 2015

4 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

5 4. Sed prints --------. Selective content of a file
All the content of the file first line of the content Last line of the content

6 5. ‘ ; ’ is ----- in LINUX. Command separator Command generator
Command terminal None of these

7 6. ------ command provide the communication to another user.
Talk Read Communicate None of these

8 Directory path for a file
7. Tput rmso set Directory path for a file Screen halt Screen back to normal None of these

9 8. Netstat-r provides the -------.
All the routes All the available roots All the occupied routes None of these

10 9. Which command we use to print the environment of a process?
Env print Cat None of these

11 10. The file ……./mountinfo consists of --------.
All the numbers of device files Root of the mount Both And B None of these

12 11. Which command/s is used to delete a file information in VI.
X Dd Both A and B None of these

13 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

14 13. Syntax for overruling noclobber is ------.
command >| <fileName>   command <| >fileName>   command >| >fileName>   command <| <fileName>  

15 14. >>append -------------.
Doesn’t let the file content be overwritten Overwrite the file Erase all the text in file None of these

16 15. Syntax for append is ------.
command << <fileName>   command >> fileName   command >> <fileName>   command > <fileName>  

17 16. Command ------redirect the error of an output.
‘ 2> ’ ‘ <2 ’ ‘ 2< ’ ‘ >2 ’

18 17. Stderr stands for --------.
Standard erase Standard error Standard directory None of these

19 18. After find command we may use ------ symbol/s.
( . ) ( / ) Can use both fir different purposes None of these

20 19. We can find all the file ends with ------ extension.
doc dosc txt exe

21 20. The ‘-type’ parameter is used to find the type of -----.
Kernel File Command None fo tehse

22 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

23 22. Syntax for locate file is
Locate >> <fileName> Locate || <fileName> Locate << <fileName> Locate <fileName>

24 23. The date command displays ------.
The current date Time Time zone All of these

25 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

26 25. The ‘cal’ term stand for ------.
Calculator Calendar Caliber None of these

27 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

28 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

29 28. Syntax for sleep is ------.
sleep <time> Sleep || <time> Sleep >> <time>

30 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

31 30. Which command we’ll use to to view zipped files.
zcat zmore Zip zipfile

32 31. What is different b/w gzip and bzip2.
Both are same Bzip2 faster than gzip Bzip2 zip batter than gzip None of these

33 32. The command bunzip2 decompress a file like ------command.
gzip gunzip zip None of these

34 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

35 34. The df command tells--------.
Disk space in the file system Difference b/w files Both A and B None of these

36 35. Regular expression is also called as ------.
regex regexp Both A and B None of these

37 36. Regular expressions are used to ----.
Copy text Find a pattern in a string Fins a pattern in a file None of these

38 37. Regex expression can be used in ------.
Grep sed bash All of these

39 38. If you want to replace any character in regex use -------.
. dot $ doller sign * Asterik ? Question mark

40 39. In context of regex ? -----
Matches exactly 2 character Matches exactly one character Matches all the character in the file None of these

41 40. () -------. Group regular expression
Represents the group of characters Matches exactly one character None of these

42 41. ( - ) -----------. Represent the domain Represent the range
The group characters None of these

43 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

44 43. \b matches -------. empty string at the edge of a word.
empty string at the start of a word. None of these

45 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.

46 45. How many versions of regex are there in LINUX.
2 3 4 5

47 46. ------ belongs to regex.
BRE ERE PRCE All of these

48 47. Syntax for print lines matches a pattern is -------
grep  <fileName> <pattern> grep <fileName> grep <pattern> <fileName> None of these

49 48. The syntax for rename is ------.
rename 's/string/'   rename 's/string/other string/'   rename 's/other string/'   None of these

50 49. Usermod is use to ----- Grant access to user
Define use information Modify the properties of the user None of these

51 50. Unset command ------. Remove the variable from shell
Remove user ID Remove the variable from shell Remove the text from file None of these


Download ppt "LINUX LANGUAGE MULTIPLE CHOICE QUESTION SET-5"

Similar presentations


Ads by Google