117-010 - Entry Level Linux Essentials Certificate of Achievement

Go back to LPI

Example Questions

What is the output of the following command? for token in a b c; do echo -n ${token}; done Which of the following is a requirement of the GPL license but not the BSD license? The script, script.sh, consists of the following lines: #!/bin/bash echo $2 $1 Which output will appear if the command, ./script.sh test1 test2, is entered? Which of the following commands will display a list all files in the current directory including the hidden files? Which of the following commands can be used to extract content from a tar file? Which files will affect the domain name resolution system on Linux? (Choose TWO answers) Which command will display running process information in real time? What command would you use to get comprehensive documentation about any command in Linux? Which of the following commands will set the variable text to olaf is home? (Select TWO answers) Which statement about users and user groups is correct? Which of the following statements is true for a Linux distribution used in an enterprise environment? Which of the following applications are popular Open Source relational database systems? (Select TWO correct answers) Which of the following commands will output all of the lines with the name Fred in upper or lower case but not the word red from the file data_file? (Select TWO correct answers) Which of the following commands increases the number of elements in a directory? (Choose TWO answers) What is the output of the following command sequence? for token in a b c; do echo -n "$token "; done What does the exit status 0 indicate about a process? Which of the following services are used for network file systems? (Select TWO correct choices) In which directory are system log files kept? Which of the following is a valid option for a typical command to get its built-in usage information? Which of the following filesystems is most commonly used for Linux distributions? Given a file called birthdays containing lines like: YYYY-MM-DD Name 1983-06-02 Tim 1995-12-17 Sue Which command would you use to output the lines belonging to all people listed whose birthday is in May or June? Which of the following properties of a user account determines whether the user is given administrator privileges? In order to rename the directory ~/bilder/letzter-urlaub to ~/bilder/sommer-2011, which command line could be used? Given a directory with the following information: drwxrwxrwxt 12 tu tg 36864 2012-03-15 /home/directory/ Which of the following statements are true? (Choose TWO answers) Which of the following programs is used to search for files in a file system? Which command is used to make a shell variable known to subsequently executed programs? Which of the following programs is not a graphical web browser? What is the correct command to extract the contents of the archive file download.bz2? Which command shows, amongst other information, the IP address of the current DNS server for a Linux system? Which command lists all files in the current directory that start with a capital letter? Which of the following is an example of globbing? You have a program called /usr/bin/foo. You wish to create a symbolic link, /home/user/foo, that points to it. Which command will do this task? Which of the following commands can be used to change both the owner AND group settings of a file? What is the command that will show system boot time messages? Which one of the following is true about Open Source software? Which command will delete the directory foo with all its content? When a new user is added, where does his user ID gets stored? Which of the following will change the group that is associated with a file? How can the normal output of a command be written to a file while discarding the error output? Which command displays the list of groups to which a user belongs? Which command line can be used to search help files that mention the word "copy"? While deleting all files beginning with the letter a there was still the file Access.txt left. Assuming that it had the correct ownership, why was it not deleted? When creating a new file, what can be done to make the file hidden from the default output of the ls command? Where can a boot loader be installed? Which of the following software packages is a mail server? A Linux computer has no access to the internet. Which command displays information about the network gateway for the system? Which command chain will count the number of regular files with the name of foo.txt within /home? How can the current directory and its subdirectories be searched for the file named MyFile.xml? When using a web browser, what should a user do to prevent private data from being stored locally? Which of the following Ubuntu releases is considered most stable and fit to use for business purposes?