Professional Documents
Culture Documents
M01.03.V2 - Instructions - Your First Commands
M01.03.V2 - Instructions - Your First Commands
PART 1
INSTRUCTIONS:
Complete each task as indicated and provide the necessary screenshot when indicated.
TASK
Task 1
Read the handout in Virtual Lab folder in Canvas for this class to access your Linux virtual
machine. Task 2
Access your stu101-CentOS8 virtual machine. Log in to the Sysadmin account with the password
netlab123.
INFO 1111: Linux I
INFO-1111: LINUX I 2
Task 3
Click on the Applications menu in the upper left corner and select the terminal
program.
Task 4
When the terminal program opens, you should see a command prompt:
INFO 1111: Linux I
INFO-1111: LINUX I 3 Task 5
We will first run a custom program that was written specifically for this course. The program will change your
command prompt to display your name, the date and time. This is NOT a regular Linux command. Its purpose
is to make your command prompt unique from all other students. Later in this course you will learn how to
further customize your command prompt.
nprompt
Task 6
You will then be prompted to enter your MCC username and press enter. This the first part of your MCC email
and usually consists of your first and middle initials and your last name. Some usernames contain numbers at
the end.
NOTE: Do NOT type the username shown in the image above. Use your own username.
Task 7
A message will display informing you that you will be prompted for a password. Press enter to continue. INFO
1111: Linux I
INFO-1111: LINUX I 4
Task 8
It will look like it is not typing and the cursor will not move, but the password is being captured. Once
the password is typed, press enter to continue.
You will then be instructed to close the terminal and re-open a new terminal to see the new
personalized command prompt.
Task 10
When you open a new terminal you will see the new command prompt with your name, date and
time.
Task 11
Take a screenshot showing your new customized command prompt with your MCC username, date and
time. Submit a screenshot of your successfully completing this task on the answer sheet as Screenshot 1.
INFO 1111: Linux I
INFO-1111: LINUX I 6 Task 12
List all your files and folders in your current directory by typing the “ls” (lower case LS) command.
Submit a
screenshot of your successfully completing this task on the answer sheet as Screenshot 2.
Task 13
Display a calendar of the current month by typing the cal command. Submit a screenshot of your
successfully completing this task on the answer sheet as Screenshot 3.
Task 14
Display your username (who you are logged in as) by typing the whoami command. Submit a screenshot
of your successfully completing this task on the answer sheet as Screenshot 4.
Task 15
Display a list of all the commands you recently used, by typing the history command. Notice all the
commands you typed previously. Submit a screenshot of your successfully completing this task on the answer
sheet as Screenshot 5.
Task 16
Display the time and date, by typing the date command. Submit a screenshot of your successfully
completing this task on the answer sheet as Screenshot 6.
PART 2
INSTRUCTIONS
Answer the following questions about this lab.
Task 19
Did this lab meet its objective of learning how to access the command line and run basic commands? Explain
why or why not.
It did meet the objective of teaching basic commands and how to log in and access the terminal and Virtual
Machine.
Task 20
It got the point across quickly and didn't try to have you do 1 command 50 times like in some other classes.
Task 21
Did you experience any challenges during this lab? If so, what were the challenges and how did you
overcome them? Explain why or why not.
The only challenge on this lab was typing exit because i made like 6 typos.
WHEN COMPLETED
1) Save this document with your answers.
2) Submit this completed document in the assignment Dropbox.
INFO 1111: Linux I