Basic Shell Commands Flashcards
(Windows) dir
List contents of current directory
(UNIX) ls
List contents of current directory
(Windows) cd
Display current directory
(UNIX) pwd
Display current directory
(Windows) / (UNIX) cd path
change current directory
(Windows)
copy
path1
path2
copy file path1 to name/location path2
(UNIX)
cp
path1
path2
copy file path1 to name/location path2
(Windows)
move path path
move file path1 to name/location path2
(UNIX)
mv path path
move file path1 to name/location path2
(Windows)
del path
delete file path
(UNIX)
rm path
delete file path
(Windows) rm dir path
delete folder/directory path
(UNIX) rm dir path
delete folder/directory path
(Windows) mkdir path
create folder/directory path
(UNIX) mkdir path
create folder/directory path