Difference between revisions of "Shell Commands"
From MorphOS Library
(14 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
In order to find out how to use a particular command, type its name in a shell window, add '?' (without quotes) and press Enter. An explanation of MorphOS Shell arguments can be found [[Shell_Commands/Arguments | here]]. | In order to find out how to use a particular command, type its name in a shell window, add '?' (without quotes) and press Enter. An explanation of MorphOS Shell arguments can be found [[Shell_Commands/Arguments | here]]. | ||
+ | |||
+ | For learning how pattern matching (wildcards) works on MorphOS, please read the [[Pattern_matching | Pattern Matching]] article. | ||
Names written in ''italics'' are internal commands, which can't be found as separate files from your filesystem, but you can list them with the Resident command. | Names written in ''italics'' are internal commands, which can't be found as separate files from your filesystem, but you can list them with the Resident command. | ||
+ | |||
+ | By installing [https://www.morphos-team.net/downloads MorphOS Software Development Kit] you will also get hundreds of traditional Unix commands which aren't listed here. 3rd party commands (native and legacy commands) can be installed by copying them to the SYS:C/ directory. | ||
− | + | {| | |
− | + | | [[Shell_Commands/AddAudioModes | AddAudioModes]] || Builds and removes audio modes that AHI can understand | |
− | + | |- | |
− | + | | [[Shell_Commands/AddBuffers | AddBuffers]] || Adds or displays cache buffers allocated for a drive | |
− | + | |- | |
− | + | | [[Shell_Commands/AddDataTypes | AddDataTypes]] || Activates datatypes or adds another datatype | |
− | + | |- | |
− | + | | [[Shell_Commands/AddUSBClasses | AddUSBClasses]] || Add or remove Classes from the USB stack | |
− | + | |- | |
− | + | | [[Shell_Commands/AddUSBHardware | AddUSBHardware]] || Manually add or remove USB hardware to/from MorphOS | |
− | + | |- | |
− | + | | [[Shell_Commands/Alias | ''Alias'']] || Sets or displays command aliases | |
− | + | |- | |
− | + | | [[Shell_Commands/ARP | ARP]] || Displays and manipulates the Address Resolution Protocol cache | |
− | + | |- | |
− | + | | [[Shell_Commands/Ask | ''Ask'']] || Displays a question at the execution of a script | |
− | + | |- | |
− | + | | [[Shell_Commands/AskHost | AskHost]] || Displays the hostent information of a host | |
− | + | |- | |
− | + | | [[Shell_Commands/Assign | Assign]] || Lists, creates, modifies or removes an assign from MorphOS | |
− | + | |- | |
− | + | | [[Shell_Commands/Avail | Avail]] || Displays the amount of free memory available | |
− | + | |- | |
− | + | | [[Shell_Commands/Battery | Battery]] || Displays laptop's battery information | |
− | + | |- | |
− | + | | [[Shell_Commands/Beep | Beep]] || Flashes the current front-most screen | |
− | + | |- | |
− | + | | [[Shell_Commands/BindDrivers | BindDrivers]] || Activates device drivers in expansion drawer (outdated) | |
− | + | |- | |
− | + | | [[Shell_Commands/Break | Break]] || Allows to send a signal (for eg. CTRL+C) to a process | |
− | + | |- | |
− | + | | [[Shell_Commands/Bz2 | Bz2]] || Compresses or decompresses files | |
− | + | |- | |
− | + | | [[Shell_Commands/CD | ''CD'']] || Changes or displays current directory | |
− | + | |- | |
− | + | | [[Shell_Commands/ChangeTaskPri | ChangeTaskPri]] || Changes the priority of the given process | |
− | + | |- | |
− | + | | [[Shell_Commands/ClearRAMDebugLog | ClearRAMDebugLog]] || Clears the RAM debug log | |
− | + | |- | |
− | + | | [[Shell_Commands/CLI | CLI]] || Starts a new interactive CLI on the system | |
− | + | |- | |
− | + | | [[Shell_Commands/Clip | Clip]] || Manages clipboard contents | |
− | + | |- | |
− | + | | [[Shell_Commands/Clone | Clone]] || Reads the standard input or a file and writes it to both standard output and a specified file | |
− | + | |- | |
− | + | | [[Shell_Commands/Cls | ''Cls'']] || Clears the console window | |
− | + | |- | |
− | + | | [[Shell_Commands/ConClip | ConClip]] || Activates or De-activates the Clipboard | |
− | + | |- | |
− | + | | [[Shell_Commands/ConvertText | ConvertText]] || Converts a text file to a different character encoding | |
− | + | |- | |
− | + | | [[Shell_Commands/Copy | Copy]] || Copies a source file or directory to another directory | |
− | + | |- | |
− | + | | [[Shell_Commands/CPU | CPU]] || Displays information about the CPU of the computer | |
− | + | |- | |
− | + | | [[Shell_Commands/Date | Date]] || Displays or sets the date and time of the system | |
− | + | |- | |
− | + | | [[Shell_Commands/Debug | Debug]] || Sets debug options | |
− | + | |- | |
− | + | | [[Shell_Commands/Delete | Delete]] || Deletes one or more files/directories | |
− | + | |- | |
− | + | | [[Shell_Commands/DevList | DevList]] || Displays a list of all devices present in memory | |
− | + | |- | |
− | + | | [[Shell_Commands/Dir | Dir]] || Lists file and directory names (w/o attributes) | |
− | + | |- | |
− | + | | [[Shell_Commands/DiskCache | DiskCache]] || Reworked DynamiCache disk caching engine to improve I/O performance | |
− | + | |- | |
− | + | | [[Shell_Commands/DiskChange | DiskChange]] || Informs MorphOS of a diskchange | |
− | + | |- | |
− | + | | [[Shell_Commands/DiskFree | DiskFree]] || Displays available space of specified volume | |
− | + | |- | |
− | + | | [[Shell_Commands/DOSList | DOSList]] || Displays a detailed list of devices, volumes, and assigns | |
− | + | |- | |
− | + | | [[Shell_Commands/DRadioTool | DRadioTool]] || Controls an USB Radio manufactured by D-Link or GemTek | |
− | + | |- | |
− | + | | [[Shell_Commands/Echo | ''Echo'']] || Displays the specified message | |
− | + | |- | |
− | + | | [[Shell_Commands/Ed | Ed]] || A simple text editor | |
− | + | |- | |
− | + | | [[Shell_Commands/Eject | Eject]] || Simple command to eject CD media | |
− | + | |- | |
− | + | | [[Shell_Commands/Else | ''Else'']] || Specifies an alternative for an IF statement in a script file. | |
− | + | |- | |
− | + | | [[Shell_Commands/EndCLI | ''EndCLI'']] || Closes CLI/Shell Window or Tab | |
− | + | |- | |
− | + | | [[Shell_Commands/EndIf | ''EndIf'']] || Terminates an IF block in a script file | |
− | + | |- | |
− | + | | [[Shell_Commands/EndShell | ''EndShell'']] || Closes CLI/Shell Window or Tab | |
− | + | |- | |
− | + | | [[Shell_Commands/EndSkip | ''EndSkip'']] || Stops a SKIP branch | |
− | + | |- | |
− | + | | [[Shell_Commands/Eval | Eval]] || Evaluates a mathematical expression | |
− | + | |- | |
− | + | | [[Shell_Commands/Exe2Arc | Exe2Arc]] || Extracts the archive data from self extracting archive files | |
− | + | |- | |
− | + | | [[Shell_Commands/Execute | Execute]] || Executes a batch file | |
− | + | |- | |
− | + | | [[Shell_Commands/Failat | ''Failat'']] || Changes failure limit for scripts (0=Ok, 5=Warn, 10=Error) | |
− | + | |- | |
− | + | | [[Shell_Commands/Fault | ''Fault'']] || Translates numeric error codes to ASCII text | |
− | + | |- | |
− | + | | [[Shell_Commands/FileNote | FileNote]] || Set a comment for a file | |
− | + | |- | |
− | + | | [[Shell_Commands/FileWrite | FileWrite]] || Writes data to a file | |
− | + | |- | |
− | + | | [[Shell_Commands/FlushLib | FlushLib]] || Removes unused libraries from memory | |
− | + | |- | |
− | + | | [[Shell_Commands/Format | Format]] || Formats a disk | |
− | + | |- | |
− | + | | [[Shell_Commands/Freeze | Freeze]] || Suspends tasks | |
− | + | |- | |
− | + | | [[Shell_Commands/FSDie | FSDie]] || Kills a filesystem from a drive | |
− | + | |- | |
− | + | | [[Shell_Commands/FSList | FSList]] || Displays a list of all FileSystem present in memory | |
− | + | |- | |
− | + | | [[Shell_Commands/FSPrefs | FSPrefs]] || Sets preferences for specified device | |
− | + | |- | |
− | + | | [[Shell_Commands/FSTest | FSTest]] || Benchmarks some basic FileSystem operations | |
− | + | |- | |
− | + | | [[Shell_Commands/Get | ''Get'']] || Displays the contents of a local environment variable | |
− | + | |- | |
− | + | | [[Shell_Commands/Getenv | ''Getenv'']] || Displays the contents of a global environment variable | |
− | + | |- | |
− | + | | [[Shell_Commands/GetRAMDebugLog | GetRAMDebugLog]] || Writes the RAM debug log to a file | |
− | + | |- | |
− | + | | [[Shell_Commands/HDMBRClear | HDMBRClear]] || Clears a master boot record from a drive | |
− | + | |- | |
− | + | | [[Shell_Commands/HDRead | HDRead]] || Reads sector(s) from device/unit and dumps them to shell | |
− | + | |- | |
− | + | | [[Shell_Commands/HDTest | HDTest]] || Benchmark FileSystem operations using direct device access | |
− | + | |- | |
− | + | | [[Shell_Commands/HDWrite | HDWrite]] || Writes sectors to a drive | |
− | + | |- | |
− | + | | [[Shell_Commands/HFSSetMacBoot | HFSSetMacBoot]] || Sets HFS specific attributes so MAC can autoboot | |
− | + | |- | |
− | + | | [[Shell_Commands/HI | HI]] || Send all active ARexx programs an external halt request | |
− | + | |- | |
− | + | | [[Shell_Commands/IconX | IconX]] || Executes a batch file from the desktop (Ambient) | |
− | + | |- | |
− | + | | [[Shell_Commands/ID | ID]] || Prints UID and GID of a user | |
− | + | |- | |
− | + | | [[Shell_Commands/IDEStandby | IDEStandby]] || Spins down the motor of IDE HDs | |
− | + | |- | |
− | + | | [[Shell_Commands/If | ''If'']] || Adds intelligent branching to scripts | |
− | + | |- | |
− | + | | [[Shell_Commands/IfConfig | IfConfig]] || Configures network interfaces and shows interface configurations | |
− | + | |- | |
− | + | | [[Shell_Commands/iKill | iKill]] || Kills the specified program and tries to free its resources | |
− | + | |- | |
− | + | | [[Shell_Commands/Info | Info]] || Displays information about mounted filesystems | |
− | + | |- | |
− | + | | [[Shell_Commands/Install | Install]] || Writes a boot block or inspects a boot block on a floppy disk or a PCMCIA card, or a compatible device | |
− | + | |- | |
− | + | | [[Shell_Commands/Installer | Installer]] || Installs software by interpreting their installation scripts | |
− | + | |- | |
− | + | | [[Shell_Commands/IPrefs | IPrefs]] || Initialises preferences files on startup | |
− | + | |- | |
− | + | | [[Shell_Commands/Join | Join]] || Joins several files into one bigger file | |
− | + | |- | |
− | + | | [[Shell_Commands/Lab | ''Lab'']] || Defines a label in a batch file | |
− | + | |- | |
− | + | | [[Shell_Commands/LhA | LhA]] || Compresses or uncompresses files/dirs | |
− | + | |- | |
− | + | | [[Shell_Commands/LibList | LibList]] || Displays information about libraries present in memory | |
− | + | |- | |
− | + | | [[Shell_Commands/List | List]] || Lists the contents of the specified directory | |
− | + | |- | |
− | + | | [[Shell_Commands/LoadLib | LoadLib]] || Loads libraries or classes into memory | |
− | + | |- | |
− | + | | [[Shell_Commands/LoadMonDrvs | LoadMonDrvs]] || Loads monitor (ie: graphic) drivers | |
− | + | |- | |
− | + | | [[Shell_Commands/LoadWB | LoadWB]] || Loads the desktop manager (Ambient) | |
− | + | |- | |
− | + | | [[Shell_Commands/Lock | Lock]] || Write-protects a drive | |
− | + | |- | |
− | + | | [[Shell_Commands/Login | Login]] || Logs in as a different user | |
− | + | |- | |
− | + | | [[Shell_Commands/LuaX | LuaX]] || Interprets a Lua script | |
− | + | |- | |
− | + | | [[Shell_Commands/LZMADec | LZMADec]] || Uncompresses files in the LZMA format | |
− | + | |- | |
− | + | | [[Shell_Commands/LZMAInfo | LZMAInfo]] || Shows information stored in the .lzma file header | |
− | + | |- | |
− | + | | [[Shell_Commands/MakeDir | MakeDir]] || Creates a Directory | |
− | + | |- | |
− | + | | [[Shell_Commands/MakeLink | MakeLink]] || Creates a hard or soft link | |
− | + | |- | |
− | + | | [[Shell_Commands/MemTest | MemTest]] || Runs a memory test | |
− | + | |- | |
− | + | | [[Shell_Commands/ModList | ModList]] || Displays a list of resident modules | |
− | + | |- | |
− | + | | [[Shell_Commands/Mount | Mount]] || Makes a new device known to MorphOS | |
− | + | |- | |
− | + | | [[Shell_Commands/NetConfig | NetConfig]] || Configures network interfaces | |
+ | |- | ||
+ | | [[Shell_Commands/NewCLI | ''NewCLI'']] || Starts a new interactive CLI/SHELL on the system | ||
+ | |- | ||
+ | | [[Shell_Commands/Newer | Newer]] || Compares if a file is newer than an another file in shell scripts | ||
+ | |- | ||
+ | | [[Shell_Commands/NewShell | ''NewShell'']] || Starts a new interactive CLI/SHELL on the system | ||
+ | |- | ||
+ | | [[Shell_Commands/Offline | Offline]] || Brings a network interface offline. | ||
+ | |- | ||
+ | | [[Shell_Commands/Online | Online]] || Brings a network interface online. | ||
+ | |- | ||
+ | | [[Shell_Commands/Open | Open]] || Opens files and locations | ||
+ | |- | ||
+ | | [[Shell_Commands/OpenURL | OpenURL]] || Opens the openurl.library to pass a URL to the appropriate application depending on the URL's protocol and the specified OpenURL prefs settings | ||
+ | |- | ||
+ | | [[Shell_Commands/Passwd | Passwd]] || Changes a user's password | ||
+ | |- | ||
+ | | [[Shell_Commands/Path | ''Path'']] || Sets or displays the search path for executables | ||
+ | |- | ||
+ | | [[Shell_Commands/PathPart | PathPart]] || Extracts directory or file name from a path, or assembles a path | ||
+ | |- | ||
+ | | [[Shell_Commands/PCIScan | PCIScan]] || This command outputs extensive information about the PCI bus | ||
+ | |- | ||
+ | | [[Shell_Commands/PCIWrite | PCIWrite]] || Tool to communicate with PCI devices | ||
+ | |- | ||
+ | | [[Shell_Commands/PenCamTool | PenCamTool]] || Read out images from an USB webcam using the STV680 chip | ||
+ | |- | ||
+ | | [[Shell_Commands/PFSDiskValid | PFSDiskValid]] || Analyses or fixes a PFS3 volume | ||
+ | |- | ||
+ | | [[Shell_Commands/PFSFormat | PFSFormat]] || Formats a PFS3 partition | ||
+ | |- | ||
+ | | [[Shell_Commands/PFSList | PFSList]] || Lists directory contents with PFS3 specific information | ||
+ | |- | ||
+ | | [[Shell_Commands/PFSMakeRollover | PFSMakeRollover]] || Creates rollover files | ||
+ | |- | ||
+ | | [[Shell_Commands/PFSSetDeldir | PFSSetDeldir]] || Sets or displays the size of the .deldir directory | ||
+ | |- | ||
+ | | [[Shell_Commands/PFSSetFileNameSize | PFSSetFileNameSize]] || Sets or retrieves the maximum length of filenames | ||
+ | |- | ||
+ | | [[Shell_Commands/PFSSetRollover | PFSSetRollover]] || Manipulates rollover files | ||
+ | |- | ||
+ | | [[Shell_Commands/Ping | Ping]] || Ping is a utility to measure round-trip-times and check reachability of a host over a IP-network | ||
+ | |- | ||
+ | | [[Shell_Commands/Play | Play]] || Plays audio files supported by the Reggae multimedia framework | ||
+ | |- | ||
+ | | [[Shell_Commands/PlayMidi | PlayMidi]] || CAMD Midi player | ||
+ | |- | ||
+ | | [[Shell_Commands/PortList | PortList]] || Displays a list of ports of running programs | ||
+ | |- | ||
+ | | [[Shell_Commands/PowerMac7FanControl | PowerMac7FanControl]] || For controlling the fan speed and reporting fan status and system sensor temperatures on PowerMac7 systems | ||
+ | |- | ||
+ | | [[Shell_Commands/PowManTool | PowManTool]] || Very simple shell tool to control GemBird SIS-PM Silvershield PowerManager sockets/outlets | ||
+ | |- | ||
+ | | [[Shell_Commands/Prompt | ''Prompt'']] || Changes the prompt for the current CLI/Shell | ||
+ | |- | ||
+ | | [[Shell_Commands/Protect | Protect]] || Changes the protection bits of a file | ||
+ | |- | ||
+ | | [[Shell_Commands/PsdStackloaderToMOSPrefs | PsdStackloaderToMOSPrefs]] || Obsoleted USB stack related command | ||
+ | |- | ||
+ | | [[Shell_Commands/Quit | ''Quit'']] || Exits a batch file with specified return code | ||
+ | |- | ||
+ | | [[Shell_Commands/Quote | Quote]] || Quotes strings in various ways | ||
+ | |- | ||
+ | | [[Shell_Commands/Reboot | Reboot]] || Resets the computer | ||
+ | |- | ||
+ | | [[Shell_Commands/Relabel | Relabel]] || Changes the name of a disk | ||
+ | |- | ||
+ | | [[Shell_Commands/RemRAD | RemRAD]] || Removes recoverable RAM-Drive from the system | ||
+ | |- | ||
+ | | [[Shell_Commands/Rename | Rename]] || Renames files and directories | ||
+ | |- | ||
+ | | [[Shell_Commands/RequestChoice | RequestChoice]] || Asks for input via a requester | ||
+ | |- | ||
+ | | [[Shell_Commands/RequestFile | RequestFile]] || Asks for a filename via a file requester | ||
+ | |- | ||
+ | | [[Shell_Commands/Resident | ''Resident'']] || Adds or Removes a command in memory | ||
+ | |- | ||
+ | | [[Shell_Commands/ResList | ResList]] || Displays a list of all resources in memory | ||
+ | |- | ||
+ | | [[Shell_Commands/RexxMast | RexxMast]] || Starts the ARexx Server | ||
+ | |- | ||
+ | | [[Shell_Commands/RocketTool | RocketTool]] || Controls a USB Rocket or Missile Launcher | ||
+ | |- | ||
+ | | [[Shell_Commands/Route | Route]] || Shows or manipulates the IP routing table | ||
+ | |- | ||
+ | | [[Shell_Commands/Run | ''Run'']] || Spawns a background shell or process | ||
+ | |- | ||
+ | | [[Shell_Commands/RunFS | RunFS]] || Runs/mounts a network filesystem in background | ||
+ | |- | ||
+ | | [[Shell_Commands/RX | RX]] || Interprets the specified ARexx script | ||
+ | |- | ||
+ | | [[Shell_Commands/RXC | RXC]] || Closes the resident process | ||
+ | |- | ||
+ | | [[Shell_Commands/RXCmd | RXCmd]] || Executes single ARexx commands on a given ARexx port directly | ||
+ | |- | ||
+ | | [[Shell_Commands/RXLIB | RXLIB]] || Preadds an arexx library/host to the global list for scripts | ||
+ | |- | ||
+ | | [[Shell_Commands/RXSET | RXSET]] || Adds a (name,value) pair to the Clip List | ||
+ | |- | ||
+ | | [[Shell_Commands/Search | Search]] || Searches a file or pattern for a string | ||
+ | |- | ||
+ | | [[Shell_Commands/SegTracker | SegTracker]] || Tracking utility for disk loaded files (inc. libs and devs) | ||
+ | |- | ||
+ | | [[Shell_Commands/SendBeacon | SendBeacon]] || Creates notifications | ||
+ | |- | ||
+ | | [[Shell_Commands/Set | ''Set'']] || Creates or modifies specified local environment variable | ||
+ | |- | ||
+ | | [[Shell_Commands/SetClock | SetClock]] || Changes system and/or internal clock time | ||
+ | |- | ||
+ | | [[Shell_Commands/SetClockNTP | SetClockNTP]] || Syncs the realtime clock from the internet using Network Time Protocol | ||
+ | |- | ||
+ | | [[Shell_Commands/SetDate | SetDate]] || Changes the last modification date of a file | ||
+ | |- | ||
+ | | [[Shell_Commands/Setenv | ''Setenv'']] || Creates or modifies specified global environment variable | ||
+ | |- | ||
+ | | [[Shell_Commands/SetKeyboard | SetKeyboard]] || Sets keyboard layout | ||
+ | |- | ||
+ | | [[Shell_Commands/SetMixer | SetMixer]] || Sets audio input and output mixing | ||
+ | |- | ||
+ | | [[Shell_Commands/ShowCGXConfig | ShowCGXConfig]] || Shows information about installed graphics cards and driver versions | ||
+ | |- | ||
+ | | [[Shell_Commands/ShowConfig | ShowConfig]] || Shows system configuration information about software versions, hardware, and registered user | ||
+ | |- | ||
+ | | [[Shell_Commands/ShowInterface | ShowInterface]] || Shows network interface information | ||
+ | |- | ||
+ | | [[Shell_Commands/Shutdown | ShutDown]] || Shuts down the computer | ||
+ | |- | ||
+ | | [[Shell_Commands/Skip | ''Skip'']] || Skips to the appropriate label | ||
+ | |- | ||
+ | | [[Shell_Commands/SmbFS | SmbFS]] || Mounts a samba share (SMB1) | ||
+ | |- | ||
+ | | [[Shell_Commands/Smb2FS | Smb2FS]] || Mounts a samba share (SMB2/3) | ||
+ | |- | ||
+ | | [[Shell_Commands/SonixCamTool | SonixCamTool]] || Read out images from an USB webcam using the Sonix Technologies chipset with OV7630 sensors. | ||
+ | |- | ||
+ | | [[Shell_Commands/Sort | Sort]] || Sorts a file | ||
+ | |- | ||
+ | | [[Shell_Commands/Ssh2FS | Ssh2FS]] || Mounts a SFTP share | ||
+ | |- | ||
+ | | [[Shell_Commands/Stack | ''Stack'']] || Sets or displays the current stack size | ||
+ | |- | ||
+ | | [[Shell_Commands/Stat | Stat]] || Displays some system stats since boot | ||
+ | |- | ||
+ | | [[Shell_Commands/Status | Status]] || Displays a list of currently running CLI processes | ||
+ | |- | ||
+ | | [[Shell_Commands/TaskList | TaskList]] || Displays a detailed list of all running tasks | ||
+ | |- | ||
+ | | [[Shell_Commands/TCC | TCC]] || Closes the global tracing console | ||
+ | |- | ||
+ | | [[Shell_Commands/TCO | TCO]] || Opens the global tracing console | ||
+ | |- | ||
+ | | [[Shell_Commands/tcpdump | tcpdump]] || Dumps traffic on a network. | ||
+ | |- | ||
+ | | [[Shell_Commands/TE | TE]] || Clears the global tracing flag | ||
+ | |- | ||
+ | | [[Shell_Commands/Time | Time]] || Measures the time it takes to execute a command | ||
+ | |- | ||
+ | | [[Shell_Commands/Touch | Touch]] || Creates a file | ||
+ | |- | ||
+ | | [[Shell_Commands/TraceRoute | TraceRoute]] || Traceroute is a computer network diagnostic tool for displaying the route (path) and measuring transit delays of packets across an Internet Protocol (IP) network | ||
+ | |- | ||
+ | | [[Shell_Commands/Trance | Trance]] || Activates JIT 68k emulation | ||
+ | |- | ||
+ | | [[Shell_Commands/TS | TS]] || Starts interactive tracing by setting the external trace flag | ||
+ | |- | ||
+ | | [[Shell_Commands/Type | Type]] || Displays the contents of a file to the screen | ||
+ | |- | ||
+ | | [[Shell_Commands/Unalias | ''Unalias'']] || Removes the named alias from the alias list | ||
+ | |- | ||
+ | | [[Shell_Commands/UnMount | UnMount]] || Try to unmount specified device | ||
+ | |- | ||
+ | | [[Shell_Commands/UnRAR | UnRAR]] || Uncompresses RAR archives | ||
+ | |- | ||
+ | | [[Shell_Commands/Unset | ''Unset'']] || Removes a local variable | ||
+ | |- | ||
+ | | [[Shell_Commands/Unsetenv | ''Unsetenv'']] || Removes a global variable | ||
+ | |- | ||
+ | | [[Shell_Commands/Uptime | Uptime]] || Shows uptime of MorphOS | ||
+ | |- | ||
+ | | [[Shell_Commands/USBDevLister | USBDevLister]] || Lists all found USB devices | ||
+ | |- | ||
+ | | [[Shell_Commands/USBErrorLog | USBErrorLog]] || Shows all USB-Related messages since the start of the stack | ||
+ | |- | ||
+ | | [[Shell_Commands/Version | Version]] || Reports the version number of the specified file | ||
+ | |- | ||
+ | | [[Shell_Commands/Wait | Wait]] || Waits for an amount of time | ||
+ | |- | ||
+ | | [[Shell_Commands/WaitForLib | WaitForLib]] || Waits 10 seconds for library to appear | ||
+ | |- | ||
+ | | [[Shell_Commands/WaitForNotification | WaitForNotification]] || Waits for file notifications | ||
+ | |- | ||
+ | | [[Shell_Commands/WaitForPort | WaitForPort]] || Waits 10 secs for port to appear | ||
+ | |- | ||
+ | | [[Shell_Commands/WaitX | WaitX]] || Waits for an amount of time and then executes the given command line | ||
+ | |- | ||
+ | | [[Shell_Commands/WakeOnLAN | WakeOnLAN]] || Sends a Wake-on-LAN message | ||
+ | |- | ||
+ | | [[Shell_Commands/WBRun | WBRun]] || Starts the specified command as if it was started from Ambient | ||
+ | |- | ||
+ | | [[Shell_Commands/Which | Which]] || Searches the command path for a particular item | ||
+ | |- | ||
+ | | [[Shell_Commands/WhoAmI | WhoAmI]] || Displays the username of the current user | ||
+ | |- | ||
+ | | [[Shell_Commands/Why | ''Why'']] || Displays return code of last executed command | ||
+ | |- | ||
+ | | [[Shell_Commands/XAD2LhA | XAD2LhA]] || Extracts data from other archives and stores it in an LhA archive | ||
+ | |- | ||
+ | | [[Shell_Commands/XADLibInfo | XADLibInfo]] || Displays the name, flags, ID, required xadmaster version, version and revision of all clients in xadmaster.library | ||
+ | |- | ||
+ | | [[Shell_Commands/XADList | XADList]] || Examines files and prints the names of the archivers | ||
+ | |- | ||
+ | | [[Shell_Commands/XADUnDisk | XADUnDisk]] || The master shell tool to extract data from disk archives | ||
+ | |- | ||
+ | | [[Shell_Commands/XADUnFile | XADUnFile]] || The master shell tool to extract data from file archives | ||
+ | |- | ||
+ | | [[Shell_Commands/XADUnTar | XADUnTar]] || A shell tool to extract data from Tar archives and compressed Tar archives | ||
+ | |- | ||
+ | | [[Shell_Commands/XZ | XZ]] || Compresses or uncompresses files | ||
+ | |- | ||
+ | | [[Shell_Commands/XZDec | XZDec]] || Uncompresses XZ archives | ||
+ | |} |
Latest revision as of 12:20, 19 May 2023
In order to find out how to use a particular command, type its name in a shell window, add '?' (without quotes) and press Enter. An explanation of MorphOS Shell arguments can be found here.
For learning how pattern matching (wildcards) works on MorphOS, please read the Pattern Matching article.
Names written in italics are internal commands, which can't be found as separate files from your filesystem, but you can list them with the Resident command.
By installing MorphOS Software Development Kit you will also get hundreds of traditional Unix commands which aren't listed here. 3rd party commands (native and legacy commands) can be installed by copying them to the SYS:C/ directory.
AddAudioModes | Builds and removes audio modes that AHI can understand |
AddBuffers | Adds or displays cache buffers allocated for a drive |
AddDataTypes | Activates datatypes or adds another datatype |
AddUSBClasses | Add or remove Classes from the USB stack |
AddUSBHardware | Manually add or remove USB hardware to/from MorphOS |
Alias | Sets or displays command aliases |
ARP | Displays and manipulates the Address Resolution Protocol cache |
Ask | Displays a question at the execution of a script |
AskHost | Displays the hostent information of a host |
Assign | Lists, creates, modifies or removes an assign from MorphOS |
Avail | Displays the amount of free memory available |
Battery | Displays laptop's battery information |
Beep | Flashes the current front-most screen |
BindDrivers | Activates device drivers in expansion drawer (outdated) |
Break | Allows to send a signal (for eg. CTRL+C) to a process |
Bz2 | Compresses or decompresses files |
CD | Changes or displays current directory |
ChangeTaskPri | Changes the priority of the given process |
ClearRAMDebugLog | Clears the RAM debug log |
CLI | Starts a new interactive CLI on the system |
Clip | Manages clipboard contents |
Clone | Reads the standard input or a file and writes it to both standard output and a specified file |
Cls | Clears the console window |
ConClip | Activates or De-activates the Clipboard |
ConvertText | Converts a text file to a different character encoding |
Copy | Copies a source file or directory to another directory |
CPU | Displays information about the CPU of the computer |
Date | Displays or sets the date and time of the system |
Debug | Sets debug options |
Delete | Deletes one or more files/directories |
DevList | Displays a list of all devices present in memory |
Dir | Lists file and directory names (w/o attributes) |
DiskCache | Reworked DynamiCache disk caching engine to improve I/O performance |
DiskChange | Informs MorphOS of a diskchange |
DiskFree | Displays available space of specified volume |
DOSList | Displays a detailed list of devices, volumes, and assigns |
DRadioTool | Controls an USB Radio manufactured by D-Link or GemTek |
Echo | Displays the specified message |
Ed | A simple text editor |
Eject | Simple command to eject CD media |
Else | Specifies an alternative for an IF statement in a script file. |
EndCLI | Closes CLI/Shell Window or Tab |
EndIf | Terminates an IF block in a script file |
EndShell | Closes CLI/Shell Window or Tab |
EndSkip | Stops a SKIP branch |
Eval | Evaluates a mathematical expression |
Exe2Arc | Extracts the archive data from self extracting archive files |
Execute | Executes a batch file |
Failat | Changes failure limit for scripts (0=Ok, 5=Warn, 10=Error) |
Fault | Translates numeric error codes to ASCII text |
FileNote | Set a comment for a file |
FileWrite | Writes data to a file |
FlushLib | Removes unused libraries from memory |
Format | Formats a disk |
Freeze | Suspends tasks |
FSDie | Kills a filesystem from a drive |
FSList | Displays a list of all FileSystem present in memory |
FSPrefs | Sets preferences for specified device |
FSTest | Benchmarks some basic FileSystem operations |
Get | Displays the contents of a local environment variable |
Getenv | Displays the contents of a global environment variable |
GetRAMDebugLog | Writes the RAM debug log to a file |
HDMBRClear | Clears a master boot record from a drive |
HDRead | Reads sector(s) from device/unit and dumps them to shell |
HDTest | Benchmark FileSystem operations using direct device access |
HDWrite | Writes sectors to a drive |
HFSSetMacBoot | Sets HFS specific attributes so MAC can autoboot |
HI | Send all active ARexx programs an external halt request |
IconX | Executes a batch file from the desktop (Ambient) |
ID | Prints UID and GID of a user |
IDEStandby | Spins down the motor of IDE HDs |
If | Adds intelligent branching to scripts |
IfConfig | Configures network interfaces and shows interface configurations |
iKill | Kills the specified program and tries to free its resources |
Info | Displays information about mounted filesystems |
Install | Writes a boot block or inspects a boot block on a floppy disk or a PCMCIA card, or a compatible device |
Installer | Installs software by interpreting their installation scripts |
IPrefs | Initialises preferences files on startup |
Join | Joins several files into one bigger file |
Lab | Defines a label in a batch file |
LhA | Compresses or uncompresses files/dirs |
LibList | Displays information about libraries present in memory |
List | Lists the contents of the specified directory |
LoadLib | Loads libraries or classes into memory |
LoadMonDrvs | Loads monitor (ie: graphic) drivers |
LoadWB | Loads the desktop manager (Ambient) |
Lock | Write-protects a drive |
Login | Logs in as a different user |
LuaX | Interprets a Lua script |
LZMADec | Uncompresses files in the LZMA format |
LZMAInfo | Shows information stored in the .lzma file header |
MakeDir | Creates a Directory |
MakeLink | Creates a hard or soft link |
MemTest | Runs a memory test |
ModList | Displays a list of resident modules |
Mount | Makes a new device known to MorphOS |
NetConfig | Configures network interfaces |
NewCLI | Starts a new interactive CLI/SHELL on the system |
Newer | Compares if a file is newer than an another file in shell scripts |
NewShell | Starts a new interactive CLI/SHELL on the system |
Offline | Brings a network interface offline. |
Online | Brings a network interface online. |
Open | Opens files and locations |
OpenURL | Opens the openurl.library to pass a URL to the appropriate application depending on the URL's protocol and the specified OpenURL prefs settings |
Passwd | Changes a user's password |
Path | Sets or displays the search path for executables |
PathPart | Extracts directory or file name from a path, or assembles a path |
PCIScan | This command outputs extensive information about the PCI bus |
PCIWrite | Tool to communicate with PCI devices |
PenCamTool | Read out images from an USB webcam using the STV680 chip |
PFSDiskValid | Analyses or fixes a PFS3 volume |
PFSFormat | Formats a PFS3 partition |
PFSList | Lists directory contents with PFS3 specific information |
PFSMakeRollover | Creates rollover files |
PFSSetDeldir | Sets or displays the size of the .deldir directory |
PFSSetFileNameSize | Sets or retrieves the maximum length of filenames |
PFSSetRollover | Manipulates rollover files |
Ping | Ping is a utility to measure round-trip-times and check reachability of a host over a IP-network |
Play | Plays audio files supported by the Reggae multimedia framework |
PlayMidi | CAMD Midi player |
PortList | Displays a list of ports of running programs |
PowerMac7FanControl | For controlling the fan speed and reporting fan status and system sensor temperatures on PowerMac7 systems |
PowManTool | Very simple shell tool to control GemBird SIS-PM Silvershield PowerManager sockets/outlets |
Prompt | Changes the prompt for the current CLI/Shell |
Protect | Changes the protection bits of a file |
PsdStackloaderToMOSPrefs | Obsoleted USB stack related command |
Quit | Exits a batch file with specified return code |
Quote | Quotes strings in various ways |
Reboot | Resets the computer |
Relabel | Changes the name of a disk |
RemRAD | Removes recoverable RAM-Drive from the system |
Rename | Renames files and directories |
RequestChoice | Asks for input via a requester |
RequestFile | Asks for a filename via a file requester |
Resident | Adds or Removes a command in memory |
ResList | Displays a list of all resources in memory |
RexxMast | Starts the ARexx Server |
RocketTool | Controls a USB Rocket or Missile Launcher |
Route | Shows or manipulates the IP routing table |
Run | Spawns a background shell or process |
RunFS | Runs/mounts a network filesystem in background |
RX | Interprets the specified ARexx script |
RXC | Closes the resident process |
RXCmd | Executes single ARexx commands on a given ARexx port directly |
RXLIB | Preadds an arexx library/host to the global list for scripts |
RXSET | Adds a (name,value) pair to the Clip List |
Search | Searches a file or pattern for a string |
SegTracker | Tracking utility for disk loaded files (inc. libs and devs) |
SendBeacon | Creates notifications |
Set | Creates or modifies specified local environment variable |
SetClock | Changes system and/or internal clock time |
SetClockNTP | Syncs the realtime clock from the internet using Network Time Protocol |
SetDate | Changes the last modification date of a file |
Setenv | Creates or modifies specified global environment variable |
SetKeyboard | Sets keyboard layout |
SetMixer | Sets audio input and output mixing |
ShowCGXConfig | Shows information about installed graphics cards and driver versions |
ShowConfig | Shows system configuration information about software versions, hardware, and registered user |
ShowInterface | Shows network interface information |
ShutDown | Shuts down the computer |
Skip | Skips to the appropriate label |
SmbFS | Mounts a samba share (SMB1) |
Smb2FS | Mounts a samba share (SMB2/3) |
SonixCamTool | Read out images from an USB webcam using the Sonix Technologies chipset with OV7630 sensors. |
Sort | Sorts a file |
Ssh2FS | Mounts a SFTP share |
Stack | Sets or displays the current stack size |
Stat | Displays some system stats since boot |
Status | Displays a list of currently running CLI processes |
TaskList | Displays a detailed list of all running tasks |
TCC | Closes the global tracing console |
TCO | Opens the global tracing console |
tcpdump | Dumps traffic on a network. |
TE | Clears the global tracing flag |
Time | Measures the time it takes to execute a command |
Touch | Creates a file |
TraceRoute | Traceroute is a computer network diagnostic tool for displaying the route (path) and measuring transit delays of packets across an Internet Protocol (IP) network |
Trance | Activates JIT 68k emulation |
TS | Starts interactive tracing by setting the external trace flag |
Type | Displays the contents of a file to the screen |
Unalias | Removes the named alias from the alias list |
UnMount | Try to unmount specified device |
UnRAR | Uncompresses RAR archives |
Unset | Removes a local variable |
Unsetenv | Removes a global variable |
Uptime | Shows uptime of MorphOS |
USBDevLister | Lists all found USB devices |
USBErrorLog | Shows all USB-Related messages since the start of the stack |
Version | Reports the version number of the specified file |
Wait | Waits for an amount of time |
WaitForLib | Waits 10 seconds for library to appear |
WaitForNotification | Waits for file notifications |
WaitForPort | Waits 10 secs for port to appear |
WaitX | Waits for an amount of time and then executes the given command line |
WakeOnLAN | Sends a Wake-on-LAN message |
WBRun | Starts the specified command as if it was started from Ambient |
Which | Searches the command path for a particular item |
WhoAmI | Displays the username of the current user |
Why | Displays return code of last executed command |
XAD2LhA | Extracts data from other archives and stores it in an LhA archive |
XADLibInfo | Displays the name, flags, ID, required xadmaster version, version and revision of all clients in xadmaster.library |
XADList | Examines files and prints the names of the archivers |
XADUnDisk | The master shell tool to extract data from disk archives |
XADUnFile | The master shell tool to extract data from file archives |
XADUnTar | A shell tool to extract data from Tar archives and compressed Tar archives |
XZ | Compresses or uncompresses files |
XZDec | Uncompresses XZ archives |