Chapter 18: Command-Line Interface Flashcards
How do you find the contents of a folder using the command line
command prompt (dir)
How you access the command line
Start/ Run cmd or command
What is a folder within a folder called
subfolder
How would you type a command prompt with a folder named TEST in the root directory
C:\Test\
The proper way to write a command is called its?
Syntax
Modifications that use an extra letter or number are also called?
Switch or Option
Typing a command followed by /? Tells you what
The syntax and switches by a particular command
What does a command prompt (dir) show you
The contents where the prompt is focused
In the command line what is the command for page like results
dir/[space] p
What is the command to change the focus of the command prompt
cd\ fallowed by the specific directory
Command to return to the root directory
cd\
What is the command to go up a single directory level
cd..
Command to move between drives
Drive letter followed by a colon (e:)
What is the command to create a new directory
md followed by a space and directory name
md [space] New folder
What is the command to delete directories
rd followed by a space and the directory name
rd [space] New folder
What is the switch to delete all directories and subdirectories
Foward slash followed by the letter S
/s
What is the command to show file attributes
attrib followed by the file name and extension
attrib [space] ios.ipa
How do you change a hidden file attribute to viewable in the command prompt
attrib -h filename.exe
Command to delete a file in command prompt
erase or del followed by file name
Command to copy or move files within a directory to another directory
copy or move followed by the file name (and drive letter) (copy text.txt e:)
Command to copy multiple directories and its contents
xcopy followed by the destination name the s switch. ( xcopy c:\date c:\date2 /s)
Command to copy and delete files across a network
robocopy