Question

If your current working directory is /home/alice/Documents/Financial, and you want to change it to /home/alice, you...

If your current working directory is /home/alice/Documents/Financial, and you want to change it to /home/alice, you can use this command:

a.

cd ..

b.

cd ../alice

c.

cd /alice

d.

cd ../../

Homework Answers

Answer #1

Solution:

(D) cd ../ ../

Reason:

.. represents parent directory, so writing ../.. moves the current working directory two times up the hierarchy which would be /home/alice

Other option is not true, reason for other options:

a. cd .. will change the current directory to /home/alice/Documents

b. cd ../alice will make the current directory as /home/alice/Documents/alice which might be an invalid path

c. cd /alice will change the current directory to /home/alice/Documents/Financial/alice which might be an invalid path

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
PART 4: Learn about commands to navigate the directory tree structure: use the ls –ali /  ...
PART 4: Learn about commands to navigate the directory tree structure: use the ls –ali /   command to review the contents of the / directory Review the Linux Filesystem Standard (FSSTD) and document the following directories’ contents / ------- |--bin |--boot               |--dev               |--etc |--home               |--lib               |--mnt               |--opt               |--root               |--sbin               |--tmp               |--usr               |--var 3. use the cd etc  OR cd /etc  to change your default directory to the etc directory 4. use the...
PLEASE DO QUICK LINUX ASSIGNMENT PLEASE ILL THUMBS UP You need to paste the command and...
PLEASE DO QUICK LINUX ASSIGNMENT PLEASE ILL THUMBS UP You need to paste the command and the output in a word document and submit it. Part1: 1. Log in to Linux using your user account name and password. 2. If you logged in using a graphical login screen, open a terminal window by clicking on the icon in the lower left corner of the desktop to open the main menu, then selecting System Tools, then Terminal. A terminal window opens....
What's appropriate setting for your home directory if you want to share some subdirectories, but don't...
What's appropriate setting for your home directory if you want to share some subdirectories, but don't want the anyone else to browse, add or remove entries in your home directory. 1. 700 2. 744 3. 755 4. 711
What command would you use to view the files and folders in the C:\windows directory? Use...
What command would you use to view the files and folders in the C:\windows directory? Use relative references. What command would you use to view only the directories in the C:\windows directory? Use relative references. Hint: Use a switch. What command would you use to view only the .com files in the C:\windows\system32 directory? Use relative references. What command would you use to create a directory called JUNK at the root. Use relative references. What command would you use to...
1. By convention, how are configuration files separated from regular files? (NOTE: A practical effect of...
1. By convention, how are configuration files separated from regular files? (NOTE: A practical effect of the separation is that they are not displayed by the default version of the ls command)                         a. the prefix "rc" (rc.filename)               c. the extension .cfig                         b. a dot (.) at the beginning                    d. by having the SUID bit set 2. The IP address which is reserved for local loopback (equivalent to "localhost") is:                         a. 255.255.255.0                                   c. 192.168.70.1...
Write UNIX commands to perform the following tasks. Each task must use exactly one line of...
Write UNIX commands to perform the following tasks. Each task must use exactly one line of command. Unless stated otherwise, all files are assumed to be at your current working directory. a) (10 points) Print your current working directory into a file named file1 b) (10 points) Assume that your current working directory is NOT the same as your home directory. Print all file and subdirectory names of your home directory into a file named file2. c) (15 points) Copy...
At the command prompt, change to your home folder. Enter the following command and press enter....
At the command prompt, change to your home folder. Enter the following command and press enter. tree This command displays a graphical "tree view" of the folders in your home folder. Copy and paste the entire output of your tree command into the space provided below. Be sure you have executed the command from your home folder.
List a sequence of Linux commands you would execute after you successfully log on to your...
List a sequence of Linux commands you would execute after you successfully log on to your VM machine, make a directory called midterm in your home directory, create a simple C program called display.c in the newly created directory, compile the code using gcc compiler, and run the program, and finally, save the output to a text file called display.txt. Remember to briefly explain each command.
Design your home network. Experiment. Go beyond your home network. Design the network you want. Pick...
Design your home network. Experiment. Go beyond your home network. Design the network you want. Pick a networking problem from the internet and design the networking solution. Use lucidchart or vision. Screenshot the design
home / study / business / finance / finance questions and answers / you and your...
home / study / business / finance / finance questions and answers / you and your friends are thinking about starting a motorcycle company named apple valley choppers. ... Question: You and your friends are thinking about starting a motorcycle company named Apple Valley Choppers... You and your friends are thinking about starting a motorcycle company named Apple Valley Choppers. Your initial investment would be $500,000 for depreciable equipment, which should last 5 years, and your tax rate would be...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT