Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

2. If I typed \"cd ~/De\" at the command line in terminal (running under a defau

ID: 639911 • Letter: 2

Question


2. If I typed "cd ~/De" at the command line in terminal (running under a default installation), then hit the tab key, then hit the [return] key, what would happen?

3. What command would I use to remove the empty directory "~/temp/small/fish/one/two"? Note I do NOT want to remove ~/temp or ~/temp/small, etc. , just the child directory 'fish'.

5. I'm in the directory '~/Desktop/wizard/one'. At the command prompt I type 'cd ../..'
In what directory would I be now? Give me the ENTIRE path.

6. I'm in ~. Give me the command that would change directory using the ABSOLUTE path to the : ~/Docs/three/two/one.

7. What command would I use to remove the directory structure "~/temp/small/fish/one/two"? I want to remove the top most directory and all subdirectories.

Explanation / Answer

2

If I typed "cd ~/De" at the command line in terminal running under a default installation, then hit the tab key, what would happen? (3 points)

Tab is used for auto completion. So if there is a path or there is something like Denmark. So cd ~/De will change into cd ~/Denmark autmoatically

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote