Comparison Between Common Linux and DOS Commands
Description |
Linux Command |
DOS Command |
---|---|---|
Copy a file |
cp |
copy |
List files |
ls |
dir |
Clear screen |
clear |
cls |
Move a file |
mv |
move |
Delete a file |
rm |
del |
Create a directory |
mkdir |
mkdir |
View files |
less |
more |
Rename a file |
mv |
ren |
View the current path |
pwd |
chdir |
Display the output on your screen |
echo |
echo |
Find a string in a file |
grep |
find |
Terminate a program |
exit |
exit |
Display or set date |
date |
date |
Display occupied memory |
free |
mem |