Bharadia Jaydeep OS with Unix MCQ
|
|
- Tracey Merritt
- 5 years ago
- Views:
Transcription
1 Operating Syetm 1) CLI means a) Common Line Inline b) Common Line Interface c) Common Language Interface d) Compile Language Interface 2) As is the software component of a computer system that is responsible for the management and coordination of activities and the sharing of the resources of the computer. a) Operating System b) Hardware c) System Call d) User 3) Which is not function of OS a) Memory Management b) System Management c) Scheduling d) I/O Management 4) 1 P a g e Which type of process a) Multiprogramming b) Batch Processing c) Time Sharing d) Online System 5) FIFO technique work a) Multiprogramming b) Batch Processing c) Time Sharing d) Online System 6) In a Multiprogramming OS, which one aren t advantage include a) Maximum Resource utilization b) Large Main Memory Required
2 c) Memory Protection d) Fast Processing 7) A is a method by which multiple tasks, also known as processes, share common processing resources such as a CPU. a) Multiprogramming b) Multitasking c) A & B both d) None of these 8) This short period of time during which user gets the attention of the CPU is known as a) Time slice b) Time Slot c) A & B both d) None of these 9) A system has many user terminals simultaneously connected to the same computer. a) Multiprogramming b) Batch Processing c) Time Sharing d) Multitasking System 10) How many state available in process state a) 4 b) 5 c) 6 d) 7 11) PCB means a) Process Control Block b) Priority Control Block c) Process Central Block d) None of these 12) Which are not Scheduling Techniques a) FCFS schedule b) SJF schedule c) Round Robin d) FCFP schedule 13) is a technique in which the process, executing and application is divided into threads that can be run concurrently a) Single threading b) Simple threading c) Multithreading 2 P a g e
3 d) Threading 14) The memory management component of the Operating system is known as. a) Memory Handler b) Relocation c) Allocation d) Threading 15) Multi-partitioned allocation types a) Fixed/static partition b) Variable/dynamic partition c) a & b both d) none of these 16) First Fit Definition:- a) Allocate the first hole that is big enough. Searching can start either from the beginning of the set of holes or where the previous first-fit search ended. b) Allocate the smallest hole that is big enough. The entire list of holes will be searched. This strategy produces smallest leftover hole. c) Allocate he largest hole. Again, the entire list has to be searched. This strategy produces the largest left over hole, which may be more useful than the smaller leftover hole from a best-fit approach. d) None of these 17) Best Fit Definition:- a) Allocate the first hole that is big enough. Searching can start either from the beginning of the set of holes or where the previous first-fit search ended. b) Allocate the smallest hole that is big enough. The entire list of holes will be searched. This strategy produces smallest leftover hole. c) Allocate he largest hole. Again, the entire list has to be searched. This strategy produces the largest left over hole, which may be more useful than the smaller leftover hole from a best-fit approach. d) None of these 18) Worst Fit Definition:- a) Allocate the first hole that is big enough. Searching can start either from the beginning of the set of holes or where the previous first-fit search ended. b) Allocate the smallest hole that is big enough. The entire list of holes will be searched. This strategy produces smallest leftover hole. c) Allocate he largest hole. Again, the entire list has to be searched. This strategy produces the largest left over hole, which may be more useful than the smaller leftover hole from a best-fit approach. d) None of these 19) Which is not type of shells a) C shell b) Korn Shell c) Bourne Shell d) Unix Shell 20) which command allows you to change the password 3 P a g e
4 a) $passwd b) $password c) $pasword d) $pword 21) Which command clears the screen. a) $cls b) $cs c) $clear d) $cll 22) How many types of files a) 3 b) 4 c) 5 d) 6 Q-1: Which symbol will be used with grep command to match the pattern pat at the beginning of a line? A. ^pat B. $pat C. pat$ D. pat^ 2. Which command is used to sort the lines of data in a file in reverse order A. sort B. sh C. st D. sort -r 3. Which command is used to display the top of the file? A. cat B. head C. more D. grep 6. Which command is used to remove a directory? A. rd B. rmdir C. dldir D. rdir 7. Which of the following keys is used to replace a single character with new text? A. S 4 P a g e
5 B. s C. r D. C 8. Which command is used to extract specific columns from the file? A. cat B. cut C. grep D. paste 9. Which command sends the word count of the file infile to the newfile. A. wc infile >newfile B. wc <infile >newfile C. wc infile - newfile D. wc infile newfile 11. Which of the following commands is used to display the directory attributes rather than its contents? A. ls -1 -d B. ls -1 C. ls -x D. ls -F 12. Which of the following files will displayed by this command cat *ch* A. patch B. catch C..ch D. All of the above 13. The Octal number to be given alogn with chmod command to make a file readable, writable and executable to the owner, readable and executable to group and others is: A. 000 B. 755 C. 744 D Which of the following is not a communication command. A. write B. mesg C. mail D. grep 5 P a g e
6 16. Which of the following keys is used to move the cursor to the end of the paragraph. A. } B. { C. D. $ 18. The command which transcribes the standard input to the standard output and also makes a copy of the same in a file is A. tee B. tr C. sort D. grep 19. Which command is used to remove a file? A. remove B. rm C. mv D. del 20. Which symbol is used to separate more than one command in the same command line? A. $ B. # C. : D. ; 21. The agency that sits between the user and the UNIX system is called the A. logic B. profile C. shell D. erxc 22. Which of the following commands is used to update access and modification times of a file? A. grep B. wc C. touch D. cat 23. Which command is used to count just the number of characters in a file? A. wc - 1 B. wc -c 6 P a g e
7 C. wc -w D. wc -r 24. Which of the following commands is used to list contents of directories? A. ls B. lp C. dir D. tar 25. Which command is used to display a file contents in octal form? A. cd B. od C. of D. oct 26. Which command will be used with vi editor to insert text to left of cursor? A. s B. S C. a D. i 27. In vi editor, forward search is performed using the command. A. :pat B. :pat C. /pat D. All of the above 28. Which of the following special shell variables is used to process number of the last background job? A. $! B. $# C. $0 D. $* 29. Which option will be used with ps command to slow the entire command line of the process being run? A. -4 B. -f C. -1 D P a g e
8 30. Which of the following command addresses all users who are currently hooked on? A. write B. mail C. wall D. mesg 31. Which option is used with rm command to make the command prompt the user with each filename and a?, before acting on it A. -r B. -x C. -i D Which of the following directories contain all the Ales created by a user, including his login directory? A. /tmp B. /etc C. /usr D. /dev 33. Which of the following commands is used to obtain a list of all files by modification time? A. ls -1 B. ls -t C. ls -i D. ls -R 34. The % key allows you A. to move the cursor to a matching delimiter, when a delimiters a parenthesis, a bracket, or a brace. B. to move the cursor to the upperleft corner of the screen C. to move the cursor backward to the beginning of a word D. to move the cursor to the first column in the current line 35. Which command is used to display the characteristics of a process? A. pid B. du C. ps D. au 36. Which of the following commands is used to identify the type of file by context? A. ls B. cat 8 P a g e
9 C. file D. more 37. The filed separator in cut command is specified with A. -a option B. -d option C. -r option D. -x option 38. Which of the following options will be used to display number of blocks used by a file? A. -c B. -i C. -d D. -s 39. Which option will be used with touch command to change the access time? A. -a B. -b C. -t D. -h 41. Which command is used to display and create files? A. cat B. vi C. ed D. lyrix 42. The second set of the three permissions (r-) indicates that A. group has read permission only B. other has read permission only C. owner has read permission only D. group has write permission only 43. Which column contains all details of the permissions of a file when you issue the ls -l command? A. second B. fourth C. third D. first 44. Which of the following commands is used to display your working directory? 9 P a g e
10 A. dir B. prompt $p$g C. pwd D. path 45. While working with mail command, which command is used to save mail i a separate file? A. s B. r C. w D. d 46. The command used to compare the files is known as A. comp B. cmp C. do D. ccp 47. Which command is used to terminate a process? A. shutdown B. haltsys C. cancel D. kill 48. Which option will be used with sort command to start sorting ofter the nth column of the (m+l)th field? A. -m.n B. +m.n C. + n.m+1 D. +(m+l).n 49. The cp command uses: A. standard input file B. standard output file C. both input and output file D. neither standard input nor standard output file 1. Which of the following files contains information related to password aging? A. Shadow B. password C. profile D. All the three 10 P a g e
11 2. Which command will be used with vi editor to replace text from cursor to right? A. r B. R C. s D. S 3. Which of the following commands is used to rename a file? A. rename B. remove C. mv D. ren 4. Which of the following is not a filter? A. cat B. grep C. wc D. sort 5. Which of the following commands is used to copy a file wb from the programs directory into a file called wbx in the misc directory? A. copy programs/wb misc/wbx B. cp programs/wb misc/wbx C. tar programs/wb misc/wbx D. copy a:programs/wb b:misc/wbx 6. Which command is used to list all the files with extension.1st? A. ls -l *.lst B. ls lst* C. ls *.* D. ls *[lst] 7. Which option is used with the chmod command recursively to all files and sub-directories in a directory? A. -1 B. -i C. -x D. -R 8. Which command is used to change directory to the file beginning with a 'p'? A. cd p B. cd p? 11 P a g e
12 C. cd p* D. cd [p] 9. Which of the following is invalid filename? A. shutry B. TRY C. trial D. my.file 10. Which commands is used to assign executable permission to all of the files named "letter"? A. chmod ugo+r letter B. chmod ugo+rw letter C. chmod u+x letter D. chmod ugo+x letter 16. Which of the following commands is used to absolutely assign all permissions to the owner, read and write permissions to the group and only executable permission to the others of the file note? A. chmod 761 note B. chmod 671 note C. chmod 167 note D. chmod 4=rwx, g=rw note 17. The chmod ugo+rw note command can be represented in octal notation as A. chmod 555 note B. chmod 666 note C. chmod 444 note D. chmod 333 note 18. Which of the following commands is used to display the filenames in multiple columns with indication of directories and executable file? A. ls -F -x B. ls -l C. ls ~ x D. Ip 19. Which command is used with vi editor to search a pattern in the forward direction? A. / B.? C. // D.?? 12 P a g e
13 21. The command to count the number of files in the current directory by using pipes, is A. ls wc B. ls -l wc -l C. ls wc -w D. ls ws -c 22. Which of the following commands is used to get directory one level up? A. cd B. cd.. C. cd/ D. chdir 23. Which of the following commands is used to count the total number of lines, words, and characters contained in a file. A. count p B. wc C. wcount D. countw 25. Which of the following commands is used to change the working directory? A. cd B. changedir C. chdir D. cdir 26. Which of the following commands is used to view your file 24 lines at a time? A. pg B. cat C. lp D. /p 27. Which shell's wild-cards is used to match a single character? A. * B.? C. [ijk] D. [!ijk] 28. In Bourne shell, which file sets the Unix environment for the user when the logs into his HOME directory. A..exrc B..profile 13 P a g e
14 C. lastlogin D..mbox 34. Which of the following commands is used to summarize the disk usage? A. chkdsk B. fdisk C. du D. disk 35. Which command is used to sort the lines of data in a file in alphabetical order? A. sort B. sh C. st D. sort -r 36. If a file has read and write permissions for the owner, then the octal representation of the permissions will be A. 1 B. 6 C. 5 D Which is the earliest and most widely used shell that came with the UNIX system? A. C shell B. Korn shell C. Bourne shell D. Smith shell 39. The seventh field of /etc/password is A. password B. login C. shell D. home 40. Which command is used to display the end of the file? A. head - r B. tail C. eof D. bof 41. Which command is used to create a directory? 14 P a g e
15 A. crdir B. md C. mkdir D. cr 42. Which command is used to display the device name of the terminal you are using? A. who B. ls C. tty D. stty 44. Which option will be used with disk free command to include the total amount of disk space in the file system? A. -t B. -tt C. -4 D. -i 45. Which command is used to set the three permissions for all the three categories of users of a file? A. chgrp B. chown C. chmod D. chusr 46. Which of the following commands can be used to get information about yourself? A. who am i B. i /4 C. pwd D. which 47. Which of the following commands can be used to get information about all users who are currently logged into the system? A. which B. who C. who am i D. 1 /u 48. Which of the following keys is used to overstrike a whole line? A. R B. v C. C 15 P a g e
16 D. u 2.The octal representation 652 indicates A. Execute permission for the owner B. Write permission for others C. Read and write permission of groups D. All of the above 3. Which of the following command is used to count just the number of lines contained in a file? A. wc -l B. wc -c C. wc -w D. wc -r 4. Which of the following command is used to go to home directory? A. cd.. B. cd/ C. cd D. cd HOME. 5. Which command is used to move all files to the bin sub-directory of the parent directory? A. mv *.* /bin/ B. mv * /bin/* C. mv *../bin D. mv *../bin *.* 6. Which command is used to save the standard output in a file, as well as display it on the terminal? A. more B. cat C. grep D. tee 7. The command that can be used to restrict incoming messages to a user is A. mesg B. grep C. halt D. sleep 8. Which of the following commands is used to copy directory structures in and out 16 P a g e
17 A. cp B. cpio C. cp - p D. copy 10. Which command allows you to view your file 24 lines at a time? A. more B. pg C. cat D. lp 12. Which option is used with cmp command to give a detailed list of the byte number and the differing bytes in octal for each character that differs in both the files? A. -l B. -d C. -r D. -b 14. Which command is used with vi editor to move cursor forward to first occurrence of character 'ch' in the current line? A. tch B. fch C. rch D. ech 15. Which of the following keys is used to delete the character beneath the cursor? A. x B. X C. dd D. D 17. Which command will be used with vi editor to append text at end of line? A. A B. a C. i D. I 18. The first set of the three permissions (rw) pertains to the owner of the file, indicating that the owner has A. executable permission only B. write and executable permissions C. both read and executable permissions. 17 P a g e
18 D. both read and write permissions 19. Which of the following commands is used to save the output of the who command in a file named user.lst, as well as display it? A. who tee user.lst B. who > user.lst C. who >> user.lst D. who < user.lste 21. The command used to remove the directory is; A. rmdir B. rd C. remove D. rdir 22. Which symbol will be used with grep command to match the pattern pat at the end of a line? A. ^pat B. $pat C. pat$ D. pat^ 24. Which of the following commands is note the vi Input mode command? A. rch B. R C. S D. j 25. Which of the following commands is used to remove files? A. erase B. delete C. rm D. dm E.. None of the above 1. What command is used to count the total number of lines, words, and characters contained in a file? A. countw B. wcount C. wc D. count p 18 P a g e
19 2. What command is used to remove files? A. dm B. rm C. delete D. erase 3. What command is used to remove the directory? A. rdir B. remove C. rd D. rmdir 4. What command is used with vi editor to delete a single character? A. x B. y C. a D. z 5. What hardware architectures are not supported by Ret Hat? A. SPARC B. IBM-compatible C. Alpha D. Macintosh 46. Layer one of the OSI model is A. network layer B. transport layer C. link layer D. physical layer 47. What layer of OSI determines the interface of the system with the user? A. Session B. Data-link C. Application D. Network 48. What command is used to remove jobs from the print queue? A. lpq B. lpr C. lprm D. lpc 19 P a g e
20 49. How can you navigate around virtual consoles? A. Alt+Function Key B. Ctrl+Function Key C. Ctrl+Alt+Del D. Alt+a+w+Function Key 50. Which of the following NIS clients, finds and stores information about an NIS domain and server? A. ypwhich B. ypbind C. ypcat D. yppoll 56) Which language understands only 0 s & 1 s? a) Machine Language b) Assembly Language c) High Level Language d) Middle Level Language 57) Which year Develop Assembly language? a) 1960 b) 1952 c) 1965 d) 1975 e) 58) is medium for Translate to assembly Language Program to Machine Language Program. a) Assembler b) Medium c) compiler d) interpreter 59) are used to convert the high level language into machine language. (Find the error whole program ) a) Assembler b) Medium c) compiler d) interpreter 60) are used to convert the high level language into machine language. (Find the error statement by statement) 20 P a g e a) Assembler b) Medium
21 c) compiler d) interpreter 61) is system software, which acts as an interface between users and hardware. a) Microsoft Office b) Window 2000 c) Operating System d) Input Device 62) Which are not function of Operating System a) Process Management b) IO Management c) System Management d) Security Management 63) is also known as serial, sequential off line, or stacked job processing. a) Batch Processing b) Multiprogramming c) Multiprocessing d) Time Sharing 64) executing one by one sequentially. a) Batch Processing b) Multiprogramming c) Multiprocessing d) Time Sharing 65) Batch Processing Which technique are utilize a) FILO b) LIFO c) LILO d) FIFO 66) Which can handle more than one program in main memory at a time a) Batch Processing b) Multiprogramming c) Multiprocessing d) Time Sharing 67) A system has many user terminals simultaneously connected to the same computer. a) Batch Processing b) Multiprogramming c) Multiprocessing d) Time Sharing 21 P a g e
22 68) In Time Sharing, This short period of time during which user gets the attention of the CPU is known as a. a) Time cut b) Time Slice c) Time Put d) Timer 69) A system in which a transaction accessed and updates a file quickly enough to affect the original decision-making is called a. a) Batch Processing b) Multiprogramming c) Multiprocessing d) Real Time System 1. What command is used to save the standard output in a file, as well as display it on the terminal? A. tee B. grep C. cat D. more 2. What command is used to count just the number of lines contained in a file? A. wc - r B. wc - w C. wc - c D. wc Who founded the Linux Kernel? A. Bill Gates B. Ben Thomas C. Richard Stallman D. Linus Torvalds 4. The location of some system configuration and system administrator executable files, is: A. /home B. /proc C. /var D. /sbin 31. What command is used with file named 'letter' to remove the executable permission from the user and assign read permission to the group and others? A. chmod go + x, u - x letter B. chmod g - x, uo + r letter C. chmod go + r, u + x letter 22 P a g e
23 D. chmod u - x, go + r letter 32. What command is used to assign executable permission to the owner of the file named "letter"? A. chmod ugo + x letter B. chmod u + x letter C. chmod u + w letter D. chmod g + x letter 33. What command is used to compare the files? A. ccp B. du C. cmp D. comp 34. What command is used to summarize the disk usage? A. disk B. du C. fdisk D. chkdsk 35. What command is used to list the jobs currently in print queues? A. lpq B. lpr C. lprm D. lpc 23 P a g e
Set 1 MCQ Which command is used to sort the lines of data in a file in reverse order A) sort B) sh C) st D) sort -r
1. Which symbol will be used with grep command to match the pattern pat at the beginning of a line? A) ^pat B) $pat C) pat$ D) pat^ 2. Which command is used to sort the lines of data in a file in reverse
More information1. What command is used to count the total number of lines, words, and characters contained in a file? A. countw B. wcount C. wc D.
1. What command is used to count the total number of lines, words, and characters contained in a file? A. countw B. wcount C. wc D. count p 2. What command is used to remove files? A. dm B. rm C. delete
More informationOSA _Unit 2. Question Option A Option B Option C Option D. operating system with basic services
Sr. No. 1 Class : S.E.Comp Question Option A Option B Option C Option D The Hardware at centre of UNIX system provides. Matoshri College of Engineering and Research Center Nasik Department of Computer
More informationUNIX Operating System
UNIX Operating System Multiple Choice Questions and Answers: 1. Unix OS was first developed by a. Dennis Ritchie b. Bjarne stroustrup c. Ken Thompson d. Brian Kernighan 2. Unix OS was first developed at
More informationTable of contents. Our goal. Notes. Notes. Notes. Summer June 29, Our goal is to see how we can use Unix as a tool for developing programs
Summer 2010 Department of Computer Science and Engineering York University Toronto June 29, 2010 1 / 36 Table of contents 1 2 3 4 2 / 36 Our goal Our goal is to see how we can use Unix as a tool for developing
More informationOperating Systems. Copyleft 2005, Binnur Kurt
3 Operating Systems Copyleft 2005, Binnur Kurt Content The concept of an operating system. The internal architecture of an operating system. The architecture of the Linux operating system in more detail.
More informationOperating Systems 3. Operating Systems. Content. What is an Operating System? What is an Operating System? Resource Abstraction and Sharing
Content 3 Operating Systems The concept of an operating system. The internal architecture of an operating system. The architecture of the Linux operating system in more detail. How to log into (and out
More informationIMPORTANT: Logging Off LOGGING IN
These are a few basic Unix commands compiled from Unix web sites, and printed materials. The main purpose is to help a beginner to go around with fewer difficulties. Therefore, I will be adding to this
More informationIntroduction to Linux
Introduction to Linux Mukesh Pund Principal Scientist, NISCAIR, New Delhi, India History In 1969, a team of developers developed a new operating system called Unix which was written using C Linus Torvalds,
More informationGetting Started. Running Utilities. Shells. Special Characters. Special Characters. Chapter 2 Unix Utilities for non-programmers
Chapter 2 Unix Utilities for non-programmers Graham Glass and King Ables, UNIX for Programmers and Users, Third Edition, Pearson Prentice Hall, 2003. Original Notes by Raj Sunderraman Converted to presentation
More informationChapter-3. Introduction to Unix: Fundamental Commands
Chapter-3 Introduction to Unix: Fundamental Commands What You Will Learn The fundamental commands of the Unix operating system. Everything told for Unix here is applicable to the Linux operating system
More informationUNIX Quick Reference
UNIX Quick Reference This card represents a brief summary of some of the more frequently used UNIX commands that all users should be at least somewhat familiar with. Some commands listed have much more
More informationUnix Introduction to UNIX
Unix Introduction to UNIX Get Started Introduction The UNIX operating system Set of programs that act as a link between the computer and the user. Developed in 1969 by a group of AT&T employees Various
More informationIntroduction to Linux Environment. Yun-Wen Chen
Introduction to Linux Environment Yun-Wen Chen 1 The Text (Command) Mode in Linux Environment 2 The Main Operating Systems We May Meet 1. Windows 2. Mac 3. Linux (Unix) 3 Windows Command Mode and DOS Type
More informationUnix System Architecture, File System, and Shell Commands
Unix System Architecture, File System, and Shell Commands Prof. (Dr.) K.R. Chowdhary, Director COE Email: kr.chowdhary@iitj.ac.in webpage: http://www.krchowdhary.com JIET College of Engineering August
More informationM.C.A. (Sem.-lll) (CBCS) Examination November CCA-3003 Operating System and LinuxlUnix programming
IIMII 003-007303 M.C.A. (Sem.-lll) (CBCS) Examination November-20 13 CCA-3003 Operating System and LinuxlUnix programming Faculty Code: 003 Subject Code: 007303 Time: 2'/' Hoursl ITotal Marks: 70 I. Attempt
More informationUnix Handouts. Shantanu N Kulkarni
Unix Handouts Shantanu N Kulkarni Abstract These handouts are meant to be used as a study aid during my class. They are neither complete nor sincerely accurate. The idea is that the participants should
More informationTeaching and Examination Scheme: PAPER HRS TH TU PR TH PR OR TW TOTAL
Course Name : Computer Engineering Group Course Code : CO/CD/CM/CW/IF Semester : Fifth for CO/CM/CW/IF and Sixth for CD Subject Title : Operating System Subject Code : 17512 Teaching and Examination Scheme:
More informationOutline. Structure of a UNIX command
Outline Structure of Unix Commands Command help (man) Log on (terminal vs. graphical) System information (utility) File and directory structure (path) Permission (owner, group, rwx) File and directory
More informationINTRODUCTION TO LINUX
INTRODUCTION TO LINUX REALLY SHORT HISTORY Before GNU/Linux there were DOS, MAC and UNIX. All systems were proprietary. The GNU project started in the early 80s by Richard Stallman Goal to make a free
More informationQUESTION BANK ON UNIX & SHELL PROGRAMMING-502 (CORE PAPER-2)
BANK ON & SHELL PROGRAMMING-502 (CORE PAPER-2) TOPIC 1: VI-EDITOR MARKS YEAR 1. Explain set command of vi editor 2 2011oct 2. Explain the modes of vi editor. 7 2013mar/ 2013 oct 3. Explain vi editor 5
More informationCHAPTER 1 UNIX FOR NONPROGRAMMERS
CHAPTER 1 UNIX FOR NONPROGRAMMERS The man command is used to display the manual entry associated with word entered as argument. The -k option is used displays a list of manual entries that contain entered
More informationComputer Systems and Architecture
Computer Systems and Architecture Stephen Pauwels Computer Systems Academic Year 2018-2019 Overview of the Semester UNIX Introductie Regular Expressions Scripting Data Representation Integers, Fixed point,
More informationPerl and R Scripting for Biologists
Perl and R Scripting for Biologists Lukas Mueller PLBR 4092 Course overview Linux basics (today) Linux advanced (Aure, next week) Why Linux? Free open source operating system based on UNIX specifications
More information2) clear :- It clears the terminal screen. Syntax :- clear
1) cal :- Displays a calendar Syntax:- cal [options] [ month ] [year] cal displays a simple calendar. If arguments are not specified, the current month is displayed. In addition to cal, the ncal command
More informationUnix Filesystem. January 26 th, 2004 Class Meeting 2
Unix Filesystem January 26 th, 2004 Class Meeting 2 * Notes adapted by Christian Allgood from previous work by other members of the CS faculty at Virginia Tech Unix Filesystem! The filesystem is your interface
More informationCS4350 Unix Programming. Outline
Outline Unix Management Files and file systems Structure of Unix Commands Command help (man) Log on (terminal vs. graphical) System information (utility) File and directory structure (path) Permission
More informationWelcome to Linux. Lecture 1.1
Welcome to Linux Lecture 1.1 Some history 1969 - the Unix operating system by Ken Thompson and Dennis Ritchie Unix became widely adopted by academics and businesses 1977 - the Berkeley Software Distribution
More informationacmteam/unix.pdf How to manage your account (user ID, password, shell); How to compile C, C++, and Java programs;
Note: you can find this file under: http://www.cs.queensu.ca/ acmteam/unix.pdf Introduction to Unix Tutorial In this tutorial, you will learn: How to manage your account (user ID, password, shell); Navigating
More informationComputer Systems and Architecture
Computer Systems and Architecture Introduction to UNIX Stephen Pauwels University of Antwerp October 2, 2015 Outline What is Unix? Getting started Streams Exercises UNIX Operating system Servers, desktops,
More informationWorking with Basic Linux. Daniel Balagué
Working with Basic Linux Daniel Balagué How Linux Works? Everything in Linux is either a file or a process. A process is an executing program identified with a PID number. It runs in short or long duration
More informationUnix File System. Class Meeting 2. * Notes adapted by Joy Mukherjee from previous work by other members of the CS faculty at Virginia Tech
Unix File System Class Meeting 2 * Notes adapted by Joy Mukherjee from previous work by other members of the CS faculty at Virginia Tech Unix File System The file system is your interface to: physical
More informationChapter Two. Lesson A. Objectives. Exploring the UNIX File System and File Security. Understanding Files and Directories
Chapter Two Exploring the UNIX File System and File Security Lesson A Understanding Files and Directories 2 Objectives Discuss and explain the UNIX file system Define a UNIX file system partition Use the
More informationIntroduction to Linux
Introduction to Linux Prof. Jin-Soo Kim( jinsookim@skku.edu) TA - Kisik Jeong (kisik@csl.skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu What is Linux? A Unix-like operating
More informationIntroduction to Unix: Fundamental Commands
Introduction to Unix: Fundamental Commands Ricky Patterson UVA Library Based on slides from Turgut Yilmaz Istanbul Teknik University 1 What We Will Learn The fundamental commands of the Unix operating
More informationIntroduction p. 1 Who Should Read This Book? p. 1 What You Need to Know Before Reading This Book p. 2 How This Book Is Organized p.
Introduction p. 1 Who Should Read This Book? p. 1 What You Need to Know Before Reading This Book p. 2 How This Book Is Organized p. 2 Conventions Used in This Book p. 2 Introduction to UNIX p. 5 An Overview
More informationIntroduction to Linux
p. 1/40 Introduction to Linux Xiaoxu Guan High Performance Computing, LSU January 31, 2018 p. 2/40 Outline What is an OS or Linux OS? Basic commands for files/directories Basic commands for text processing
More informationStd: XI CHAPTER-3 LINUX
Commands: General format: Command Option Argument Command: ls - Lists the contents of a file. Option: Begins with minus sign (-) ls a Lists including the hidden files. Argument refers to the name of a
More informationLinux Shell Script. J. K. Mandal
Linux Shell Script J. K. Mandal Professor, Department of Computer Science & Engineering, Faculty of Engineering, Technology & Management University of Kalyani Kalyani, Nadia, West Bengal E-mail: jkmandal@klyuniv.ac.in,
More informationAppendix A GLOSSARY. SYS-ED/ Computer Education Techniques, Inc.
Appendix A GLOSSARY SYS-ED/ Computer Education Techniques, Inc. $# Number of arguments passed to a script. $@ Holds the arguments; unlike $* it has the capability for separating the arguments. $* Holds
More informationIntroduction to the UNIX command line
Introduction to the UNIX command line Steven Abreu Introduction to Computer Science (ICS) Tutorial Jacobs University s.abreu@jacobs-university.de September 19, 2017 Overview What is UNIX? UNIX Shell Commands
More informationCCC MODEL PAPER INFOMAX COMPUTER ACADEMY. G. R. Complex Preetam Nagar Prayagraj (Allahabad) U.P. Contact : ,
CCC MODEL PAPER INFOMAX COMPUTER ACADEMY G. R. Complex Preetam Nagar Prayagraj (Allahabad) U.P. Contact : 8874588766, 9598948810 (1 ) The primary job of the operating system of a computer is to. A. Command
More informationTHE HONG KONG POLYTECHNIC UNIVERSITY Department of Electronic and Information Engineering
THE HONG KONG POLYTECHNIC UNIVERSITY Department of Electronic and Information Engineering ENG224 Information Technology Part I: Computers and the Internet Laboratory 2 Linux Shell Commands and vi Editor
More informationAppendix B WORKSHOP. SYS-ED/ Computer Education Techniques, Inc.
Appendix B WORKSHOP SYS-ED/ Computer Education Techniques, Inc. 1 Introduction There are no workshops for this chapter. The instructor will provide demonstrations and examples. SYS-ED/COMPUTER EDUCATION
More informationMARUTHI SCHOOL OF BANKING (MSB)
MARUTHI SCHOOL OF BANKING (MSB) SO IT - OPERATING SYSTEM(2017) 1. is mainly responsible for allocating the resources as per process requirement? 1.RAM 2.Compiler 3.Operating Systems 4.Software 2.Which
More informationUnix Workshop Aug 2014
Unix Workshop 2014 5 Aug 2014 What is Unix Multitasking, multiuser operating system Often the OS of choice for large servers, large clusters Unix Around You You re probably familiar with these: Linux Solaris
More informationSoftware I: Utilities and Internals. What is UNIX?
Software I: Utilities and Internals Lecture 1 UNIX for Beginners What is UNIX? UNIX is a time-sharing operating system with userchosen shells (user interfaces) and one kernel (operating system core, which
More informationSECTION -C. Getting Started with UNIX
Lecture 15 SECTION -C Getting Started with UNIX Introduction Changing permission modes Absolute & Relative Permissions Changing file permissions : chmod A file or directory is created with a default set
More informationfor more :-
JNTU ONLINE EXAMINATIONS [Mid 1 - UNIX] 1. C programmers in the unix environment has complete access to the entire system call library as well as the a. static library functions b. dynamic library functions
More informationIntroduction to Linux (Part I) BUPT/QMUL 2018/03/14
Introduction to Linux (Part I) BUPT/QMUL 2018/03/14 Contents 1. Background on Linux 2. Starting / Finishing 3. Typing Linux Commands 4. Commands to Use Right Away 5. Linux help continued 2 Contents 6.
More informationIntroduction to Linux. Woo-Yeong Jeong Computer Systems Laboratory Sungkyunkwan University
Introduction to Linux Woo-Yeong Jeong (wooyeong@csl.skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu What is Linux? A Unix-like operating system of a computer What is an
More information(MCQZ-CS604 Operating Systems)
command to resume the execution of a suspended job in the foreground fg (Page 68) bg jobs kill commands in Linux is used to copy file is cp (Page 30) mv mkdir The process id returned to the child process
More informationCourse 144 Supplementary Materials. UNIX Fundamentals
Course 144 Supplementary Materials UNIX Fundamentals 1 Background to UNIX Command Fundamentals This appendix provides a overview of critical commands and concepts Prerequisite knowledge attendees should
More informationEmbedded Linux Systems. Bin Li Assistant Professor Dept. of Electrical, Computer and Biomedical Engineering University of Rhode Island
Embedded Linux Systems Bin Li Assistant Professor Dept. of Electrical, Computer and Biomedical Engineering University of Rhode Island Generic Embedded Systems Structure User Sensors ADC microcontroller
More informationMid Term from Feb-2005 to Nov 2012 CS604- Operating System
Mid Term from Feb-2005 to Nov 2012 CS604- Operating System Latest Solved from Mid term Papers Resource Person Hina 1-The problem with priority scheduling algorithm is. Deadlock Starvation (Page# 84) Aging
More informationA Brief Introduction to Unix
A Brief Introduction to Unix Sean Barag Drexel University March 30, 2011 Sean Barag (Drexel University) CS 265 - A Brief Introduction to Unix March 30, 2011 1 / 17 Outline 1 Directories
More informationLinux & Shell Programming 2014
Unit -1: Introduction to UNIX/LINUX Operating System Practical Practice Questions: Find errors (if any) otherwise write output or interpretation of following commands. (Consider default shell is bash shell.)
More information*nix Crash Course. Presented by: Virginia Tech Linux / Unix Users Group VTLUUG
*nix Crash Course Presented by: Virginia Tech Linux / Unix Users Group VTLUUG Ubuntu LiveCD No information on your hard-drive will be modified. Gives you a working Linux system without having to install
More informationIntroduction to Linux Part 1. Anita Orendt and Wim Cardoen Center for High Performance Computing 24 May 2017
Introduction to Linux Part 1 Anita Orendt and Wim Cardoen Center for High Performance Computing 24 May 2017 ssh Login or Interactive Node kingspeak.chpc.utah.edu Batch queue system kp001 kp002. kpxxx FastX
More informationWeek 2 Lecture 3. Unix
Lecture 3 Unix Terminal and Shell 2 Terminal Prompt Command Argument Result 3 Shell Intro A system program that allows a user to execute: shell functions (e.g., ls -la) other programs (e.g., eclipse) shell
More informationIntroduction to Linux
Introduction to Linux Prof. Jin-Soo Kim( jinsookim@skku.edu) TA Sanghoon Han(sanghoon.han@csl.skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu Announcement (1) Please come
More informationIntroduction to Linux
Introduction to Linux Prof. Jin-Soo Kim( jinsookim@skku.edu) TA - Dong-Yun Lee (dylee@csl.skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu What is Linux? A Unix-like operating
More informationCommon UNIX Utilities Alphabetical List
Common UNIX Utilities Alphabetical List addbib - create or extend a bibliographic database apropos - locate commands by keyword lookup ar - create library archives, and add or extract files at - execute
More informationGNU/Linux 101. Casey McLaughlin. Research Computing Center Spring Workshop Series 2018
GNU/Linux 101 Casey McLaughlin Research Computing Center Spring Workshop Series 2018 rccworkshop IC;3df4mu bash-2.1~# man workshop Linux101 RCC Workshop L101 OBJECTIVES - Operating system concepts - Linux
More informationLinux Essentials. Programming and Data Structures Lab M Tech CS First Year, First Semester
Linux Essentials Programming and Data Structures Lab M Tech CS First Year, First Semester Adapted from PDS Lab 2014 and 2015 Login, Logout, Password $ ssh mtc16xx@192.168.---.--- $ ssh X mtc16xx@192.168.---.---
More informationLOG ON TO LINUX AND LOG OFF
EXPNO:1A LOG ON TO LINUX AND LOG OFF AIM: To know how to logon to Linux and logoff. PROCEDURE: Logon: To logon to the Linux system, we have to enter the correct username and password details, when asked,
More informationOperating Systems. Engr. Abdul-Rahman Mahmood MS, PMP, MCP, QMR(ISO9001:2000) alphapeeler.sf.net/pubkeys/pkey.htm
Operating Systems Engr. Abdul-Rahman Mahmood MS, PMP, MCP, QMR(ISO9001:2000) armahmood786@yahoo.com alphasecure@gmail.com alphapeeler.sf.net/pubkeys/pkey.htm http://alphapeeler.sourceforge.net pk.linkedin.com/in/armahmood
More informationEssential Unix (and Linux) for the Oracle DBA. Revision no.: PPT/2K403/02
Essential Unix (and Linux) for the Oracle DBA Revision no.: PPT/2K403/02 Architecture of UNIX Systems 2 UNIX System Structure 3 Operating system interacts directly with Hardware Provides common services
More informationOn successful completion of the course, the students will be able to attain CO: Experiment linked. 2 to 4. 5 to 8. 9 to 12.
CIE- 25 Marks Government of Karnataka Department of Technical Education Bengaluru Course Title: Linux Lab Scheme (L:T:P) : 0:2:4 Total Contact Hours: 78 Type of Course: Tutorial, Practical s & Student
More informationLinux Command Line Primer. By: Scott Marshall
Linux Command Line Primer By: Scott Marshall Draft: 10/21/2007 Table of Contents Topic Page(s) Preface 1 General Filesystem Background Information 2 General Filesystem Commands 2 Working with Files and
More informationProcesses. Shell Commands. a Command Line Interface accepts typed (textual) inputs and provides textual outputs. Synonyms:
Processes The Operating System, Shells, and Python Shell Commands a Command Line Interface accepts typed (textual) inputs and provides textual outputs. Synonyms: - Command prompt - Shell - CLI Shell commands
More informationWelcome to getting started with Ubuntu Server. This System Administrator Manual. guide to be simple to follow, with step by step instructions
Welcome to getting started with Ubuntu 12.04 Server. This System Administrator Manual guide to be simple to follow, with step by step instructions with screenshots INDEX 1.Installation of Ubuntu 12.04
More informationCISC 220 fall 2011, set 1: Linux basics
CISC 220: System-Level Programming instructor: Margaret Lamb e-mail: malamb@cs.queensu.ca office: Goodwin 554 office phone: 533-6059 (internal extension 36059) office hours: Tues/Wed/Thurs 2-3 (this week
More informationIntroduction to Linux
Introduction to Linux University of Bristol - Advance Computing Research Centre 1 / 47 Operating Systems Program running all the time Interfaces between other programs and hardware Provides abstractions
More informationUnix/Linux Operating System. Introduction to Computational Statistics STAT 598G, Fall 2011
Unix/Linux Operating System Introduction to Computational Statistics STAT 598G, Fall 2011 Sergey Kirshner Department of Statistics, Purdue University September 7, 2011 Sergey Kirshner (Purdue University)
More informationList of Linux Commands in an IPm
List of Linux Commands in an IPm Directory structure for Executables bin: ash cpio false ln mount rm tar zcat busybox date getopt login mv rmdir touch cat dd grep ls perl sed true chgrp df gunzip mkdir
More informationPlease choose the best answer. More than one answer might be true, but choose the one that is best.
Introduction to Linux and Unix - endterm Please choose the best answer. More than one answer might be true, but choose the one that is best. SYSTEM STARTUP 1. A hard disk master boot record is located:
More informationBasic Unix Command. It is used to see the manual of the various command. It helps in selecting the correct options
Basic Unix Command The Unix command has the following common pattern command_name options argument(s) Here we are trying to give some of the basic unix command in Unix Information Related man It is used
More informationHands-on Keyboard: Cyber Experiments for Strategists and Policy Makers
Hands-on Keyboard: Cyber Experiments for Strategists and Policy Makers Review of the Linux File System and Linux Commands 1. Introduction Becoming adept at using the Linux OS requires gaining familiarity
More informationThis lab exercise is to be submitted at the end of the lab session! passwd [That is the command to change your current password to a new one]
Data and Computer Security (CMPD414) Lab II Topics: secure login, moving into HOME-directory, navigation on Unix, basic commands for vi, Message Digest This lab exercise is to be submitted at the end of
More informationUsing the Unix system. UNIX Introduction
Using the Unix system Navigating the Unix file system Editing with emacs Compiling with gcc UNIX Introduction The UNIX operating system is made up of three parts: the kernel, the shell and the programs
More informationUNIX Basics. UNIX Basics CIS 218 Oakton Community College
UNIX Basics UNIX Basics CIS 218 Oakton Community College History UNIX was invented in 1969 at AT&T Bell Labs Ken Thompson and Dennis Ritchie are credited as the original architects and developers of C.
More informationh/w m/c Kernel shell Application s/w user
Structure of Unix h/w m/c Kernel shell Application s/w. user While working with unix, several layers of interaction occur b/w the computer h/w & the user. 1. Kernel : It is the first layer which runs on
More informationFiles and Directories
CSCI 2132: Software Development Files and Directories Norbert Zeh Faculty of Computer Science Dalhousie University Winter 2019 Files and Directories Much of the operation of Unix and programs running on
More informationThe Unix Shell & Shell Scripts
The Unix Shell & Shell Scripts You should do steps 1 to 7 before going to the lab. Use the Linux system you installed in the previous lab. In the lab do step 8, the TA may give you additional exercises
More informationBrief Linux Presentation. July 10th, 2006 Elan Borenstein
Brief Linux Presentation July 10th, 2006 Elan Borenstein History 1965 - Bell Labs (AT&T), GE and MIT Project to develop a new (multiuser, multitasking) operating system - MULTICS. (not successful) History
More informationIntroduction: What is Unix?
Introduction Introduction: What is Unix? An operating system Developed at AT&T Bell Labs in the 1960 s Command Line Interpreter GUIs (Window systems) are now available Introduction: Unix vs. Linux Unix
More informationCS246 Spring14 Programming Paradigm Notes on Linux
1 Unix History 1965: Researchers from Bell Labs and other organizations begin work on Multics, a state-of-the-art interactive, multi-user operating system. 1969: Bell Labs researchers, losing hope for
More information100 SHELL PROGRAMS IN UNIX
100 SHELL PROGRAMS IN UNIX By Sarika Jain Head, MCA Department ABSS, Meerut (U.P.) Shivani Jain Senior Lecturer, Department of Computer Science VCE, Meerut (U.P.) FIREWAL MEDIA (An Imprint of Laxmi Publications
More informationUNIX. Basic UNIX Command
UNIX Basic UNIX Command Command List ls mkdir mv chmod groupadd hostname kill head top compress/ uncompress pwd Cat find chown useradd id ioscan pdf sar cd more grep chgrp passwd mount dmesg netstat tar
More information5/8/2012. Creating and Changing Directories Chapter 7
Creating and Changing Directories Chapter 7 Types of files File systems concepts Using directories to create order. Managing files in directories. Using pathnames to manage files in directories. Managing
More information~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
(( )) (( )) [ x x ] cdc communications, inc. [ x x ] \ / presents... \ / (` ') (` ') (U) (U) Gibe's UNIX COMMAND Bible ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The latest file from the Cow's
More informationUNIX 2 OPERATING SYSTEM
UNIX 2 OPERATING SYSTEM hapter SYS-ED/ OMPUTER EDUATION TEHNIQUES, IN. Objectives You will learn: Process management in Solaris. omponents of the operating system. Flow of control within the operating
More informationUseful Unix Commands Cheat Sheet
Useful Unix Commands Cheat Sheet The Chinese University of Hong Kong SIGSC Training (Fall 2016) FILE AND DIRECTORY pwd Return path to current directory. ls List directories and files here. ls dir List
More informationOverview LEARN. History of Linux Linux Architecture Linux File System Linux Access Linux Commands File Permission Editors Conclusion and Questions
Lanka Education and Research Network Linux Architecture, Linux File System, Linux Basic Commands 28 th November 2016 Dilum Samarasinhe () Overview History of Linux Linux Architecture Linux File System
More informationUNIX ASSIGNMENT 1 TYBCA (Sem:V)
UNIX ASSIGNMENT 1 TYBCA (Sem:V) Given Date: 06-08-2015 1. Explain the difference between the following thru example ln & paste tee & (pipeline) 2. What is the difference between the following commands
More informationUNIX File Hierarchy: Structure and Commands
UNIX File Hierarchy: Structure and Commands The UNIX operating system organizes files into a tree structure with a root named by the character /. An example of the directory tree is shown below. / bin
More informationIntroduction to Linux Basics
Introduction to Linux Basics Part-I Georgia Advanced Computing Resource Center University of Georgia Zhuofei Hou, HPC Trainer zhuofei@uga.edu Outline What is GACRC? What is Linux? Linux Command, Shell
More informationUnix/Linux Basics. Cpt S 223, Fall 2007 Copyright: Washington State University
Unix/Linux Basics 1 Some basics to remember Everything is case sensitive Eg., you can have two different files of the same name but different case in the same folder Console-driven (same as terminal )
More informationUNIX Command Cheat Sheets
UNIX Command Cheat Sheets date Writes the current date to the screen date Mon Nov 20 18:25:37 EST 2000 sort infile Sorts the contents of the input file in alphabetical order sort names Sorts the contents
More information