LINUX LANGUAGE MULTIPLE CHOICE QUESTION SET-5

Slides:



Advertisements
Similar presentations
การใช้ระบบปฏิบัติการ UNIX พื้นฐาน บทที่ 4 File Manipulation วิบูลย์ วราสิทธิชัย นักวิชาการคอมพิวเตอร์ ศูนย์คอมพิวเตอร์ ม. สงขลานครินทร์ เวอร์ชั่น 1 วันที่
Advertisements

LINUX System : Lecture 3 (English-Only Lecture) Bong-Soo Sohn Assistant Professor School of Computer Science and Engineering Chung-Ang University Acknowledgement.
Linux+ Guide to Linux Certification, Second Edition
Now, return to the Unix Unix shells: Subshells--- Variable---1. Local 2. Environmental.
Linux+ Guide to Linux Certification, Second Edition
The Unix Shell. Operating System shell The shell is a command interpreter It forms the interface between a user and the operating system When you log.
Guide To UNIX Using Linux Third Edition
Guide To UNIX Using Linux Third Edition
Introduction to Unix (CA263) Introduction to Shell Script Programming By Tariq Ibn Aziz.
Lecture 02CS311 – Operating Systems 1 1 CS311 – Lecture 02 Outline UNIX/Linux features – Redirection – pipes – Terminating a command – Running program.
CS 497C – Introduction to UNIX Lecture 13: - The File System Chin-Chih Chang
UNIX. find command ● The find command is used to locate files on a Unix or Linux system. find will search any set of directories you specify for files.
BILKENT UNIVERSITY DEPARTMENT OF COMPUTER TECHNOLOGY AND INFORMATION SYSTEMS CTIS156 INFORMATION TECHNOLOGIES II CHAPTER 10: ADVANCED FILE PROCESSING.
Using the Unix Shell There is No ‘Undelete’. The Unix Shell “A Unix shell is a command-line interpreter or shell that provides a traditional user interface.
Brief introduction to UNIX A. Emerson CINECA, High Performance Systems.
Introduction to Shell Script Programming
Week 7 Working with the BASH Shell. Objectives  Redirect the input and output of a command  Identify and manipulate common shell environment variables.
Agenda User Profile File (.profile) –Keyword Shell Variables Linux (Unix) filters –Purpose –Commands: grep, sort, awk cut, tr, wc, spell.
File Processing. Introduction More UNIX commands for handling files Regular Expressions and Searching files Redirection and pipes Bash facilities.
Guide To UNIX Using Linux Fourth Edition
Unix Talk #2 (sed). 2 You have learned…  Regular expressions, grep, & egrep  grep & egrep are tools used to search for text in a file  AWK -- powerful.
Introduction to Unix (CA263) File Processing. Guide to UNIX Using Linux, Third Edition 2 Objectives Explain UNIX and Linux file processing Use basic file.
CS 497C – Introduction to UNIX Lecture 7: General-Purpose Utilities Chin-Chih Chang
Linux+ Guide to Linux Certification, Third Edition
1 Lecture 5 Additional useful commands COP 3353 Introduction to UNIX.
Shell Script Programming. 2 Using UNIX Shell Scripts Unlike high-level language programs, shell scripts do not have to be converted into machine language.
Week 3 Exploring Linux Filesystems. Objectives  Understand and navigate the Linux directory structure using relative and absolute pathnames  Describe.
Linux+ Guide to Linux Certification, Third Edition
Module 6 – Redirections, Pipes and Power Tools.. STDin 0 STDout 1 STDerr 2 Redirections.
Agenda Regular Expressions (Appendix A in Text) –Definition / Purpose –Commands that Use Regular Expressions –Using Regular Expressions –Using the Replacement.
Log-in to the Unix Server A successful log-in allows access to the server through the Secure Shell. SSH, also known as Secure Shocket Shell, is a Unix.
Lesson 4-Mastering the Visual Editor. Overview Introducing the visual editor. Working in an existing file with vi. Understanding the visual editor. Navigating.
40 Years and Still Rocking the Terminal!
Chapter Six Introduction to Shell Script Programming.
Lesson 3-Touring Utilities and System Features. Overview Employing fundamental utilities. Linux terminal sessions. Managing input and output. Using special.
Linux Commands C151 Multi-User Operating Systems.
Linux+ Guide to Linux Certification, Second Edition Chapter 4 Exploring Linux Filesystems.
Linux+ Guide to Linux Certification, Second Edition
ORAFACT Text Processing. ORAFACT Searching Inside Files grep - searches for patterns within files grep [options] [[-e] pattern] filename [...] -n shows.
CS 403: Programming Languages Lecture 20 Fall 2003 Department of Computer Science University of Alabama Joel Jones.
Linux Tutorial Lesson Two *Getting Help in Linux *Data movement and manipulation *Relative and Absolute path *Processes Note: see chapter 1,2,3 from Linux.
Linux Administration Working with the BASH Shell.
Linux 201 Training Module Linux Adv File Mgmt.
Lesson 5-Exploring Utilities
Chapter 11 Command-Line Master Class
Commands Basic syntax of shell commands UNIX or shell commands have a basic structure command -options target command comes first (such as cd or ls) any.
CIRC Summer School 2017 Baowei Liu
Linux Commands Help HANDS ON TRAINING Author: Muhammad Laique
Linux file system "On a UNIX system, everything is a file;
Some Linux Commands.
C151 Multi-User Operating Systems
CS314 – Section 5 Recitation 1
PROGRAMMING THE BASH SHELL PART IV by İlker Korkmaz and Kaya Oğuz
Vi Editor.
Basic UNIX OLC Training.
File Management.
CSE 390a Lecture 2 Exploring Shell Commands, Streams, and Redirection
John Carelli, Instructor Kutztown University
Guide To UNIX Using Linux Third Edition
Lecture 5 Additional useful commands COP 3353 Introduction to UNIX 1.
Unix Talk #2 (sed).
Chapter Four UNIX File Processing.
CSE 390a Lecture 2 Exploring Shell Commands, Streams, and Redirection
Linux Shell Script Programming
1.5 Regular Expressions (REs)
CSC 4630 Meeting 4 January 29, 2007.
Lecture 5 Additional useful commands COP 3353 Introduction to UNIX 1.
Using Linux Command 3 Lab#6.
LPI Linux Certification
Presentation transcript:

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