Question: QUESTION 1 You are logged in as user1. Write the command to create a directory named fruit in your home directory using the absolute path.

QUESTION 1

You are logged in as user1. Write the command to create a directory named fruit in your home directory using the absolute path.

2 points

QUESTION 2

You are logged in as user1 and your current working directory is /home. Write the command to create a directory named apples in your fruit directory using a relative path.

2 points

QUESTION 3

You are logged in as user1 and your current working directory is fruit, in which you created a directory named grapes. However, you have not used the grapes directory, so want to get rid of it. Write the command you would type to remove the empty directory using a relative path.

2 points

QUESTION 4

You are logged in as user1 and your current working directory is user1. Write the command to create an empty file named macintosh in your apples directory using the absolute path. Do not use the vi editor (or any editor).

2 points

QUESTION 5

You are logged in as User1 and your current working directory is user1. Write the command to add content to the macintosh file using a relative path. Do not use the vi editor (or any editor). Do not include the content in your answer.

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!