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.
Why Amigas are different
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.
Amiga commands cheat sheet
|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|
|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 >|
The cd command deserves a note. The cd .. command does nothing on an Amiga. The command to move up a directory is cd /, which is very different from Microsoft or Unix operating systems.
Amiga devices cheatsheet
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|
|L: and LIBS:||no perfect equivalent, since Windows doesn’t separate DLLs and EXEs||/lib/|
|S:||the default location for batch files. No perfect equivalent||same|
|T:||temp files. %temp%, %tmp%, /tmp/||/tmp/|
|prt:||prn: or lpt1:|
A cheat for users of other operating systems
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.
An Amiga primer
The DOS commands aren’t the only things about Amigas that lead to questions. Amiga memory is a little different from other computers too. And while it wasn’t supplied with the operating system, if you’re going to do Amiga command-line stuff, you want to know about LHA, the most common Amiga file compressor.
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.