We usually get into trouble with commands when we switch from window to UNIX operating system or vice-versa.
For example we know well the unix command 'ls' is used to list content of a directory but we may not know that what command to be use to list content in Window command prompt.
There are commands that do the same things in Windows DOS and from the command prompt as in UNIX, they are just different syntax.
Below is a simple table showing some common UNIX commands and their Windows counterparts.
For example we know well the unix command 'ls' is used to list content of a directory but we may not know that what command to be use to list content in Window command prompt.
There are commands that do the same things in Windows DOS and from the command prompt as in UNIX, they are just different syntax.
Below is a simple table showing some common UNIX commands and their Windows counterparts.
| UNIX | WINDOWS |
|---|---|
| cat | type, copy |
| cd | cd (if changing drives, type the drive letter first then colon)e.g. C:>D: |
| cp | copy, xcopy |
| cron | at, Task Scheduler |
| man | help |
| grep | find, findstr |
| mv | rename - to rename, move - actually move a file |
| ls | dir |
| pwd | cd |
| ps | Task Manager, tasklist |
| rm | del |
| traceroute | tracert |
| who | net session |
| ftp | ftp |
| mkdir | mkdir |
| more | more |
| netstat | netstat |
| nslookup | nslookup |
| ping | ping |
| rmdir | rmdir |
| telnet | telnet |
No comments:
Post a Comment