Command Line - samuel-richardson/Sam-Tech-Journal GitHub Wiki

Command Line interface(CLI)

*interact with the computer using text commands *need if you don't have a gui, don't have graphics, or have no other option *cmd

Useful CLI Commands

dir

View the contents of the directory you're in

cd

Used to change the directory that you're in cd. goes to current directory

cd.. goes back

cd: prints path to current directory

echo

prints what ever you give it back onto the console

>

Used to redirect output to another location such as a file

>>

Used to redirect output to another location such as file, appending to it instead of overwriting it

Copy

Creates a copy of the file copy target location

move

Moves File to new location

del

Deletes a file

md

Creates directory

rd

Deletes directory

tree

Prints out overall directory structure starting from your current location

cls

Clears the screen

Need to know more?

use /? to see options for each command