Complete the code to list all files and folders in the current directory.
ls [1]The ls -a command shows all files, including hidden ones.
Complete the code to change directory to the user's home folder.
cd [1]The tilde ~ represents the current user's home directory.
Fix the error in the command to create a new directory named 'projects'.
mkdir [1]The directory name should be projects exactly as intended. Spaces are not allowed without quotes.
Fill both blanks to display the first 5 lines of a file named 'notes.txt'.
head [1] [2] notes.txt
The head -n 5 command shows the first 5 lines of the file.
Fill all three blanks to copy a file named 'report.txt' to a folder named 'backup' and rename it to 'report_old.txt'.
cp [1] [2]/[3]
The command copies report.txt into the backup folder and renames it report_old.txt.