Common AmigaDOS commands

The Amiga had a command line, or CLI. It was a rather powerful CLI, especially for its time. But there are a number of differences between AmigaDOS and other operating systems you may be familiar with. These are the common AmigaDOS commands and their equivalents from other operating systems like DOS, Windows, Unix or Linux.

I’ve never seen a primer that relates or cross-references Amiga commands to Windows and Unix. So I wrote one. I hope it helps you understand your Amiga better. Because Amiga is sometimes like Windows and sometimes it’s like Unix, I think it might. And maybe, just maybe, you’ll learn something you didn’t know about Windows or Unix too.

The Amiga's CLI looks a lot like everyone else's. A lot of the commands are similar too.
The Amiga’s command line looks a little different from everyone else’s, yet somewhat similar. You’ll find the same is true of most of its commands.

Amigas are maddeningly different because they inherited their commands from an operating system called TRIPOS. TRIPOS was a multiuser, multitasking operating system from the 1970s. Like Digital Equipment Corporation’s VMS, it competed with Unix. But like VMS, it had its own command set and way of addressing peripherals. Commodore didn’t rip off TRIPOS; it licensed it fair and square. Coincidentally, TRIPOS’ design and overall philosophy was very similar to what Commodore was doing with the Amiga. Using it to help get the Amiga to market a bit faster made sense.

Like DOS and Windows, it uses device names that end in a colon. Like Unix, it uses a forward slash (/) as a delimiter between directories.

Amiga commands accept the ? parameter, which works like the /? parameter in DOS or –help in Linux or Unix. Amigas have a system path much like Windows or Unix/Unix-like machines, so you can get a list of commands your Amiga recognizes with the command dir c:. No, Amigas don’t have a C drive like DOS or Windows. C: is an alias for the Amiga’s system path.

Between these two cheatsheets, you should be able to find your way around an Amiga command line without much issue.

Command Purpose Microsoft equivalent Unix/Linux equivalent
DISKCOPY Copy a disk diskcopy
FORMAT Format a new disk format mkfs
INSTALL Make a disk bootable sys
RELABEL Rename a disk label
INFO Get information about a file system du or df, mount
DIR Look at a disk directory dir /b ls
DIR OPT A Look at all of the files on a disk dir /s ls -lr
LIST Get information about files dir ls -l
CD Change the current directory cd cd
MAKEDIR Create a new directory md mkdir
ASSIGN Tell AmigaDOS where to look for things set
COPY Copy files copy cp
DELETE Delete a file del rm
PROTECT Prevent a file from being deleted attrib +r
RENAME Rename a file ren mv
TYPE Type a text file to the screen type cat
DATE Set the date and time date date
ECHO Output the given text echo echo
NEWCLI Open a new CLI window start cmd
ENDCLI Close an existing CLI window exit exit
SEARCH search files for contents findstr grep
<and> Redirect the input < and > < and >

Amigas also have a number of devices and aliases. Here they are, with their closest Windows or Unix/Linux equivalents.

Amiga device Microsoft equivalent Unix equivalent
sys: %windir% /sbin
c: c:\windows\system32 /bin
L: and LIBS: equivalent to /lib/ /lib/
S: the default location for batch files. No perfect equivalent  same
DEVS: c:\windows\system32\drivers /dev/
FONTS: c:\windows\fonts
T: temp files. %temp%, %tmp%, /tmp/ /tmp/
ram: ramdisk.
prt: prn:
nil: /dev/null
DF0: A:\
DF1: B:\
DH0: C:\ /

I will admit that when I started using other types of computers, I put scripts in place to translate some of these Amiga commands to their native equivalents. As I got more comfortable with other systems, I also aliased some DOS and Unix commands to Amiga equivalents on my Amiga. So I’ll share one last command, alias. It’s not one of the most common AmigaDOS commands, but these examples may make it one of the more useful ones.

alias md makedir
alias del delete

The examples above make Amiga more Windows-like. If you prefer your Amiga to be a bit more Unix-like, try these:

alias mkdir makedir
alias rm delete

The Amiga’s alias command can help the Amiga feel a little less alien to you.

Those are the most common AmigaDOS commands, and what you need to know in order to use them. Enjoy your Amiga!

One more thing: If you’re interested in Amigas, maybe you like C-64s too. Here’s a list of common C-64 commands.

%d bloggers like this:
WordPress Appliance - Powered by TurnKey Linux