What command is used to view the contents of a directory?
ls
What command is used to remove a file?
rm [filename]
How do you view the permissions of a file?
ls -l
What command do you use to print the current working directory?
pwd
How do you move or rename a file?
mv [source] [destination]
What command is used to change the permissions of a file?
chmod [permissions] [filename]
How do you display the contents of a file in the terminal?
cat [filename]
What command copies a file from one location to another?
cp [source] [destination]
How do you give execute permission to a file?
chmod x [filename]
Which command is used to create a new directory?
mkdir [directory_name]
How do you list all files, including hidden ones, in a directory
ls -a
How do you change the ownership of a file?
chown [owner] [filename]
How do you view the manual page for a specific command?
man [command]
What command is used to delete a directory and its contents?
rm -r [directory_name]
Which chmod numeric values give you all of the permissions as the owner of that file?
chmod 700