Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions