Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

TestOut Linux Pro Exam 2024-2025 Questions and Correct Verified Answers. Already Graded A+, Exams of Linux skills

TestOut Linux Pro Exam 2024-2025 Questions and Correct Verified Answers. Already Graded A+

Typology: Exams

2023/2024

Available from 06/12/2024

wilfred-mburu
wilfred-mburu 🇬🇧

358 documents

1 / 30

Toggle sidebar

Partial preview of the text

Download TestOut Linux Pro Exam 2024-2025 Questions and Correct Verified Answers. Already Graded A+ and more Exams Linux skills in PDF only on Docsity! TestOut Linux Pro Exam 2024-2025 Questions and Correct Verified Answers. Already Graded A+ 0.1.3 In this lab, you will use several commands from the Terminal to manage files. You are currently in the wadams home directory (/home/wadams). In this lab, your task is to: - Use the rm command to delete the old_myfile.txt file found in your home directory. - Use the touch command to create the new_myfile.txt file in your home directory. - Use nano or vi to add some text of your choosing to the new_myfile.txt file you just created. - Use the cat command to view the changes you made to the file. - Use the cp command to copy the new_myfile.txt file to the /home/wadams/practice directory. - Use the mv command to rename /home/wadams/practice/new_myfile.txt to final_myfile.txt. - ANSrm old_myfile.txt touch new_myfile.txt nano new_myfile.txt (add some text) cat new_myfile.txt cp new_myfile.txt /home/wadams/practice mv new_myfile.txt final_myfile.txt 10.1.10 As a systems administrator, you will frequently need to identify the process ID (PID) of a running process. The pidof tool is specifically designed for this task. You are currently logged in as the root user. Complete this lab from the Terminal. In this lab, your task is to complete the following: Method 1: Find the PID for the rpc.mountd process as follows: - Use the ps aux command and redirect its output to the processes.txt file. - Use the grep command to search the processes.txt file to find the process ID of rpc.mountd. Method 2: Use the pidof command to find the process ID of rpc.mountd. - ANSps aux > processes.txt grep rpc.mountd processes.txt pidof rpc.mountd 10.1.9 You are troubleshooting your Linux system and need to know some information about some of the currently running processes. Complete this lab from the Terminal. In this lab, your task is to: - Use the ps command, with the applicable options, to find information about the currently running processes. - Answer the questions. - ANSps aux | less 10.2.10 As a part of your daily maintenance, you scan for and kill any zombie processes on the system. Complete this lab from the Terminal. In this lab, your task is to: - Use the ps command to find zombie processes. - Use the kill command to terminate all zombie processes. - ANSps aux | less q kill -9 1301 kill -9 1570 kill -9 1980 10.2.11 Explore putting a process in the background and then bringing it back to the foreground. Complete this lab as follows: - From the Favorites bar, select Terminal. - At the prompt, type ping localhost & and press Enter to launch ping in the background. Ping continues to run in the background and its output is shown on the screen. You can still interact with the console and run other commands in the foreground. - Press CTRL + C. This would normally stop the ping. However, the command is not recognized because ping is in the background. - Type cd /etc and press Enter. Notice that the path is changed. Type ls and press Enter. Notice that the output of ls is interspersed with the output of ping running in the background. - Type fg and press Enter to bring the ping command back to the foreground. Ping is now running in the foreground and the console will not allow other commands to be run. - Try to type ls. Notice t - ANSping localhost Ctrl+C cd /etc ls fg ls Ctrl+C 10.2.11 Explore putting a process in the background and then bringing it back to the foreground. - ANSping localhost & CTRL + C - Default gateway: 192.168.0.5 Ctrl + X nano /etc/resolv.conf nameserver 163.128.78.93 nameserver 163.128.80.93 Ctrl + X ip link set enp2s0 down ip link set enp2s0 up ping -c4 192.168.0.5 ping -c4 163.128.80.93 ping -c4 www.corpnet.xyz 12.2.8 In this lab, you will discover important facts about network communications by using the ping and traceroute commands. IT-Laptop has a configured IP address, but no default gateway address. Use the Exhibits link at the top right to view the location and IP information of the routers in your network. The following local network IP addresses are used in this lab: - ANSIT Laptop ---------- ping -c4 192.168.0.30 ping -c4 199.92.0.32 ping -c4 192.168.0.5 ping -c4 163.128.78.93 cd /etc/sysconfig/network-scripts ls cat ifcfg-enp2s0 Office 2 ----------- traceroute 198.28.56.1 traceroute 163.128.78.93 12.2.9 You share a number of files from your computer, and you have received a number of calls from users who say they cannot connect to the files. You check your computer and find that the Ethernet cable is unplugged. You have plugged the Ethernet cable in, so you need to start the network interface card. Complete this lab from the Terminal. In this lab, your task is to: - Determine which network interface went down when it was unplugged. - Start the network interface from the command line. - ANSip addr ip link set enp2s1 up ip addr show enp2s1 12.6.5 You need to ensure that email is routed from the internet to your mail server. You want to know the mail server address for corpnet.xyz. Complete this lab from the Terminal. In this lab, your task is to: - Query the default DNS server for the primary IP address of the corpnet.xyz domain. - Query the default DNS server for the corpnet.xyz mail server and determine its IP address. - Confirm the corpnet.xyz mail server information by querying the external DNS server (ns1.nethost.net). - ANSnslookup corpnet.xyz nslookup -type=mx corpnet.xyz nslookup corpnet-www3.corpnet.xyz nslookup -type=mx corpnet.xyz ns1.nethost.net 12.7.5 You are the IT administrator for a small corporate network. You have set up an internal web server to do some testing. You would like to obscure the server some by changing the default ports. Complete this lab from the Terminal. In this lab, your task is to: - Use ss -lt and netstat -a to determine which ports the web server is running on. - Modify the ports.conf file to change port 80 to 81 and port 8080 to 8081. - Restart the web server to implement the port change. - Use netstat -a and ss -lt to verify that the server is listening on the new ports. - ANSss -lt netstat -a nano /etc/apache2/ports.conf (80 - 81, 8080 - 8081) Ctrl + X systemctl restart apache2 ss -lt netstat -a 12.7.6 As the IT administrator for a small corporate network, you periodically check the firewall configuration on the Linux server to make sure everything is secure. Complete this lab from the Terminal. In this lab, your task is to: - Use the applicable command needed to list the rules in all chains for your firewall. - Answer the question. - ANSiptables -L 12.8.5 Your Linux system named Support has been running slow when trying to access a remote computer on the internet. To help troubleshoot the issue, you want to know what route your computer is using to access the remote computer. Complete this lab from the Terminal. In this lab, your task is to: - Use the exhibits to locate the IP address of the external DNS server. - Answer Question 1. - Use the command necessary to find the route used to access the external DNS server.Answer Questions 2 through 5. - Use the command necessary to find the route used to access the remote computer using the 10.10.20.10 IP address. - Answer Questions 6 and 7. - ANS--Exhibits-- traceroute 163.128.78.93 traceroute 10.10.20.10 12.8.6 You are a network technician for a small corporate network, which is connected to the internet. Several issues have recently come up. - The employee in the Support Office reports that their workstation cannot communicate with any other computers on the network and cannot connect to the internet. - The employee in Office 2 reports that their workstation can communicate with some computers on the network, but cannot access the internet. - In addition to these two issues, you have just set up your workstation in the IT Administration office, and the workstation does not connect to any computers on the network. You need to diagnose and fix these problems. In this lab, your task is to: - Use troubleshooting tools such as ping, ip addr show, and route to diagnose the problems in the network. - Fix the problem at each workstation. - Use the troubleshooting tools to confirm each problem's resolution. The following ta - ANSSupport Terminal ----- ping -c4 192.168.0.5 ping -c4 192.168.0.30 ip addr nano /etc/sysconfig/network-scripts/ifcfg-enp2s0 IPADDR: 192.168.0.32 BROADCAST: 192.168.0.255 GATEWAY: 192.168.0.5 Ctrl-X ip link set enp2s0 down ip link set enp2s0 up ip addr ping -c4 192.168.0.5 ping -c4 163.128.80.93 Office 2 Terminal ----- ping -c4 192.168.0.5 ping -c4 192.168.0.30 ping -c4 163.128.80.93 2.10.4 Will Adams (wadams) owns and maintains a database file in the /home/wadams directory called contacts.db. The file holds contact information for perspective clients. Brenda Cassini (bcassini) and Vera Edwards (vedwards) want to access and add contact information to the file to share the data among the three users. You have decided to meet their request using a hard link. In this lab, your task is to create hard link files to /home/wadams/contacts.db as follows: - Create the file in the following directories: /home/bcassini /home/vedwards - Use contacts_link as the name for the new hard links. - ANSln /home/wadams/contacts.db /home/bcassini/contacts_link (^^^ ALL ONE COMMAND ^^^) ln /home/wadams/contacts.db /home/vedwards/contacts_link (^^^ ALL ONE COMMAND ^^^) 2.10.5 Your company uses a proprietary graphics program called Imitator. This program is stored in the /root directory. Maggie Brown (mbrown) needs to create and modify images using the Imitator program. In this lab, your task is to create a symbolic link file to /root/imitator as follows: - Use imitator_link as the symbolic link name. - Create the link file in /home/mbrown. - ANSln -s /root/imitator /home/mbrown/imitator_link 2.12.8 Vera Edwards (vedwards) was recently hired as a new salesperson for your company. She cannot access the files in the sales folder and has asked for your help. Although you thought you had added her to the group, you want to verify this on her system. When you arrive to help her, she tells you that she cannot find a proposal file she has written, and she would like you to help her find it. Complete this lab from the Terminal. In this lab, your task is to use grep to: - Find the current members of the /etc/group named sales. - Answer Question 1. - Find which proposal file contains the phrase The Fluid Data. - The file is either in her home directory or in one of her sub-directories. - Answer Question 2. - ANSgrep sales /etc/group grep -r "The Fluid Data" * 2.2.4 You are a student learning how to use Linux. Your teacher has given you the assignment to learn how to use a few basic commands. Complete this lab from the Terminal. In this lab, your task is to: - Learn the options available for the killall command. - Answer Question 1. - Learn the options available for the useradd command. - Answer Question 2. - Learn the options available for the usermod command. - Answer Question 3. - ANSkillall --help useradd --help usermod --help 2.3.5 You need to create a script file to change and export the SHELL environmental variable as the C shell. You have decided to use the vim editor to do this. In this lab, your task is to: - Use vim to open a new file named /etc/pref_shell. - Add the following lines to the new file: SHELL=/bin/csh export SHELL - Save and close the file. - ANSvim /etc/pref_shell i SHELL=/bin/csh export SHELL Esc : wq 2.3.6 You have just added a custom script to change and export the SHELL environmental variable as the C shell. However, you decided to change from the C shell to tcsh. In this lab, your task is to: - Use vim to open the /etc/pref_shell file. - Modify the environmental variable line SHELL=/bin/csh to read SHELL=/bin/tcsh. - Save your changes. - ANSvim /etc/pref_shell i SHELL=/bin/tcsh (add a t) Esc : wq 2.3.7 In this lab, you will explore the nano editor by configuring DNS name resolution on the IT-Laptop computer. In this lab, your task is to: - Use nano to open the /etc/resolv.conf file. - Modify the file by replacing the existing nameserver information with the following information: nameserver 163.128.78.93 nameserver 163.128.80.93 - Save the changes made to the file. - ANSnano /etc/resolv.conf nameserver 163.128.78.93 nameserver 163.128.80.93 Ctrl + O Ctrl + X 2.5.4 You have been having difficulties with some of your applications running properly on your Linux system. You suspect that some of your environment variables may not be configured correctly. Complete this lab from the Terminal. In this lab, your task is to: - View the value of the following environment variables: HOME LANG SHELL TERM - Answer the questions. - ANSecho $HOME echo $LANG echo $SHELL echo $TERM 2.8.6 You are working with the files and directories on your Linux system. Complete this lab from the Terminal. In this lab, your task is to: - Locate your current working directory. - Answer Question 1. - View the detailed information for the /hr directory. - Answer Questions 2 and 3. - See if there are any hidden files in the /hr directory. - Answer Question 4. - ANSpwd ls -l / ls -a /hr 2.8.7 You are preparing to manage a new project, which is code named White Horse. You need to prepare directories for White Horse documents. You are logged in as the wadams user. In this lab, your task is to complete the following: - From the command line, create a directory called wh in /home/wadams. - Also from the command line, create the following directories in /home/wadams/wh: - implement - plan - research - Use the ls command to verify the creation of the directories. - ANSmkdir wh cd wh - Reboot the operating system to verify the changes made to the wait time from the GRUB menu. - ANSnano /etc/default/grub GRUB_TIMEOUT=10 (first line) Ctrl + X update-grub reboot 4.2.5 The IT manager has asked you to set up dual-boot capabilities on a Linux system so that the system boots to Windows 10 by default, but can also boot to Linux if needed. There's an external hard drive connected to this system with Windows 10 installed. You need to configure GRUB2 to have your system boot to the Windows operating system by default. In this lab, your task is to: - Change the default menu option for the GRUB2 boot loader to Windows 10. - Write the new GRUB settings to the grub.cfg file. - Reboot the machine and confirm that it boots to the Windows 10 operating system by default. - ANSnano /etc/default/grub (Make GRUB_DEFAULT=Windows 10 the new third line of the file.) Ctrl+X grub2-mkconfig -o /boot/grub2/grub.cfg reboot 4.3.3 You're working on your Linux server and need to change to single user mode. You can change to single user mode with the systemctl command and rescue.target, which is a special target unit that runs a base system in single user mode and a rescue shell. In this lab, your task is to: - Use the systemctl command to make rescue.target the current target. - After changing to rescue.target, log back in as root using 1worm4b8 as the password. - ANSsystemctl isolate rescue.target 1worm4b8 4.3.4 You are the system administrator, and your Linux server is not functioning properly. To begin your troubleshooting process, you have decided to boot your server into rescue mode. In this lab, your task is to: - Set the default target to rescue.target. - Verify that the current default target is rescue.target. - ANSsystemctl set-default rescue.target systemctl get-default 4.4.4 While working on your Linux server, you want to practice starting, stopping, and restarting a service using the systemctl command. In this lab, your task is to: - Use the systemctl command to start bluetooth.service. - Use the systemctl command to stop bluetooth.service. - Use the systemctl command to restart bluetooth.service. - ANSsystemctl start bluetooth.service systemctl stop bluetooth.service systemctl restart bluetooth.service 4.4.5 While working on your Linux server, you want to enable anaconda.service and disable vmtoolsd.service using the systemctl command. In this lab, your task is to complete the following: - Use the systemctl command to enable anaconda.service. - Use the systemctl command to disable vmtoolsd.service. - After each command, verify that the service has been enabled or disabled appropriately with the systemctl command. - ANSsystemctl enable anaconda.service systemctl is-enabled anaconda.service systemctl disable vmtoolsd.service systemctl is-enabled vmtoolsd.service 4.5.5 The power has gone out in your facility. You have an Uninterruptible Power Supply (UPS) that protects your system and provides enough power to allow you to shut down safely. In this lab, your task is to immediately shut down the system using the command line. - ANSshutdown -h now 4.5.6 You have informed your users that you need to bring the Linux server down at the end of the day to perform routine maintenance. However, prior to shutting the system down, you want to give users fifteen minutes to save data and exit the system. In this lab, your task is to: - Shut down the system using a 15-minute delay before shutting down. - Use The server is shutting down in 15 minutes as a message to all logged-in users. - ANSshutdown -h +15 The server is shutting down in 15 minutes 4.5.7 You have encountered system problems that require you to reboot the Linux server. You want to inform users that the system will shut down and reboot. In this lab, your task is to send a command to reboot the system in 5 minutes. - ANSshutdown -r +5 6.1.4 The IT manager in your organization has asked you to install the fontconfig-3.10.87- 5.fc24.rpm package. Complete this lab from the terminal. In this lab, your task is to: - Switch to the root user using a password of 1worm4b8. - Install the fontconfig-3.10.87-5.fc24.rpm package.The package is located in the /home/wadams/Downloads directory. - Verify that the fontconfig package has been installed. - ANSsu - 1worm4b8 rpm -ivh /home/wadams/Downloads/fontconfig-3.10.87-5.fc24.rpm rpm -q fontconfig 6.1.5 There is a C debugger package installed on the server that your organization is no longer using. The IT manager in your organization has asked you to uninstall the ddd-C- Debug-2.8.15-3.cd15 package. Complete this lab from the Terminal. In this lab, your task is to: - Uninstall the ddd-C-Debug-2.8.15-3.cd15 package. - Verify that the ddd-C-Debug-2.8.15-3.cd15 package is uninstalled. - ANSrpm -e ddd- C-Debug-2.8.15-3.cd15 rpm -q ddd-C-Debug-2.8.15-3.cd15 6.1.6 There is a kernel tools package installed on the server. The IT manager in your organization has asked you to upgrade the package using the new package version, kernel-tools-10.21.2015-54.fc21.rpm, located in the /root directory. Complete this lab from the Terminal. In this lab, your task is to upgrade the kernel tools package using the new package version, kernel-tools-10.21.2015-54.fc21.rpm. - ANSrpm -Uv kernel-tools-10.21.2015- 54.fc21.rpm 6.2.5 The IT manager in your organization has asked you to install an open-source volume control and audio effects tool named PulseAudio-Equalizer. In this lab, your task is to: - Install the pulseaudio-equalizer.noarch package. - ANSdnf install pulseaudio- equalizer.noarch 6.2.6 RunSnakeRun is a Python GUI package installed on the server. Since this utility is no longer being used, the IT manager has asked you to uninstall the package. Complete this lab from the Terminal. In this lab, your task is to: - Use the dnf command to uninstall the RunSnakeRun.noarch package. - ANSdnf remove RunSnakeRun.noarch 6.3.5 - Change your password. - The current Administrator account uses 7hevn9jan as the password. - New password: r8ting4str - ANSpasswd 7hevn9jan r8ting4str r8ting4str 7.2.9 Salman Chawla (schawla) forgot his password and needs access to the resources on his computer. You are logged on as wadams. The password for the root account is 1worm4b8. In this lab, your task is to: - Change the password for the schawla user account to G20oly04 (0 is a zero). - Make sure that the password is encrypted in the shadow file. - ANSsu -c "passwd schawla" 1worm4b8 G20oly04 G20oly04 7.3.4 All the sales people in your company currently belong to a group named sales. The VP of sales wants to have two sales groups, one for the western division and one for the eastern division. In this lab, your task is to: - Rename the existing sales group western_sales. - Create the new eastern_sales group. - Remove aespinoza as a member of the western_sales group. - Assign aespinoza as a member of the eastern_sales group. - When you're finished, view the /etc/group file or use the groups command to verify the changes. - ANSgroupmod -n western_sales sales groupadd eastern_sales usermod -G eastern_sales aespinoza groups aespinoza 7.3.5 Maggie Brown (mbrown) and Corey Flynn (cflynn) have recently been hired in the Human Resources department. You have already created their user accounts. In this lab, your task is to: - Add the hr group as a secondary group for the mbrown and cflynn user accounts. - View the /etc/group file or use the groups command to verify the changes. - ANSusermod -G hr mbrown usermod -G hr cflynn groups mbrown groups cflynn 7.3.6 The VP of sales has promoted Salman Chawla (schawla) to regional sales director. Now, Salman needs the rights and permissions assigned to the mgmt2 and hr groups. You are logged on as root. Complete this lab from the Terminal. In this lab, your task is to: - Identify all the groups that the schawla user belongs to. - Answer Questions 1 and 2. - Add mgmt2 and hr as secondary groups for the schawla user, but make sure that the user is still a member of all current groups. - View the /etc/group file to verify the changes. - ANSgroups schawla usermod -aG mgmt2,hr schawla groups schawla 7.3.7 Linda Blaine (lblaine) and Rhonda Conger (rconger) are temporary employees who were auditing your organization's financial documents. Their user accounts are members of the auditors group. They have completed their work and have moved on to new assignments. You need to remove their user accounts, home directories, and the auditors group from the system. Complete this lab from the terminal. In this lab, your task is to: - Delete the following user accounts and their corresponding home directories: lblaine rconger - Delete the auditors group. - View the /etc/group file to verify the changes. - ANSuserdel -r lblaine userdel -r rconger groupdel auditors cat /etc/group ls /home 7.3.8 Corey Flynn (cflynn) currently belongs to several groups. Due to some recent restructuring, he no longer needs to be a member of the hr group. Complete this lab from the Terminal. In this lab, your task is to: - Find the groups to which Corey currently belongs. - Answer Question 1. - Remove cflynn from the hr group while preserving all other group memberships. - View the /etc/group file or use the groups command to verify the changes. - ANSgroups cflynn usermod -G mgmt1,it cflynn groups cflynn 7.3.9 Salman Chawla (schawla) is no longer part of the sales team and is waiting to be assigned a new position. In the meantime, you do not want him to have access to sales resources. Complete this lab from the Terminal. In this lab, your task is to: - Remove the schawla user from all secondary group memberships. - View the /etc/group file to verify the changes. - ANSusermod -G "" schawla groups schawla 8.1.5 You are considering adding an additional hard disk to your system. Before doing so, you need to find out what block devices are connected to your Linux system. Complete this lab from the Terminal. In this lab, your task is to: - Use the appropriate tool to list the block devices on your system. - Answer the questions. - ANSlsblk 2 sda3 8.10.4 An assistant administrator has been modifying permissions on the /hr directory. You want to quickly change the permissions on /hr to match the permission settings documented in your company's security policy. You must modify the directory permissions to be drwxr-xr-x (the octal equivalent of 111 101 101 = 755). Complete this lab from the Terminal. In this lab, your task is to: - Determine the current permissions for the /hr directory. - Answer the question. - Modify the permissions on the /hr directory as follows: User: Read, Write, Execute Group: Read, Execute Other: Read, Execute - ANSls -la /hr chmod 755 /hr ls -l / rwxr--r--? 8.10.5 A change in company policy requires users in the hr group to make changes to the files in the /hr directory. Complete this lab from the terminal. In this lab, your task is to: - Give the Write group permission to the files in the /hr directory in addition to any existing permissions. - Use the ls command to verify the changes. - ANSchmod g+w /hr/* ls -la /hr ls -l /projects 8.2.5 You are thinking about adding another disk to your system. To help you make your decision, you want to view the current setup. Complete this lab from the Terminal. In this lab, your task is to: - View the disk information for your system. - Answer the questions. - ANSfdisk -l 8.4.4 On your Linux system, you have installed a second hard drive and created one partition on the drive. You have also installed a third hard drive and created two partitions on that drive. You now want to create a logical volume using the first partition on each new drive. Complete this lab from the Terminal. In this lab, your task is to: - Use pvcreate to initialize the partitions for use with LVM. - Use vgcreate to create a volume group named data using these two partitions. - Use lvcreate to create a 1-terabyte logical volume named art from the data volume group. - Create a directory named product where you can mount the new logical volume. - Format the new logical volume with ext4. - Mount the logical volume to the product directory. - Change to the product directory and create a file named newproduct. - Verify the creation of the file and amount of disk space available on this new volume. - ANSls /dev/sd* pvcreate /dev/sdb1 /dev/sdc1 vgcreate data /dev/sdb1 /dev/sdc1 vgs lvcreate --size 1t -n art data mkdir product mkfs.ext4 /dev/data/art mount -t ext4 /dev/data/art product cd product touch newproduct ls df -h 8.5.10 You recently upgraded your computer and added an extra 512 MB of RAM. Consequently, you want to increase your swap space by adding a new swap area. The second hard disk has an unused partition (/dev/sdb2) that you want to format for the swap area. Complete this lab from the Terminal. In this lab, your task is to: - Create a swap partition on /dev/sdb2. - Activate the swap partition. - ANSmkswap /dev/sdb2 swapon /dev/sdb2 8.5.8 You've installed a new hard drive and created a partition on the drive. You now need to format the partition before you can save data on the new hard drive. Complete this lab from the Terminal. In this lab, your task is to: - Format the /dev/sdb1 partition with the ext3 file system. - ANSmkfs -t ext3 /dev/sdb1 8.5.9 You've installed a third hard drive (sdc) and created two partitions on the drive. Now you need to format both partitions. Complete this lab from the Terminal. In this lab, your task is to: - Format the two partitions with the ext4 file system. - ANSmkfs -t ext4 /dev/sdc1 mkfs -t ext4 /dev/sdc2 8.6.3 You recently installed and formatted a new hard drive in your system. Its device file name is /dev/sdb1. Now you want to mount the volume. Complete this lab from the Terminal. In this lab, your task is to: - Create the /mnt/disk directory. - Mount /dev/sdb1 to the /mnt/disk directory with the ext3 file system. - Use the mount command to verify that the volume is mounted correctly. - ANSmkdir /mnt/disk mount -t ext3 /dev/sdb1 /mnt/disk mount 8.6.4 Listen to simulation instructions The /dev/sdb2 volume is mounted to an uncommon mount point directory, /root/newdrive. You need to remove the volume from the /root/newdrive mount point and remount it to the /mnt/drive2 directory. Complete this lab from the Terminal. In this lab, your task is to: - Unmount /dev/sdb2 from /root/newdrive. - Mount /dev/sdb2 to /mnt/drive2. - Use the mount command to verify that the volume is mounted correctly. - ANSumount /root/newdrive mount /dev/sdb2 /mnt/drive2 mount 8.7.4 You suspect that one of the storage devices on your system has failed. Your need to identify which device it is. In this lab, your task is to: - Find out if a device has failed. - Use the appropriate command to list devices and their utilization. - Answer the question. - ANSiostat 8.8.10 Listen to simulation instructions Sam Chan (schan) has reached his user quota limit, and he wants more space. Your manager has approved an increase in his quota limit. Complete this lab from the Terminal. In this lab, your task is to: - Increase the hard and soft block limits on the schan user account to 1048576 KB (1 GB). - Generate a quota report to confirm the changes. - ANSedquota -u schan 1 (soft + hard - 1048576) Ctrl + X repquota -a 8.8.11 Users have complained that the seven-day default grace period for soft limits is too short. Complete this lab from the Terminal. In this lab, your task is to: - Increase the block and file (inode) grace period for users from 7 to 30 days. - Generate a quota report to confirm the changes. - ANSedquota -u -t 1 (block + inode 7-30) Ctrl + X repquota -a 8.8.4 You are concerned that you may be getting low on disk space. You want to check and see if that assumption is correct. Complete this lab from the Terminal. In this lab, your task is to: - Use the applicable command to view the current disk space in human readable form. - To find the correct option, use man command. - Answer the questions. - ANSdf -h 8.8.5 You are logged on as Will Adams (wadams), and your working directory is /home/wadams. You need to know some information about the disk usage for Will's home directory. Complete this lab from the Terminal. In this lab, your task is to: - Use the applicable command to view the disk usage for the /home/wadams directory. - Answer the questions. - ANSdu 8.8.6
Docsity logo



Copyright © 2024 Ladybird Srl - Via Leonardo da Vinci 16, 10126, Torino, Italy - VAT 10816460017 - All rights reserved