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?
This shorthand character represents a user's home directory.
What is ~ (tilde)?
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?
This is made up of the settings and preferences, which we configure to support the commands and programs we create.
What is environment?
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"?
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?
This command displays the current working directory.
What is "pwd"?
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).
This shell command is used to assign commonly used comments to shortcuts.
What is Alias?
You create a new file such as index.js using this command...
What is touch?
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?
This command line always navigates the command-line interface back to the home directory.
What is "cd~"?
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"?
This shortcut key saves a file and is Not case sensitive.
What is Ctrl + o?
A file not within a sub folder is said to be in this.
What is the root directory?
~/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?
A directory is referred to by this character.
What is / (forward slash)?
This animal of a command pulls all the information from a file onto the terminal...
cat
This is a command line text editor like TextEdit or Notepad, except it’s only accessible from the command line.
What is nano?
The exact location of a file is called this...
What is its path?
This command will a detailed list of directories and files...
ls -l
To copy a file to another directory, I would use this command...
cp
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).
This command makes a given variable available to all child sessions from the current session...
export
These three loops can be performed in bash scripting...
What are for, while, and until