Question

Lab of operating system: please use the linux server please so all the commands used and...

Lab of operating system: please use the linux server

please so all the commands used and the output

PROBLEM 1:

Create a file and name it f1

• Cerate a directory and name it d1

• Move f1 to d1

• Create a directory and name it d2

• Move d1 to d2

• Check if d1 is inside d2

• Check if f1 is inside d1

• While your (Current Working Directory) CWD is d1, move back f1 to home directory using relative path

• While your CWD is d1, create a directory d3 in home directory using relative path

• Rename d2 to dx

• Move and rename f1 to fx from d1 to home directory

PROBLEM 2:

• Create file c1 with message “I am file c1”

• Use cp to copy c1 to c2

• Display the contents of both files and check the result

Homework Answers

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT