Ticker

6/recent/ticker-posts

Google IT Support Professional:Operating Systems and You: Becoming a Power User (Week 1) Navigating the System.

 Don't just copy for the sake of completion. 
Make sure you understand first.

Basic Commands

Q.1Using a Linux machine, you have the following directory tree:

/
|-- home
|   |-- cindy
|       |-- Pictures
|           |--Alaska
|           |--Canada
|       |-- Movies
|-- var
If your current path is/home/cindy/Pictures/Canada, and you want to change to the Alaska directory, which of the following commands can you use? Check all that apply.

  1. cd ~/Pictures/Alaska
  2. cd ../Alaska
  3. cd /Pictures/Alaska
  4. cd /home/cindy/Pictures/Alaska

Q2.In Bash, which of the following commands can you use to view a long list of all files in the /home directory? Check all that apply.

  1. list -a /home
  2. ls -la /home
  3. ls -l -a /home
  4. ls -la ~

Q3.In Bash, which of the following commands can you use to remove a directory named: "Miscellaneous Directory?"

  1. rm Miscellaneous Directory
  2. rm -r Miscellaneous Directory
  3. rm Miscellaneous\ Directory
  4. rm -r Miscellaneous\ Directory
To remove a directory you have recursively remove the files with -r. Don't forget that folders with spaces in the name have to be escaped with an.

一一一一一一一一一一一一一一一一一一一一一一一一一一一一一一一一一一一一一一一一一一一一一一

           Machine Learning Coursera-All weeks solutions [Assignment + Quiz] click here
       &
                         Coursera Google Data Analytics Professional Quiz Answers   click here
    &
                       Coursera Google IT Support Professional   click here

Have no concerns to ask doubts in the comment section. I will give my best to answer it.
If you find this helpful kindly comment and share the post.
This is the simplest way to encourage me to keep doing such work.


Thanks & Regards,
- Wolf

Post a Comment

0 Comments