0% found this document useful (0 votes)
43 views2 pages

Unix Vs Dos Internal Commands: Command Causes The Shell or Program To

This document compares common internal commands in UNIX and DOS operating systems. It lists equivalent commands such as "exit" in UNIX and "exit" in DOS that are used to terminate a shell or program. Other paired commands are "cd" and "chdir" for changing directories, "clear" and "cls" for clearing the screen, and "date" and "date" for displaying the system date. The document provides examples of commands for manipulating files and directories in both UNIX and DOS.

Uploaded by

Saif khawaja
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
43 views2 pages

Unix Vs Dos Internal Commands: Command Causes The Shell or Program To

This document compares common internal commands in UNIX and DOS operating systems. It lists equivalent commands such as "exit" in UNIX and "exit" in DOS that are used to terminate a shell or program. Other paired commands are "cd" and "chdir" for changing directories, "clear" and "cls" for clearing the screen, and "date" and "date" for displaying the system date. The document provides examples of commands for manipulating files and directories in both UNIX and DOS.

Uploaded by

Saif khawaja
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 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

You might also like