Question: Task A: Practice with the Basic Linux Commands You can take one screenshot to cover the answer for multiple tasks. 1 . ( 1 0

Task A: Practice with the Basic Linux Commands
You can take one screenshot to cover the answer for multiple tasks.
1.(10 pt) How do you find the IP address of your Linux machine using the command line?
2.(10 pt) Display your current directory in a terminal.
3.(10 pt) Use the echo command to print your name to the console.
4.(10 pt) Display your first and last names in two separate lines using a single echo command (tip:
how to enable the interpretation of escape characters?)
5.(10 pt) How to change to home directory using cd and absolute pathname.
6.(10 pt) Create a new file named forXXXX.txt in your home directory (replace XXXX with your
own MIDAS). Then, use the long listing format to display the contents in your home directory.
What is the size of the file you just created?
7.(20 pt) Create a new directory named XXXX in your home directory (replace XXXX with your
own MIDAS). Then, use the long listing format to display the contents in your home directory.
What is the size of the file you just created?
8.(20 pt) Copy /etc/passwd file to your home directory. The copy should be named
aspasswd_XXXX(replace XXXX with your own MIDAS) in your home directory. Then, complete the following two subtasks:
Use the proper command to display the first six lines in thi

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!