Professional Documents
Culture Documents
LPIC-1: Linux Professional Institute Certification Study Guide 5th Edition (Exams 101 and 102)
LPIC-1: Linux Professional Institute Certification Study Guide 5th Edition (Exams 101 and 102)
LPIC-1: Linux Professional Institute Certification Study Guide 5th Edition (Exams 101 and 102), Ancillary Materials by
Richard Blum and Christine Bresnahan. Copyright 2019 SYBEX Inc. All Rights Reserved. http://www.sybex.com
password when prompted and press Enter.
4. Display information about the sudo package by typing:
sudo dpkg -p sudo and press Enter. You will need to enter your password
when prompted, and press Enter.
5. View all of the files associated with the sudo package by typing:
sudo dpkg -L sudo and press Enter. You will need to enter your password
when prompted and press Enter.
6. Install the tint game package using apt-get by typing:
sudo apt-get install tint and press Enter. You may need to enter your
password when prompted and press Enter.
7. Display status information about the tint game package by typing:
sudo dpkg -s tint and press Enter. You may need to enter your password
when prompted and press Enter.
8. Start the tint game by typing
tint and press Enter.
9. Remove the tint game from your system by typing:
sudo apt-get remove tint and press Enter. You may need to enter your
password when prompted and press Enter. Type Y and press Enter when
prompt, about continuing the removal process.
Ancillary Exercise 2.c: Use RPM and Yum package management (Objective
102.5)
LPIC-1: Linux Professional Institute Certification Study Guide 5th Edition (Exams 101 and 102), Ancillary Materials by
Richard Blum and Christine Bresnahan. Copyright 2019 SYBEX Inc. All Rights Reserved. http://www.sybex.com
Ancillary Exercise 2.d: Create, monitor, and kill processes (Objective 103.5)
LPIC-1: Linux Professional Institute Certification Study Guide 5th Edition (Exams 101 and 102), Ancillary Materials by
Richard Blum and Christine Bresnahan. Copyright 2019 SYBEX Inc. All Rights Reserved. http://www.sybex.com
and write them down.
5. Attempt to change the job priority to a higher priority of 18 by typing:
renice -18 PID and press Enter, where PID is the process ID number you
noted in step 4. You will receive a permissions denied error message
indicating that you don’t have permissions to change the priority of this job
6. Attempt to change the job priority to a priority of 18, but as the root user
account by typing:
sudo renice 18 PID and press Enter, where PID is the process ID number
you noted in step 4. You will need to enter the password of the root user
account when prompted.
7. View the new nice number of the running sleep command by typing:
ps -al | grep sleep and press Enter. You will see the sleep command
now has a nice value of 18.
8. Change the job priority to a lower priority of 19 as your ordinary user account
by typing:
renice 19 PID and press Enter, where PID is the process ID number you
noted in step 4. The system allows you to lower the priority of the job as an
ordinary user account.
9. View the new nice number of the running sleep command by typing:
ps -al | grep sleep and press Enter. You will now see the nice number of the
sleep command as 19.
10. Kill the running sleep command by typing:
kill -9 PID and press Enter (where PID is the process ID of the sleep
command you noted in step 4.
11. Make sure the sleep command is not running by typing:
ps -ax | grep sleep and press Enter.
LPIC-1: Linux Professional Institute Certification Study Guide 5th Edition (Exams 101 and 102), Ancillary Materials by
Richard Blum and Christine Bresnahan. Copyright 2019 SYBEX Inc. All Rights Reserved. http://www.sybex.com