give notes to what each look like and description in text form Lab#1 –Learning S
ID: 3742232 • Letter: G
Question
give notes to what each look like and description in text form
Lab#1 –Learning Some Basics applied Skills
We have completed our initial install of Ubuntu and begun to feel our way around our new system. The following assignment will help you familiarize yourself with your new environment. Please use your
system to test answer the following questions. After you have logged in and opened a term window...
SECTION I:
Simple Navigation of the file system
1.
Use df command to check the allocation of disk space on your system.
How many GB are free?
2.
CD in the etc directory. Run a listing of the files and folders in this directory. What is the first one in the list?
3.
Change directories into the directory that contains the drives that are connected to the workstation. What is that directory name?
4.
Use the touch command to create a new file in the home directory that is called test.txt
5.
Use a text editor to edit the test.txt file that you created and add the line “Property of [Your Name]”
6.
Make a backup of test.txt and call it test.txt.bak
7.
Create another Directory in the home directory named Grades. Copy the test.txt file into the HomeGrades folder.
8.
Run a history on your machine.
NOTES:
Explanation / Answer
1) df command is used to display the amount of disk space available in the file system. –h will give the space in GB and percentage df –h 2) CD command is used to change directory to some other location. Here it is changed to etc directory. Later ls is used to list all the files in etc directory. cd /etc ls –l 3) Touch command is used to create a new file in home directory. touch /home test.txt 4) Vi editor is used to put contents in the test.txt file. vi /home test.txt 5) Cp command is used to create a copy of the test.txt file as a backup. cp test{,.bak} 6) Mkdir command is used to create a directory Grades in home directory. mkdir /home/Grades
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.