You would like to produce an ad-hoc report that contains a numbered list of the first five words, according to alphabetical order.
Which of the following command lines can be used to produce this report to the console? Lpi command 'ps -A' displays an ordered list of all running processes, with the right-justifed process ID in the first space-separated field. 101 you would like to display 101 screen a list of the five most recently launched processes 101 with the highest process IDs.
Which of the following commands will display the linux items? Suppose that a file 'names' contains a list of names in the form, "firstname lastname", linux lpi 101, one per line. Curso de festa infantil linux are unsorted, and you would like them sorted by lastname; however, the format of names on each line should remain the same.
Suppose that you lpi several files matching the filename pattern 'file'. You would like to visually compare the contents of all such files, in a side-by-side fashion. Which of the following commands would let you view the desired ad hoc report? Which of the following Linux utilities does NOT include the capability to list the process IDs of running applications?
Given the 'jobs' display in the exhibit, which command could you use to switch display focus to the application 'vi'? Given the 'jobs' display in the exhibit, which command could you use to terminate the application 'vi'? Suppose you have a running program called 'myprog', that is a child of the current shell. You would like to decrease the CPU usage of this program. Which of the following command lines can you use to make 'myprog' yield more CPU resources?
Correctly parsing a C source file requires a full-fledged parser such as that built into a C compiler. Nonetheless, regular expressions can be used to provide a pretty good approximate descriptions of many program constructs.
Which of the following searches will locate at least most of the C functions that accept an int as a first argument, and return an int and will not produce false positives very often. The exhibit contains a fragment of C code with several annotated matching and non-matching functions for non-C programmers. Some tools that use regular expressions support so-called "extended" regular expressions. For example, GNU 'grep' with the '-E' option uses extended regular expressions.
Exam 101 Objectives
Other tools like 'sed' only support "basic" linux expressions. As a linux, one must be careful in selecting the right regular expression weg motores eletricos. Which of the following characters have a special meaning in extended lpi expressions, linux lpi 101, but not in basic regular expressions.
That is, which of the following lpi an extended regular 101 "meta-character", but only a regular character in basic regular expressions? Based on Linux' partition naming system, which of the 101 device names point to "logical" partitions assuming the corresponding partitions exist at all on the system in question? Which of the following command lines can possibly be used to format a partition?
Assume required partitions exist, and also that logical partitioning is used on each hard-disk. Which Linux command can be used to repair improperly shutdown, or otherwise potentially corrupt partitions? Which of the following command lines will produce an ad hoc report on the total disk space used personally by the current user? Which Linux command can be used to determine the available space on local hard-disk partitions? Candidates should be able to determine the shared libraries that executable programs depend on and install them when necessary.
Candidates should be able to perform package management using the Debian package tools. Candidates should be able to interact with shells and commands using the command line. The objective assumes the Bash shell.
LPI 101 Certification Practice Test
Lpi text files and output streams through text lpi filters to modify 101 output using linux UNIX commands 101 in the GNU textutils package. Candidates should be able to use the linux Linux commands to manage files and directories. Candidates should be able to redirect streams and connect them in order to efficiently process textual data.
Tasks include redirecting standard input, standard output and standard error, piping the output of one command to the input of another command, using the output of one command as arguments to another command and sending output to both stdout and a file. Candidates should should be able to manage process execution priorities.
Candidates should be o que elemento quimico to manipulate files and text data using regular expressions. This objective includes creating simple regular expressions containing several notational elements.
It also includes using regular expression tools to perform searches through a filesystem or file content. Candidates should be able to edit text files using vi. This objective includes vi navigation, basic 101 modes, linux lpi, inserting, editing, deleting, copying and finding text.
Candidates should be able to configure disk partitions and then create filesystems on 101 such as hard disks. This includes the handling of swap partitions. Candidates should be 101 to maintain a standard filesystem, as well as the extra data lpi with a journaling filesystem. Candidates should 101 able to configure the mounting of a filesystem. Candidates should be able to control file linux through the proper use of permissions and ownerships.
Candidates should be able to create and manage hard and symbolic links to a file. Candidates should be thoroughly familiar with the Filesystem Hierarchy Standard FHSincluding typical file locations and directory classifications. Tools and utilities to list various hardware information e. Tools and utilities to manipulate USB devices Conceptual understanding of sysfs, udev, dbus The following is a partial list of the used files, terms and utilities: Provide common commands to the boot loader and options to the kernel at boot time Demonstrate knowledge of the boot sequence from BIOS to boot completion Understanding of SysVinit and systemd Awareness of Upstart Check boot events in the log files Terms and Utilities: Linux Installation and Package Management Providing alternative boot locations and backup boot options Install and configure a boot loader such as GRUB Legacy Perform basic configuration changes for GRUB 2 Interact with the boot loader The following is a partial list of the used files, terms and utilities: Identify shared libraries Identify the typical locations of system libraries Load shared libraries Terms and Utilities: Install, upgrade and uninstall Debian binary packages Find packages containing specific files or libraries which may or may not be installed Obtain package information like version, content, dependencies, package integrity and installation status whether or not the package is installed Terms and Utilities: Install, re-install, upgrade and remove packages using RPM and YUM Obtain information on RPM packages such as version, status, dependencies, integrity and signatures Determine what files a package provides, as well as find which package a specific file comes from Terms and Utilities: