Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
14 views

Lab 01 Linux Core Commands

Uploaded by

deadku14
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views

Lab 01 Linux Core Commands

Uploaded by

deadku14
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

IT203 Lab 1: Linux Core Commands

Max points: 10

In this assignment you’ll practice the core commands in Linux. You’ll access the Ubuntu
machine to carry out your work.

Carry out the tasks listed in the table and fill in the corresponding cells with the command you
use for each task. Take screenshots of your screen at Steps 4, 9, 10, 11. You can use the
Snipping Tool to take screenshots.

Recall that you can use the touch command in Linux to create an empty file: touch data.txt
Also, you can use the cat command to view the contents of the file: cat file.txt

Step # Task Command


1 Check your present working directory pwd
2 Create a directory with your name mkdir Paul
3 Create a directory with your last name mkdir Hoeft
4 List the contents of your current folder
5 Change into the directory with your name

6 Create an empty file called test1.txt


7 Without changing your current directory,
create a file called test2.txt in the
directory with your last name
8 List the contents of current directory
9 List the contents of the directory with
your last name.
10 View the contents of the passwd file
under/etc directory.
11 View the contents of the shadow file
under/etc directory.

Provide answers to the following questions:

1. What is absolute path? What is the absolute path for the test2.txt file you created
above?
2. What is relative path? If you are in the directory with your first name, what is the
relative path to test2.txt
Reflection:
3. What was the most challenging part of this assignment for you?
4. What was the most enjoyable part of this assignment for you?
5. What did you learn through this assignment?

You might also like