- Write the command (or commands) that will display the following message 'Hello from the command line.' Ans: echo 'Hello from the command line'
- Write the command (or commands) that will create a file named 'hello-world.txt'. Ans:touch hello-world.txt
- Write the command (or commands) that will create a folder named 'my-new-folder' in current directory. Ans: mkdir my-new-folder
- Write the command (or commands) that will attempt to delete a folder named 'my-nonexistent-folder' and display the following message when the commands fails: 'Whoops, cannot delete a folder that does not exist'. Ans: rmdir my-nonexistent-folder || echo 'Whoops, cannot delete a folder that does not exist'
- Write the command (or commands) that will navigate to your desktop, and then to the parent folder of the desktop. Ans: cd ..
-
Notifications
You must be signed in to change notification settings - Fork 0
archu0406/Exercise-5
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published