Date post: | 14-Oct-2014 |
Category: |
Documents |
Upload: | somasekhar-chowdary-kakarala |
View: | 1,561 times |
Download: | 9 times |
DOS COMMANDS VS UNIX/LINUX
Prepared by David
DOS Commands vs Unix/Linux
DOS Command UNIX or Bash Command Action
DIR ls List directory contents
DOS Commands vs Unix/Linux
DOS Command UNIX or Bash Command Action
TREE ls -R List directory recursivly
DOS Commands vs Unix/Linux
DOS Command UNIX or Bash Command Action
CD cd Change directory
DOS Commands vs Unix/Linux
DOS Command UNIX or Bash Command Action
MKDIR / MD mkdir Make a new directory
DOS Commands vs Unix/Linux
DOS Command UNIX or Bash Command Action
RMDIR / RD rmdir Remove a directory
DOS Commands vs Unix/Linux
DOS Command UNIX or Bash Command Action
CHDIR pwd Display directory location
DOS Commands vs Unix/Linux
DOS Command UNIX or Bash Command Action
DEL / ERASE rm Remove a file
DOS Commands vs Unix/Linux
DOS Command UNIX or Bash Command Action
RMDIR /S rm -R Remove all directories and files below given directory
DOS Commands vs Unix/Linux
DOS Command UNIX or Bash Command Action
COPY cp Copy a file
DOS Commands vs Unix/Linux
DOS Command UNIX or Bash Command Action
XCOPY Xcopy /e (including sub directory)
cp -R Copy all file of directory recursivly
DOS Commands vs Unix/Linux
DOS Command UNIX or Bash Command Action
RENAME mv -iv Rename/move a file
DOS Commands vs Unix/Linux
DOS Command UNIX or Bash Command Action
HELP or COMMAND /? Just type “ help” or eg dir/?
man Online manuals
Ctrl Z
To exit Ctrl Z and Press Enter
DOS Commands vs Unix/Linux
DOS Command UNIX or Bash Command Action
CLS Clear / ctrl-l Clear screen
DOS Commands vs Unix/Linux
DOS Command UNIX or Bash Command Action
COMP diff Compare two files and show differences. Also see comm, cmp, mgdiff and tkdiff.
DOS Commands vs Unix/Linux
DOS Command UNIX or Bash Command Action
DATE or TIME date Show date. (also set date - DOS only)
DOS Commands vs Unix/Linux
DOS Command UNIX or Bash Command Action
DOSKEY /h history List command history
DOS Commands vs Unix/Linux
DOS Command UNIX or Bash Command Action
EDIT filename.txt pico, gnp, vi, xedit, xemacs,dtpad
Edit a file. The Linux editor which looks most like DOS edit is probably Pico. (Not a recomendation!)
Ctrl X to exit Ctrl O to save Alt “F” and “S” to save Alt “F” and “X” to exit
DOS Commands vs Unix/Linux
DOS Command UNIX or Bash Command Action
MEM free Show free memory on system
DOS Commands vs Unix/Linux
DOS Command UNIX or Bash Command Action
TASKLIST (WIN2K, XP) ps -aux top
List executable name, process ID number and memory usage of active processes
Generated by Foxit PDF Creator © Foxit Software
DOS Commands vs Unix/Linux
DOS Command UNIX or Bash Command Action
EXIT EXIT0
exit exit 0
Exit a shell
DOS Commands vs Unix/Linux
Assignment
Create 4 directory with below name EEE ECE CSE IT
Create sub directory for four year
Type all subject on text file and save as sub.txt on any 1st year folder
1.
2.
3.
4. Copy sub.txt to other dept directory
DOS Commands vs Unix/Linux
You have successfully finished your task