Chapter 15 - Working with the Command-Line Interface Flashcards
CLI stands for what?
Command-Line Interface(CLI). Very old but are kept up to date. a specific CLI is called a shell. Most OSes provide multiple shell options. All shells have a prompt to type in commands.
Linux Command is called what?
a Bash Shell. Have to use the “sudo” command to run command as an admin.
“dir’ command
shows dates and times of files and shows the folder that they are in.
What is a switch in the command prompt
The Switch is the end part added to the command line.
/? switch
this switch is very important followed by help and the command line you want to know about.
“LS” command
is the “dir(display)” command in Linux.
“man” command in Linux
is the /? switch just in Linux
“cd" command
The Change Directory(cd). Is a command in all operating systems to move the prompt to different folders/directories.
“cd ..” command
takes you into the next folder/directory upstream
“cd (name of folder)” command
To go to the next folder downstream.
“pwd” command in Linux
Just tells you want directory that your currently in.
“md” command
Make Directory(md). Allows you to make a folder in command prompt.
Windows vs. Linux command
Windows doesn’t care about Capital letters and uses (). Linux uses (/) and does care about Capital letters.
“rd” command
Remove Directory(rd). Allows you to remove/delete empty directories. You can’t delete directories using “rd” in windows. To delete directories, use the “rd /s” command.
“mkdir” command in Linux
Is the “md(make directory)” command just in Linux.
“rmdir” command in Linux
is the “rd” command just in Linux.
“del” command
Delete(del) command prompt to delete files in command prompt.
*. (file type)
Use *. followed by a file type named can be used with multiple commands to perform actions on a certain file type.
.
Use . can be used with multiple commands to perform actions on a entire folder.
copy
- Get to the directory with the files you want to copy. 2. Type copy followed by a space. 3. Type name of the file you want to copy followed by a space. 4. Type the path of where you want the file to go. 5. hit enter. copy fred.txt k:
move
same steps just moving the file not actually making a copy.
Standard vs. Admin command prompt
Commands available with standard privileges vs. admin privileges.
/FS:filesystem
Specifies the type of the file system (FAT, FAT32, exFAT, NTFS, UDF, ReFS).
/FS:NTFS
Formats a hard drive to NTFS