Viewing and Changing the File System
Navigating the Filing System
Redirecting Input and Output
Configuring the Environment
Potpourri
100

The command to view all files and directories.

What is ls?

100

This shorthand character represents a user's home directory.

What is ~ (tilde)?

100

This allows you to bypass the GUI and use text commands to directly access the operating system.

What is the Command Line Interface or CLI?

100

This is made up of the settings and preferences, which we configure to support the commands and programs we create.

What is environment?

100

This command will create a new folder

what is mkdir

200

The "ls -alt" command does this.

What lists all contents of the working directory, including hidden files and directories, in long format ordered by the date and time they were last modified?

200

This command displays the current working directory.

What is "pwd"?

200

This command is used to change the location where a file is stored.

What is "mv"?

200

This shell command is used to assign other commonly used commands to shortcut nicknames.

What is alias?

200

A file that exists but is not within any sub folder of the file system is said to be in this, i.e. files in this location have no parent directory.

What is the root directory?

300

This command moves the file1.txt into the "Child" directory and also changes the file name to file2.txt?

mv file1.txt Child/file2.txt

300

This command always navigates the command-line interface back to the home directory.

What is "cd ~" or "cd"?

300

You create a new file such as index.js using this command...

What is touch?

300

This is a text editor like TextEdit or Notepad, except it’s only accessible from the command line.

What is nano?

300

The exact location of a file is called this...

What is its (absolute) path?

400

~/GrandparentDirectory/ParentDirectory/ChildDirectory/childFile.js

You would write this command to delete the parentDirectory and all its nested directories when you are currently in the childDirectory.

What is rm -r ../../ParentDirectory?

400

In your file system, the name of a directory is differentiated from that of a file by this character.

What is / (forward slash)?

400

This animal of a command pulls all the information from a file onto the terminal...

cat

400

Single file in which a command, series of commands, or set of instructions to be processed in sequence is listed.

What is batch file?

400

This allows Windows users to run a virtual Linux machine

what is WSL

500

This command copies each of the .html files in the working directory that begin with the letter "d" into the working directory's parent folder

cp d*.html ../

500

To copy a file to another directory, I would use this command...

cp

500

'grep' stands for this.

What is 'global regular expression print'.

(It searches files for lines that match a pattern and then returns the results. It is also case sensitive. 'grep -i' is case insensitive).

500

This command makes a given variable available to all child sessions from the current session...

export

500

These three loops can be performed in bash scripting...

What are for, while, and until

M
e
n
u