The command to view all files and directories.
What is ls?
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?
This command will create a new folder
what is mkdir
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 command displays the current working directory.
What is "pwd"?
This command is used to change the location where a file is stored.
What is "mv"?
This shell command is used to assign other commonly used commands to shortcut nicknames.
What is alias?
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?
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
This command always navigates the command-line interface back to the home directory.
What is "cd ~" or "cd"?
You create a new file such as index.js using this command...
What is touch?
This is a 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 (absolute) path?
~/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?
In your file system, the name of a directory is differentiated from that of a file by this character.
What is / (forward slash)?
This animal of a command pulls all the information from a file onto the terminal...
cat
Single file in which a command, series of commands, or set of instructions to be processed in sequence is listed.
What is batch file?
This allows Windows users to run a virtual Linux machine
what is WSL
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 ../
To copy a file to another directory, I would use this command...
cp
'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).
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