[LPIC-101-500] Exam8
![]() |
![]() |
![]() |
Título del Test:![]() [LPIC-101-500] Exam8 Descripción: Test para la certificación LPIC-101 v5 |




Comentarios |
---|
NO HAY REGISTROS |
Which of the following commands can be used to display the inode number of a given file? (Choose TWO correct answers). stat. ln. ls. cp. inode. Which of the following commands is used to change options and positional parameters within a running Bash shell?. bashconf. setsh. set. history. envsetup. Which of the following commands display the IDs of all processes owned by root? (Choose TWO correct answers). pgrep -f root. pgrep -c root. pgrep -U 0. pgrep -c 0. pgrep -u root. Which of the following sequences in the vi editor saves the opened document and exits the editor? (Choose TWO correct answers). Esc :wq. Ctrl :W. Esc ZZ. Ctrl XX. Esc zz. What is the effect of the -v option for the grep command?. It only outputs non-matching lines. It changes the output order showing the last matching line. It enables color to highlight matching parts. It outputs all lines and prefixes matching lines with a+. It shows the command’s version information. Which of the following tools can show the complete path of an executable file that the current shell would execute when starting a command without specifying its complete path? (Choose TWO correct answers). locate. which. pwd. find. type. Which of the following signals is sent to a process when the key combination Ctrl+Z is pressed on the keyboard?. SIGKILL. SIGTSTP. SIGCONT. SIGINT. SIGTERM. What is the output when the regular expression s/[ABC][abc]/xx/ is applied to thefollowing string? ABCabc. ABxxbc. xxCxxc. Axxaxx. ABCabc. xxxxxx. Which of the following commands print the current working directory when usinga Bash shell? (Choose TWO correct answers). printwd. echo “${WD}”. echo “${PWD}”. pwd. echo “${pwd}”. Which of the following commands outputs test to the shell?. cat <<EOT test EOT. cat !<EOT test EOT. cat <!EOT test EOT. cat <|EOT test EOT. cat &<EOT test EOT. What is the default nice level when a process is started using the nice command?. 10. -10. 0. 20. 15. Which of the following settings for umask ensures that new files have the default permissions -rwr-----?. 0640. 0227. 0038. 0017. 0027. A user accidentally created the subdirectory \dir in his home directory. Which ofthe following commands will remote that directory?. rmdir “~/\dir”. rmdir ~/\\dir. rmdir ~/\dir. rmdir ‘~/\dir’. rmdir ~/’dir’. After a power outage, the XFS file system of /dev/sda3 is inconsistent. How can the existing file system errors be fixed?. By mounting the file system with the option xfs_repai. By running xfsck on the file system. By running xfsadmin repair on the file system. By using mount -f to force a mount of the file system. By running xfs_repair on the file system. Which of the following properties of an existing file changes when a hard link pointing to that file is created?. File size. Permissions. Modify timestamp. Inode number. Link count. Which of the following commands show how the shell handles a specific command?. where. stat. type. case. fileinfo. When in Normal mode in vi, which character can be used to begin a reverse search of the text?. s. r. /. F. ?. Which of the following commands displays the manual page command from section 1?. man command(1). man 1.command. man command@1. man 1 command. man -s 1 command. Which of the following commands creates or, in case it already exists, overwrites a file called data with the output of ls?. ls >>> data. ls 3> data. ls >& data. ls >> data. ls > data. Following the Filesystem Hierarchy Standard (FHS), where should binaries tha thave been compiled by the system administrator be placed in order to be made available to all users on the system? (Specify the full path to the directory). |