- Write the command (or commands) that will display the following message 'Hello from the command line.'
echo Hello from the command line
- Write the command (or commands) that will create a file named 'hello-world.txt'.
touch hello-world.txt
- Write the command (or commands) that will create a folder named 'my-new-folder' in current directory.
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'.
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.
cd ~/Desktop/ cd ~