Question: Linux / Unix: Please help as much as you can. Thanks. (1) For the following command explain the following: $ cp /tmp/abc /tmp/cbs . a.

Linux / Unix: Please help as much as you can. Thanks.

(1) For the following command explain the following:

$ cp /tmp/abc /tmp/cbs .

a. How can the command fail. List two reasons b. (unrelated to a.) What would happen if /tmp/abc is a directory?

(2)

a. How does "ls -l" and "ls -ltr" differ ?

b. Write a command to create a symlink to $HOME/homework in /tmp Explain what will happen after the operation, if the link file is removed. Explain what will happen if $HOME/homework is removed.

(3) mv $HOME/project /tmp

explain.

(a) What happens if $HOME/project is a directory?

(b) for (a) how can cmd fail? if project already exists and is not owned by you. if project exists in /tmp and is owned by you but is a regular file # student verify

(4)

For the following command explain the following

$ cp /tmp/abc /tmp/cbs .

a. How can the command fail. List two reasons b. (unrelated to a.) What would happen if /tmp/abc is a directory?

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!