Question

Question 1: Using relative path notation, move Resume.doc from the 1001 directory to the Work directory....

Question 1: Using relative path notation, move Resume.doc from the 1001 directory to the Work directory.

Current Working Directory E:\CA2Part1\Budget\Annual >

This is what I have on my E drive: E:\CA2Part1\classes\Fall\INFO\1001\Resume

The Work Directory: E:\CA2Part1\Work

Your Answer: ?

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Current Working Directory E:\CA2Part1\Budget\Annual >

This is what I have on my E drive: E:\CA2Part1\classes\Fall\INFO\1001\Resume

The Work Directory: E:\CA2Part1\Work

Here the approach is to enter into the the directory where resume lies, using relative path and move to target.

To enter into source directory we need go to two directories upwards, and then we need to enter into target. For this the command would be: ..\\..\\classes\Fall\\INFO\\1001\\Resume

The same way we need use for target directory also.

So the final command would look like:

move ..\\..\\classes\\Fall\\INFO\\1001\\Resume\\Resume.doc ..\\..\\Work\\

Please comment if you need any help.

Add a comment
Know the answer?
Add Answer to:
Question 1: Using relative path notation, move Resume.doc from the 1001 directory to the Work directory....
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. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Manipulate directory structures in Unix/Linux Use the OS that you set up from Question 1. Assume...

    Manipulate directory structures in Unix/Linux Use the OS that you set up from Question 1. Assume you are started at your home directory. Perform a command that displays the absolute path of your home directory (your current location). Create a new directory inside your home directory and name it “Assignment-3” Without moving into the directory you just made (staying in your home directory), create two new directories using one command inside of the Assignment-3 directory, and name them Test1 and...

  • Question 2: Manipulate directory structures in Unix/Linux (24 marks – 4 marks each) Use the OS...

    Question 2: Manipulate directory structures in Unix/Linux (24 marks – 4 marks each) Use the OS that you set up from Question 1. Assume you are started at your home directory. a) Perform a command that displays the absolute path of your home directory (your current location). b) Create a new directory inside your home directory and name it “Assignment-Two” c) Without moving into the directory you just made (staying in your home directory), create three new directories using one...

  • Question 2 0/1 point (graded) What happens when you remove a directory using the command rm...

    Question 2 0/1 point (graded) What happens when you remove a directory using the command rm -r? You cannot remove a directory using the rm command. You permanently remove the entire directory, including all files and subdirectories. You move the entire directory to a trash folder, but it can be restored later. You get a warning message asking if you want to proceed, then you delete the directory. incorrect Answer Incorrect: Try again. Unix does not warn you before permanently...

  • Problem 8 (18 points): Answer the following questions regarding managing files and directories: a) What command...

    Problem 8 (18 points): Answer the following questions regarding managing files and directories: a) What command would remove the directory /trashbin and all of the files and subdirectories inside of it? b) What command flag can you use with cp so that it doesn’t accidentally overwrite a file if it already exists? c) What command exists to delete a directory if and only if it is already empty? d) Which command can be used to rename a file or directory?...

  • Question 4 0/1 point (graded) Which of the following statements does NOT correctly describe the utility...

    Question 4 0/1 point (graded) Which of the following statements does NOT correctly describe the utility of a command in Unix? The q key exits the viewer when you use less to view a file. The command ls lists files in the current directory. The command mkdir makes a new directory and moves into it. The mv command can move a file and change the name of a file. incorrect Answer Incorrect: Try again. The mv command can move a...

  • e) In the context of Unix file system , what does "path" means? f) Write down...

    e) In the context of Unix file system , what does "path" means? f) Write down the absolute path for the main.cpp in the timeproj directory g)Write down the relative path from inside timeproj directory to the prgm1.cpp file h)Write down the Unix commands and key strokes needed to create a new sourcefile named time.cpp and then save it to disk using the pico editor. i) In Unix each file has three access modes, namely r,w, and x. 1) Write...

  • QUESTION 1 From YOUR home directory, execute a find command string that will locate the file...

    QUESTION 1 From YOUR home directory, execute a find command string that will locate the file called resolv.conf. Include the -exec flag in the find command to cat the file to the screen. Begin your find search from the letc directory Select the correct find command string below that will accomplish this. find /etc-name 'resolv.conf -cat D find /etc-name 'resolv.conf -exec cat 0 find. -name 'resolv.conf -exec cat 0\ find /-name 'resolv.conf' -exec cat 0 QUESTION 2 What find command...

  • Question 1) Copy file called sortfile from my home directory. The file contains three columns of...

    Question 1) Copy file called sortfile from my home directory. The file contains three columns of information : username, uid number and group name respectively, separated by a field separator. Will the following command sort the file on the group name field? sort -t! -k3 sortfile A) Yes B) No Question 2) Copy the file called sortfile from my home directory. The file contains three columns of information : username, uid number and group name respectively, separated by a field...

  • INTRO TO UNIX COURSE Suppose that you wished to copy all of the text files from...

    INTRO TO UNIX COURSE Suppose that you wished to copy all of the text files from your fileAsst directory and all of the files from your fileAsst/Planes directory into your current directory (without typing out the name of each individual file). What command would you give to make that copy? Direct Paths I wish to copy from:   /home/ndashiel/UnixCourse/fileAsst /home/ndashiel/UnixCourse/fileAsst/Planes Direct Path I would like to copy into: /home/ndashiel/UnixCourse/commandsAsst Please help me with this, I have been struggling on this for...

  • Question 1 (1.5 marks) Consider the subnet of the following figure. Shortest Path routing is used, and the weights on each edge is shown. Compute the shortest path from E to D using Dijkstra's al...

    Question 1 (1.5 marks) Consider the subnet of the following figure. Shortest Path routing is used, and the weights on each edge is shown. Compute the shortest path from E to D using Dijkstra's algorithm. Show your steps and describe your figures briefly. 4 Question 1 (1.5 marks) Consider the subnet of the following figure. Shortest Path routing is used, and the weights on each edge is shown. Compute the shortest path from E to D using Dijkstra's algorithm. Show...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT