IS FOX Hero Header

 

Windows vs. Linux bash commands

Some helpful commands for your Admin LAB
 

Please remember: Linux is case sensitive, DOS/Windows is not.

 

CommandWindowsLinuxExample
List filesdirIs 
List directory recursivlytreeIs-R 
Clears screenclsclear 
Closes shell promptexitexit 
Finds a string of text in a filefindgrepgrep [word] thisfile.txt
Dump contents of a file to users screenTypecatcat[file]
Displays command helpcommand /?man or infoman command
Creates a directorymkdirmkdirmkdir directory
Displays your location in the file systemchdirpwd 
Changes directories with a absolute pathcd pathnamecd pathnamecd/directory/directory
Directory path delimiter\/ 
Current directory.\./ 
Parent directory..\../ 
Changes directories with a relative pathcd..cd..