Home Page The Club Computers News Links Glossary EYAWTK
Before Amiga Background ICS OCS ECS AGA ??? PPC
U-Boot SLB Linux Amiga OS Dual Boot Motherboards Peripherals Other
Initialisation Installation OS4 Updates About OS4 File Systems Networking Printing Other
Introduction File System Workbench Preferences Commands Error Msgs Miscellaneous

AmigaOS 4.0 - About OS4 - Commands

This section details all of the commands available with the basic AmigaOS 4.0 system running Update #4, that can be run from the Shell, while many can also be run from the Workbench by clicking on the appropriate icon. Some however, cannot be run from the Workbench.

This is the alternative form where all commands are shown grouped by category as follows:
ARexx commands (A) Click here to
display this page
in alphabetic sequence.
Commodities (C)
AmigaDOS commands (D)
Internal commands (I)
Networking commands (N)
Preferences editors (P)
System programs (S)
Utilities (U)
Workbench routines (W)
Obsolete commands (X)

The following commands have corresponding pages to explain their use, using a similar format and syntax as the AmigaDOS 3.5 User's Guide. If you are not familiar with the syntax, an explanation of the Command Conventions, Format, Template, and Pattern Matching are also provided, as well as details of the AmigaOS environment variables.

ARexx Commands
Cat Command Description
A HI Sets the ARexx global halt flag.
A RexxMast To start ARexx.
A RX Launches an ARexx program.
A RXC Closes the resident process for ARexx.
A RXLIB Adds a library to Library List for ARexx.
A RXSET Adds a (name,value) pair to the Clip List for ARexx.
A TCC Closes the global tracing console for ARexx.
A TCO Opens the global tracing console for ARexx.
A TE Clears interactive tracing for ARexx.
A TS Starts interactive tracing for ARexx.
A WaitForPort Waits for a specified ARexx port.

Commodities
Cat Command Description
C AmiDock To display custom on-screen program menus.
C AutoPoint To automatically select any window the pointer is over.
C Blanker To cause the monitor screen to go blank if no input has been received within a specified period of time.
C ClickToFront To bring a window to the front of the screen.
C ContextMenus Replaces the right mouse-button menus activated from the Workbench screen.
C CrossDOS Configures the parameters used by CrossDOS filesystem.
C DepthToFront To bring a window to the front of the screen.
C Exchange To monitor and control the Commodity Exchange programs.
C FKey To assign text to function and shifted function keys.
C MouseBlanker Blanks the mouse pointer when you are typing at the keyboard.
C NoCapsLock Disables the Caps Lock key.
C RAWBinfo Replacement for the basic icon information process.
C ScreenBlankerEngine To execute the Screen Blanker Engine.

AmigaDOS commands
Cat Command Description
D AddAudioModes Add/Remove Audio Modes to/from the system.
D AddBuffers Instruct the file system to add cache buffers.
D AddDataTypes Builds a list of data types that datatypes.library can understand.
D AppListInfo To list information about 68K applications.
D Assign To control assignment of logical device names to file system directories.
D Avail Report the amount of memory available on the system.
D Break To set attention flags in the specified process.
D CacheStat To display cache statistics.
D ChangeTaskPri To change the priority of a currently running program.
D CharsetConvert Convert a text file from one charset into another.
D Clip Read/write any clipboard unit.
D Conclip Enable cut/copy/paste functionality in console windows and string gadgets.
D Copy Copy files or directories.
D Countlines To count how many lines a file is made of.
D CPU To set or clear the CPU caches, check for a particular processor, load the ROM image into memory, or set an illegal memory access handler which will output diagnostic information over the serial port at 9600 baud if a task accesses page zero or memory above the acceptable maximum.
D Cut Cut some characters or words from a string.
D Date To display or set the system date and/or time.
D Delete To delete files or directories.
D Dir To display a sorted list of the files in a directory.
D DiskChange To inform the Amiga that you have changed a disk in a disk drive.
D Dismount Makes a device connected to the system unavailable.
D DumpDebugBuffer To dump the kernel's Debug output to the standard output.
D Ed To edit text files (a screen editor).
D Edit To edit text files by processing the source file sequentially (a line editor).
D Eval To evaluate simple expressions.
D FDTool To externally control and examine the current state of the a1floppy device.
D FileNote To attach a comment to a file.
D FileSize To collect information on the size of files stored on a disk.
D FS_Plugin_Cache To demonstrate the block cache plugin feature of the new file system API.
D FS_Plugin_Encrypt To demonstrates the block transform plugin feature of the new file system API.
D FS_Set_Flush_Strategy To set the buffer strategy for the new file system API.
D Group To change the access rights of a file or directory.
D Iconx To enable execution of a script file from an icon.
D IDETool To temporarily configure your IDE devices.
D Info Give information about the file system(s).
D IPrefs Communicates Preferences information stored in the individual editor to the operating system.
D Join To concatenate two or more files into a new file.
D KDebug To set kernel debug parameters.
D List Lists specified information about files and directories.
D LoadMonDrvs To load the Monitor drivers from DEVS:.
D LoadWB Starts Workbench.
D Lock Sets the write-protect status of a device.
D MagTape Re-tensions, rewinds, or skips forward SCSI tapes.
D MakeDir Creates a new directory.
D MakeLink Creates a link between files.
D MD5Sum Calculates and compare checksums of files.
D Mount Makes a device connected to the system available.
D Move To move or rename files and directories.
D NVGetVar To display the Non-Volatile UBoot environment variables.
D Owner To change the ownership of a file or directory.
D PathPart To split and assemble directory and file names.
D Protect Changes the protection bit of files and directories.
D Reboot To reboot the system.
D Relabel To change the volume name of the disk in the given drive to the specified name.
D RemRAD Removes the recoverable RAM disk.
D Rename Changes the name of or moves a file or directory.
D RequestChoice Enables AmigaDOS and ARexx scripts to use custom requesters.
D RequestFile Allows AmigaDOS and ARexx scripts to use a file requester.
D RequestString Allows AmigaDOS and ARexx scripts to use a string requester.
D Search Looks for the specified text string in the files of the specified directories.
D SetClock Sets or reads the battery backed-up hardware clock.
D SetDate Change the timestamp of a file or directory.
D SetFont Changes the font of the current Shell.
D SetFontCharSet Adds charset tag and version string to a FontContentsHeader file.
D SetKeyboard Sets the keymap for the Shell.
D SetPatch Makes patches to the system software.
D Sort Alphabetically sorts the lines of a file.
D Status To list information about Shell/CLI processes
D Type Displays the contents of a file.
D Uptime To display the date and time that the system was booted.
D USBCtrl To start/restart/stop the USB file system.
D Version To find software version and revision numbers.
D Wait To wait for a specified time.
D WBCtrl To manipulate various features of the Workbench from a Shell.
D WBInfo To display icon information from a Shell or script.
D WBRun To start applications in Workbench mode from a Shell window or script.
D Which To search the command path for a particular item.

Internal commands
Cat Command Description
I Alias To set or display command aliases.
I Ask To obtain user input when executing a script file.
I CD To set, change, or display the current directory.
I Echo To display a string.
I Else To specify an alternative action for an IF statement in a script file.
I EndCLI To end a Shell process.
I EndIf Terminates an IF block in a script file.
I EndShell To end a Shell process.
I EndSkip To terminate a SKIP block in a script file.
I Execute To execute a script with optional argument substitution.
I FailAt To instruct a command sequence to fail if a program gives a return code greater than or equal to the given value.
I Fault To print the message(s) for the specified error code(s).
I Get Gets the value of a local variable.
I GetEnv Gets the value of a global variable.
I History Display, recall or store the command line history.
I If Evaluates conditional operations in a script file.
I Lab To specify a label in a script file.
I NewCLI Opens a new Shell window.
I NewShell Opens a new Shell window.
I Path Controls the directory list that the Shell searches to find commands.
I Pipe To route the output from one program to become the input for another.
I PopCD Return the directory last recently saved with the PUSHCD command.
I Prompt Changes the prompt string of the current Shell.
I PushCD Save the current directory on a stack and optionally change it.
I Quit Exits from a script file with a specified return code.
I Recorder Capture console output and store it in a file.
I Resident Displays and modifies the list of resident commands.
I Run Executes commands as background processes.
I Set Sets the value of a local variable.
I SetEnv Sets the value of a global variable.
I Skip Skips to a label when executing script files.
I Stack To display or set the stack size within the current Shell.
I SwapCD To list information about Shell/CLI processes
I TEE Send data from the standard input to the standard output and also print it to the console.
I UnAlias To remove an alias.
I UnSet To remove a local environment variable.
I UnSetEnv To remove a global environment variable.
I Why To print an error message that explains why the previous command failed.

Networking commands
Cat Command Description
N AddNetInterface To initialise network interfaces defined to the system.
N AddNetRoute To add network message routing paths.
N Arp To manipulate the system ARP Cache.
N ConfigureNetInterface To configure active network interface parameters.
N DeleteNetRoute To delete network routes from the system.
N FTP To upload/download using File Transfer Protocol.
N GetNetStatus To query whether the network is operational.
N Identd To identify active TCP connections.
N IPF To alter packet filtering lists for IP packet input and output.
N IPFStat To report on packet filter statistics and filter list.
N IPMon To monitor /dev/ipl for logged packets.
N IPNat To translate internal addresses to external addresses using NAT.
N NetLogViewer To capture any debug or notification network messages.
N NetShutDown To shutdown the network.
N OpenSSL Cryptography toolkit command line tool.
N Ping To check the quality of a network link or verify the connection of a machine to the Internet.
N RoadShowControl To set parameters for RoadShow TCP/IP Stack.
N Sample To sample network activity.
N ShowNetStatus To display network status information.
N TCPDump To dump TCP traffic on a network.
N TraceRoute To display the route packets take to a network host.

Preferences editors
Cat Command Description
P AHI To set preferences for the Audio Hardware Interface.
P AmigaInput To reconfigure input devices, such as keyboard, mouse, joystick, gamepad etc.
P Asl To set the default options for all asl.library requesters.
P Compatibility To specify applications where the JIT emulation must be disabled.
P DefIcons To manage default icons.
P DOS To customise a number of DOS parameters.
P Font To specify the fonts preferences used by the system.
P GUI To specify the GUI preferences used by the system.
P Input To specify the preferences for the input devices.
P Internet To specify the preferences for all Internet connections.
P Locale To specify the locale preferences used by the system.
P Overscan To change the size of the display area for text and graphics.
P Palette To specify the preferences for the Workbench color palette.
P Picasso96Mode To specify the graphics driver and available screen resolutions etc.
P Pointer To change the appearance of the mouse pointer
P PopupMenu To specify the preferences for the Popup Menus.
P Printer To specify the basic printer preferences.
P PrinterGFX To specify the printer graphics preferences.
P PrinterPS To specify the PostScript printer preferences.
P ScreenMode To specify the preferences for the Screen Mode.
P Screens To specify the preferences for Defined Screens.
P Sound To control the type of sound and sound attributes.
P Time To set the system clock.
P UBoot To reconfigure the UBoot settings.
P USB To set the USB preferences.
P WBPattern To specify the backgrounds for Workbench windows.
P Workbench To customise the Workbench Preferences.

System programs
Cat Command Description
S BIOSUpdater To update the U-Boot Firmware from an OS4 file.
S CLI To execute a command using the Command Line Interface.
S DiskCopy To copy the contents of one disk to another.
S Find To find files on your system based on various criteria.
S FixFonts To update the .font files of the FONTS: directory.
S Format To format a disk for use with the Amiga.
S FormatCDRW To format a re-writable CD or DVD for use with the Amiga.
S GrimReaper To intercept program errors and provide action options.
S Media Toolbox To partition and configure hardware devices.
S Mounter Interactive partition mount tool.
A RexxMast To start ARexx.
S Shell To open a new AmigaShell.
S TypeManager To install new fonts.
S USBStart To start the USB file system and open the USB stack.
S USBStop To stop the USB file system and close the USB stack.

Utilities
Cat Command Description
U AmiGS To print postscript files to non-postscript printers.
U AmiPDF To view PDF files.
U Calculator To provide an on-screen calculator.
U Clock To provide an on-screen clock.
U GraphicDump To print (or dump) entire screens, including menus and icons, just as they appear on the screen.
U IconEdit To create or modify icon images
U InitPrinter To initialize your printer with the Preferences specifications.
U KeyShow To display the current keymap.
U MEmacs Enables screen-oriented text editing.
U MultiView To display various files.
U NotePad To edit text files (a screen editor).
U PartitionWizard To check, repair, salvage and manipulate disk partitions.
U PlayCD To play audio CDs.
U PrefsObjectsEditor To edit any XML file
U PrintFiles To send text files to your printer.
U RawDisk To read or write a number of blocks of a formatted disk, or transfer raw disk data to/from a named file.
U UnArc To unpack an archive file.
U USBInspector To display currently active USB devices.

Workbench routines
Cat Command Description
W ASyncWB Enables asynchronous copying and deleting to Workbench.
W XAD2Lha To extract data from other archives and stores it in an lha archive.
W XADLibInfo To display information about the supported archivers.
W XADList To examine files and print the names of the archivers.
W XADUnDisk To extract data from disk archives.
W XADUnFile To extract data from single file archives.
W XADUnFileM To extract data from multiple file archives.
W XADUnTar To extract data from TAR archives.

Obsolete
Cat Command Description
X BindDrivers Bind device drivers to hardware.
X BenchTrash To provide a global "Trashcan" icon on the workbench screen.
X Bru Backup and Restore utility.
X BuildMapTable Create a binary mapping table to Unicode for diskfont.library from an ASCII mapping table.
X CatComp To compile locale catalogs.
X CMD To redirect printer output to a file.
X IoTools Tools for use with IOMEGA devices.
X MooVId Plays .avi and .mov files
X More To display the contents of an ASCII file.
X PCIScan To show PCI cards attached to the system.
X Serial To set the preferences for communication through the serial port.

Disclaimer: Amiga Auckland have prepared the above information for the use of its members based on our experiences and as such is subject to revision at any time. Amiga Auckland cannot guarantee any of the information and cannot be held accountable for any issues that may result from using it.


Copyright 2006 Amiga Auckland Inc. All rights reserved.
Revised: December 24, 2006.