Sie sind auf Seite 1von 2

UNIX VS DOS INTERNAL

COMMANDS
UNIX

DOS

COMMAND FUNCTION

exit

exit

command causes the shell or


program to terminate

Cd

cd

Moves from one directory to another

clear

cls

Clear the screen

date

date

Display the system date

sort

sort

Sorts lines in a file

mkdir

md

Creates a new subdirectory

mv-iv

rename

Renames a file

grep

find

Find a character string in a file

pwd

chdir

Present working directory

rmdir

rd

Deletes an existing directory

cat >

copy con(windows cmd and old dos


version ) /edit(old dos version)

Creates and edits text

ls-l

dir

Displays the contents of a directory

Diff

Comp/fc

Compare two files

chmod

Sets file permission


Attrib

uname -a

ver

Shows current version of os


or dos
Dump content of file to

cat

Type

user screen

ls-a

dir/aa

List hidden directory

rm-R

Del / erase

Remove a file

cp-piv

copy

Copy a file

rmdir

rmdir

Remove directory

Das könnte Ihnen auch gefallen