



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Master IFT final exam concepts including UNIX/Linux commands, file permissions, process management, vim editor, shell scripting, and system administration. Essential for IT students.
Typology: Exams
1 / 5
This page cannot be seen from the preview
Don't miss anything!




________________________________ is software that manages the computer's hardware and provides a convenient and safe environment for running programs. It acts as an interface between programs and the hardware (CPU, RAM, hard disk drive, printer, CD-ROM, etc). - Operating system On the Unix / Linux operating system, the system admin user account is ___________________. - root A _____________ is a component in Unix that runs on top of the kernel and provides a command line user environment. - shell Unix is written in the ________ programming language. This allows for portability across hardware platforms. - C Features of the Unix operating system include: - -large repository of apps
Which of the following commands would you use to determine what directory you are current in?
Which of the following commands could you use to see variables available in the current shell (environmental and/or user-defined)? - Correct! env Correct! set The history feature lets you recall previous commands (even those executed in previous sessions), edit them if required, and re-execute them. - True The environment variables, aliases and set options that we define are only applicable for the session and revert to their defaults when the session ends. - True There are multiple default file options for login scripts in UNIX and the bash shell. - True Commands may vary from shell to shell. For example, commands in the bash shell may not be the same syntax format or may not even be available at all in the C shell. - True UNIX uses which of the following network communication protocol suites natively? - TCP/IP Which of the following commands could you use to see your IP address on UNIX? - ifconfig Which of the following commands might you use to install software on your Linux operating system? - Correct! yum Correct! rpm Which of the following approaches could you use to add a new user to your UNIX/Linux operating system? - Correct! useradd command Correct! edit the /etc/passwd file using vi In many UNIX/Linux data and configuration files are "fields". Sometimes these fields are separated by: - Correct! tabs Correct! comma (,) Correct! colon (:) Which of the following commands can you use to accept an input stream and paginate output of that stream with various options such as length of page, double space, and/or number the lines of output? - pr Which of the following commands can you use to compare each byte of two files and terminates the moment it encounters a difference? - cmp If you wanted to look at just the beginning or ending few lines of a file, which of the following commands might you use? - Correct! head Correct! tail While head and tail are used to slice a file horizontally, which of the following commands can you use to cut a file vertically? - cut Which of the following commands could you use to find singular and not repeated lines in a file?
grep scans its input for a pattern, then displays the selected pattern, lines numbers and/or the filenames where the pattern occurs. - True sed is a multipurpose tool that combines the work of several filters. sed performs noninteractive operations on a data stream. sed has a host of features that allow you ti select lines and run instructions on them. - True A regular expression uses an elaborate metacharacter set that overshadows the shell's wild cards. This includes the use of character class with [ ] (square brackets) , negating of class with ^ (caret), * (asterisk), and pattern locations with $ and ^ (caret). - True sed uses 2 styles of addressing know as: - Correct! Line Addressing Correct! Context Addressing