Converting DOS commands to UNIX commands
There are a few command line questions that are asked VERY often. These
questions, with answers that should be typed at your shell prompt are
printed below:
DOS UNIX
dir ............... ls
cls ............... clear
del ............... rm
copy .............. cp
move / rename ..... mv
type .............. cat
cd ................ cd
more < file ....... more file
md ................ mkdir
rd ................ rmdir
win ............... startx :)
(Note: Unlike DOS, commands and their arguments MUST be separated by a
space. For example, "cd/" doesn't work, but "cd /" does.)
Back to the homepage
$Id: dos2unix.html,v 1.2 2007/09/19 00:11:12 sgd Exp $