LPI 010-160 LINUX,
010-160: LPI LINUX
ESSENTIALS, LPI LINUX
ESSENTIALS (01)
Single character that will allow you to exit the less program in the terminal - Answers-q
what happens to a users files when a user account is deleted using sudo userdel? -
Answers-The files remain attached to the UID of the user account that was deleted
what is the purpose of the su command in Linux - Answers-to switch to a different user
profile
which of the following best describes what the dmesg command gives you - Answers-
shows you the message buffer of the kernel
provide the argument to ls that will recursively list a directory's contents - Answers--R or
-recursive
Which most frequently is used to connect a harddrive to a motherboard - Answers-
SATA
Used to change permissions in linux - Answers-Chmod
Which of the following switched would allow you to extract a tar.gz file - Answers--xvzf
which of the following is the proper command to archive /Documents/Sales/Docs into a
tar ball with name of archivedocs? - Answers-Tar -czvf archiveddocs.tar.gz
/documents/Sales/Docs
Which of the following best describes the purpose of the /etc/skel directory? - Answers-
Allows for a default home directory when users profile is first created
, Allows new user profiles to be easily set up with the same defaults
what are the default permissions for the /etc/skel - Answers-drwxr-xr-x
Which of the following distros would still be receiving security updates - Answers-
Ubuntu LTS(Long Term Service)
which two special characters would you use to start a BASH script - Answers-#!
Which of the following commands would allow you to run the script with its output going
into a file with the name of testoutput.txt - Answers-./testscript.sh > testoutput.txt
which of the following would be the output of the "free" command - Answers-total used
free shared buff/cache available(says free)
Type the command to bring up the manual for a command - Answers-Man
What would be a possible output of the following command echo*.?? - Answers-
Customers.gz
echo(display line of text)
*(any # of characters)
.(Single Character)
?(Single Alphanumeric)
What is the purpose of the PATH variable - Answers-It is used to create a generic script
that can be run across multiple machines regardless of the different file paths
Which distros are webservers on linux - Answers-NgineX
Apache
which of the following would be the output of the last command - Answers-wtmp begins
Mon Jul 15 10:04
Which of the following does Red Hat use for its package management - Answers-RPM
Which of the following is used for vector graphics - Answers-inkscape
Which of the following would allow you to remove the directory assuming it was empty -
Answers-rmdir Docs19
which of the following would be a proper partition name on a drive - Answers-/dev/sdc4
(has to be a single letter drive listed after sd)
which are characteristics of free software - Answers-source code must remain freely
available to users
software allows users to access and change the source code to fit their needs
010-160: LPI LINUX
ESSENTIALS, LPI LINUX
ESSENTIALS (01)
Single character that will allow you to exit the less program in the terminal - Answers-q
what happens to a users files when a user account is deleted using sudo userdel? -
Answers-The files remain attached to the UID of the user account that was deleted
what is the purpose of the su command in Linux - Answers-to switch to a different user
profile
which of the following best describes what the dmesg command gives you - Answers-
shows you the message buffer of the kernel
provide the argument to ls that will recursively list a directory's contents - Answers--R or
-recursive
Which most frequently is used to connect a harddrive to a motherboard - Answers-
SATA
Used to change permissions in linux - Answers-Chmod
Which of the following switched would allow you to extract a tar.gz file - Answers--xvzf
which of the following is the proper command to archive /Documents/Sales/Docs into a
tar ball with name of archivedocs? - Answers-Tar -czvf archiveddocs.tar.gz
/documents/Sales/Docs
Which of the following best describes the purpose of the /etc/skel directory? - Answers-
Allows for a default home directory when users profile is first created
, Allows new user profiles to be easily set up with the same defaults
what are the default permissions for the /etc/skel - Answers-drwxr-xr-x
Which of the following distros would still be receiving security updates - Answers-
Ubuntu LTS(Long Term Service)
which two special characters would you use to start a BASH script - Answers-#!
Which of the following commands would allow you to run the script with its output going
into a file with the name of testoutput.txt - Answers-./testscript.sh > testoutput.txt
which of the following would be the output of the "free" command - Answers-total used
free shared buff/cache available(says free)
Type the command to bring up the manual for a command - Answers-Man
What would be a possible output of the following command echo*.?? - Answers-
Customers.gz
echo(display line of text)
*(any # of characters)
.(Single Character)
?(Single Alphanumeric)
What is the purpose of the PATH variable - Answers-It is used to create a generic script
that can be run across multiple machines regardless of the different file paths
Which distros are webservers on linux - Answers-NgineX
Apache
which of the following would be the output of the last command - Answers-wtmp begins
Mon Jul 15 10:04
Which of the following does Red Hat use for its package management - Answers-RPM
Which of the following is used for vector graphics - Answers-inkscape
Which of the following would allow you to remove the directory assuming it was empty -
Answers-rmdir Docs19
which of the following would be a proper partition name on a drive - Answers-/dev/sdc4
(has to be a single letter drive listed after sd)
which are characteristics of free software - Answers-source code must remain freely
available to users
software allows users to access and change the source code to fit their needs