Global Menu:
Go
INTRODUCTION
COMMAND INTERPRETERS / SHELLS
UTILITY SETS
OTHER UNIX >> DOS PROGS IN THESE PAGES
INTRODUCTION
The programs featured here are DOS ports of Unix originals, or of the Free Software Foundation's tools for
the GNU Operating System
Programs from the GNUish Project, and some others, run in 80x86 real mode (16-bit) and so will work on
80286 or older CPUs and almost any DOS.
More recent ports from GNU and others are 32-bit DJGPP builds that require an 80386+ CPU and a DOS
Protected Mode Interface (usually supplied by CWSDPMI or by Windows).
See More Resources - 1 for links to additional info and download sites.
1/14
29/4/2016
allowing these utilitites to be combined. Files containing commands can be created, and become
commands themselves. These new commands have the same status as system commands in
directories such as /bin, allowing users or groups to establish custom environments.
2003-04-25: v2.05b, 32-bit DJGPP port for 80386+.
Author: Chet Ramey et al. (2003).
Downloads
bsh205bb.zip (503K) Binaries, manual
bsh205bs.zip (2.5M) Source, more docs
MS Shell Unixish command shell for DOS.
****
[added 2004-10-29]
This shell is based on Unix SVR4's Korn and Bourne shells, and the MINIX shell by Charles Forsyth. Some
OS/2 commands have been added. Binaries package includes 16- and 32-bit DOS, and 16- and 32-bit
OS/2 executables. Also see the matching UXUTL utilty set.
Author: Ian Stewartson, UK (1994).
1994-08-26: v2.3.
Downloads
ms_sh23b.zip (810K) Binaries
ms_sh23s.zip (496K) Source
UTILITY SETS
Also see RUTILS4.
GNU Shell Utilities (Shellutils, Sh-utils) Core components of the GNU operating system.
****
[added 2005-03-28, updated 2006-08-15]
These, with the Fileutils and the Textutils, are core components of the GNU operating system. In this version,
all are 32-bit DJGPP compilations.
basename Strip directory and suffix
chroot
date
dirname
echo
http://www.bttr-software.de/freesoft/unix.htm
2/14
29/4/2016
env
expr
factor
Evaluate expressions
Print prime factors
false
groups
Do nothing, unsuccessfully
Print group names a user is in
hostid
Print numeric host identifier
hostname Print or set system name
id
logname
nice
nohup
pathchk
printenv
printf
pwd
seq
sleepp
stty
su
tee
test
true
tty
Do nothing, successfully
Print terminal name
uname
users
who
whoami
yes
Authors: Jim Meyering, Roland McGrath, David MacKenzie, Richard Mlynarik, Mike Parker, Arnold
Robbins, Joseph Arceneaux, Kaveh Ghazi, Ulrich Drepper, Paul Eggert, Richard M. Stallman for GNU.
DOS port by Prashant TR (2003).
2003-12-15: v2.0.11.
Downloads
shl2011b.zip (1.5M) Binaries, man pages
shl2011d.zip (318K) Docs: dvi/html/ps/texi
UXUTL Comprehensive collection of command line Unix utilities for DOS.
****
http://www.bttr-software.de/freesoft/unix.htm
3/14
29/4/2016
[updated 2004-10-29]
This set of UNIX utilities was originally developed for use with the author's Uish MS Shell but the tools can
be used as standalone programs. The UXUTL set is split into four archives (a, b, c, and d) and mainly
consists of file and text processing programs. Documentation (included with the "a" set) is sparse you'll need
to acquire the corresponding Unix MAN docs to appreciate the full potential of these programs. One util I
use frequently from this package is tee it allows you to redirect output to the screen and to a file
*simultaneously.*
Here are the contents of the four packages that make up the collection:
a
basename Display file namename
bmgrep
cal
cat
cdiff
cgrep
chmod
cmp
comm
cp
cpio
csplit
cut
Copy files
Archive files
Context or line file splitter
Cut data out of a file
USAGE
doc file
b
date
dd
df
dirname
du
Data copy
Display Disk Free space
Extract directory name from filename
Display disk usage
expr
fgrep
find
fold
fstat
grep
head
ls
c
http://www.bttr-software.de/freesoft/unix.htm
4/14
29/4/2016
m4
make
mkdir
mv
M4 Macro processor
Makefile processor
Make path
Move files
od
printarg
printenv
rm
octal dump
Print arguments to stdout
Print environment to stdout
Remove files
rmdir
setschar
sleep
sort
Remove directories
Set switch character
Wait for n seconds
Sort files
split
d
strings
sym
tail
tee
touch
tput
tr
uniq
wc
which
5/14
29/4/2016
The Berkeley Utilities are a set of 40 Unix-like utilities for MS-DOS... It is not as complete a
set of Unix commands as can be found in some other packages (e.g. MKS) but it contains some
useful utilities you don't find elsewhere (e.g. cb, xstr)...[T]hey now work with long filenames
under Win95/98, and df can understand multi-gigabyte partitions...Compared to the GNU
utilities, [the Berkeley Utilities] have the advantage that they are much smaller (20K on average
instead of 100K). Compared to MKS utilities, they have the advantage that each utility is self
contained (it can run separately without any other support file, and each utility contains a help
screen)...
The Berkeley Utilities follow rigorously the Unix System V syntax and include all the options
found on any Unix system plus a few carefully chosen ones. They used to sell for $200 and are
now free.
awk
basename
cal
cat
cb
cmp
comm
cp
cut
df
diff
dtree
du
ech
ed
expand
find
grep
head
join
ls
make
more
mv
od
paste
rederr
rm
sed
sort
http://www.bttr-software.de/freesoft/unix.htm
6/14
29/4/2016
split
tail
tee
touch
tr
unexpand
uniq
wc
which
xstr
Authors: Jean Michel and Patrick Mrissert-Coffinires, France (1991, 2001). Distributed by OPENetwork.
2001-02-12: v2.0. Formerly paid commercial software, now in the public domain and completely free.
Download berk.zip (1.2MB), complete package with all utils + manual (pdf format).
Go to the Berkeley Utilities page at OPENetwork to download individual programs, and see examples of use
with screenshots.
Online manual.
GNU Diffutils (diff) File difference package.
****
[added 1998-08-16, updated 2006-08-15]
These utils are available in two sets, 32-bit and 16-bit. The 32-bit DJGPP set includes 4 programs: diff,
cmp, diff3, and sdiff. Diff seems best suited to tracking differences among versions of code / documents
through time (i.e., version maintenance) rather than offering quick, intuitive recognition of differences as with
VCOMP. But as noted by a reader:
[diff] has long had a very readable format, that does not require ansi color etc. called the context
format:
diff -C 1 file1 file2
This prints different lines (changed, deleted, or added) with one line that is the same in each file
at the beginning and end, something like this:
first line is same
2C -- second line of file is different
--------------------------------------2C -- second line of this file is different
third line is same
Where the first and third lines are the identical "context" lines. Very readable format for changed
lines, a little less for lines added or deleted.
Also, for hard copy, double column, portrait-mode visual comparison of content (i.e., ignoring
http://www.bttr-software.de/freesoft/unix.htm
7/14
29/4/2016
layout) you may want to re-wrap copies of your two text files to a narrow width (e.g., 35, if that
doesn't mangle the readability too much) and then play with the --width=NUMparameter (e.g.,
=80) in combination with the -y switch. Diff is capable of handling large files. Win9x LFN
compatible under Win9x.
From the docs: Diff
...outputs differences between files line by line in any of several formats, selectable by command
line options. This set of differences is often called a "diff" or "patch". For files that are identical,
diff normally produces no output; for binary (non-text) files, diff normally reports only that they
are different. You can use the set of differences produced by diff to distribute updates to text
files (such as program source code) to other people...The cmp command shows the offsets and
line numbers where two files differ. cmp can also show all the characters that differ between the
two files, side by side. ...Use the diff command to show differences among three files...diff3 can
report the differences between the original and the two changed versions, and can produce a
merged file that contains both persons' changes together with warnings about conflicts...Use the
sdiff command to merge two files interactively.
...provides ways to suppress certain kinds of differences that are not important to you. Most
commonly, such differences are changes in the amount of white space between words or
lines...differences in alphabetic case or in lines that match a regular expression that you provide.
The older 16-bit utils are GNUish Project ports, and do not include sdiff.
Authors: Paul Eggert, Mike Haertel, David Hayes, Richard Stallman, Len Tower, Thomas Lord, Randy
Smith, Torbjorn Granlund and David MacKenzie for GNU. 16-bit port by Helge Oldach, Germany (1993).
32-bit port by Eli Zaretskii, Israel (2004).
Versions
2004-09-11: 2.8.1 DOS32
1993-05-25: 2.3 DOS16
Downloads
DOS32 dif281b.zip
dif281d.zip
dif281s.zip
DOS16 diff23x.zip
(394K)
(719K)
(1.1M)
(139K)
8/14
29/4/2016
chgrp
chown
chmod
cp
dd
df
dir
dircolors
du
install
ln
ls
mkdir
mkfifo
mknod
mv
rm
rmdir
shred
sync
Creates directories
Creates FIFOs (named pipes)
Creates special files
Moves files
Removes (deletes) files
Removes empty directories
Destroy data in files
Synchronizes filesystem buffers and disk
touch
vdir
mv
rm
rmd
touch
vdir
rename files
remove files
remove empty directories
change file timestamps
list contents of directories
http://www.bttr-software.de/freesoft/unix.htm
9/14
29/4/2016
Authors: Richard Stallman, David MacKenzie, Torbjorn Granlund, Larry McVoy, Paul Eggert, Paul Rubin,
Stuart Kemp, Jim Meyering, H. Peter Anvin, Arnold Robbins, Jim Kingdon, Randy Smith, Colin Plumb for
GNU. 16-bit port by Stephen McConnel (1995). 32-bit port by Richard Dawe, UK, et al. (2002).
Versions
2003-03-27: 4.1 32-bit
1995-03-18 3.12 16-bit
Downloads
v4.1 fil41b.zip
fil41d.zip
fil41s.zip
v3.12 fut312bx.zip
fut312bs.zip
(1.7M)
(537K)
(2.3M)
(341K)
(463K)
Binaries + manual
Docs: html/tex/ps/dvi
Source
Binaries + manual
Source
Somewhat complex. Supports Unix wildcards. The locate program, which accesses a previously compiled
database of file names, i.e, a file, rather than an entire drive, is accessed during a search (quicker, less disk
wear, but requires regular maintainence of a filename database. The DOS version uses a less than intuitive
batch analog of the file database updater).
A simpler locate program than the one here, but using the same principle is locat110.zip (but database
creation freezes on big drives with long paths).
2003-12-15: v4.1.7. 32-bit DJGPP port for 80386+.
Authors: Eric Decker, David MacKenzie, Jay Plett, Tim Wood, Mike Rendell for GNU. DOS port by Eli
Zaretski, Israel; and Andrew Cottrell, Australia (2003).
Downloads
find417b.zip (373K) Binaries, manual
find417d.zip
(9K) Docs: dvi/html/ps/texi
GNU Textutils Collection of text utilities.
http://www.bttr-software.de/freesoft/unix.htm
10/14
29/4/2016
****
[added 1998-09-13, updated 2005-03-11]
An all-in-one toolkit, available in 16-bit and in 32-bit DJGPP compilations. The 32-bit programs may get the
job done quicker than their 16-bit counterparts, will definitely handle larger files, and support Win9x long file
names. Separately zipped documentation helpful.
Output of entire files
cat
Concatenate and write files.
tac
nl
od
11/14
29/4/2016
tr
Translate, squeeze, and/or delete characters.
expand
Convert tabs to spaces.
unexpand Convert spaces to tabs.
Authors: 32-bit port by Eli Zaretskii, Israel (2003). 16-bit port by Stephen McConnel (1995).
Versions
1995-03-20: 1.11 16-bit port for 8086/80286
2003-12-15: 2.0 32-bit DJGPP port for 80386+
Downloads
DOS16 tut111ax.zip (453K) Binaries, man pages
DOS32 txt20b.zip
(1.6M) Binaries, man pages
txt20d.zip (272K) Docs: texi/html/dvi/ps
GNU Shar utils Prepare archives for mailing.
****
[added 2004-10-29, updated 2006-08-15]
From the docs;
shar makes so-called shell archives out of many files, preparing them for transmission by
electronic mail services. A "shell archive" is a collection of files that can be unpacked by /bin/sh.
A wide range of features provide extensive flexibility in manufacturing shars and in specifying
shar _smartness_. For example, shar may compress files, uuencode binary files, split long files
and construct multi-part mailings, ensure correct unsharing order, and provide simplistic
checksums.
unshar scans a set of mail messages looking for the start of shell archives. It will automatically
strip off the mail headers and other introductory text. The archive bodies are then unpacked by
a copy of the shell. unshar may also process files containing concatenated shell archives.
Also in package:
mail-files
mailshar
remsync
uuencode
uudecode
Authors: James Gosling, William Davidsen, Warren Tucker, Richard Gumpertz, Franois Pinard for GNU.
DOS port by Juan Manuel Guerrero, Germany (2000).
2000-10-10: v4.2c. 32-bit DJGPP port for 80386+.
Downloads
http://www.bttr-software.de/freesoft/unix.htm
12/14
29/4/2016
dos2ux
DU
egrep
elvis
emacs
Fast GREP
fgrep
ftp
gawk
GifTrans
grep
gzip / gunzip
InfView
ispell
less
LINK/LN (ln)
look
lynx
man
man (PCMan)
mawk
MD5SUM
Mi-Shell (MSH)
nano
NcFTP
Penta Text Tools
perl
pico
http://www.bttr-software.de/freesoft/unix.htm
13/14
29/4/2016
Pine
PPPD
pr
PSUtils
RUTILS4
sc
sed
sleep
Talk
tar
tee
Telnet
uniq
uuen/decode
units
units, GNU
ux2dos
vi
wc
Wget, GNU
wput
XGREP
http://www.bttr-software.de/freesoft/unix.htm
14/14