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

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?

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

David says “Aha! I found you, Index.js files. You shouldn’t be in this folder, but in this one.” David then uses this command.

What is "mv"?

200

The following command line "cp d*.html ../" does this.

What is copying each of the .html files in the working directory that begin with the letter "d" into the working directory's parent folder?

200

This command displays the current working directory.

What is "pwd"?

200
'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).

200

This shell command is used to assign commonly used comments to shortcuts.

What is Alias?

200

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

What is touch?

300

The command line "mv file1.txt Child/file2.txt" does this.

What moves the file1.txt into the child directory and also changing the file name to file2.txt?

300

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

What is "cd~"?

300

The following command line:

“sed ‘s/h1/h2/g’ index.html”

does this...

What is using the sed ("stream editor") command to substitute any character combination with the letters "h1" in the index.html file with "h2"?

300

This shortcut key saves a file and is Not case sensitive.

What is Ctrl + o?

300

A file not within a sub folder is said to be in this.

What is the root directory?

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

A directory is referred to 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

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

What is nano?

400

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

What is its path?

500

This command will a detailed list of directories and files...

ls -l

500

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

cp

500

The following code

“echo Hello  > hello.txt | echo World > world.txt | cat world.txt >> hello.txt | cat < hello.txt”

will output this...

What is "Hello World" (on two lines).

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