The following are commands for files, file handling procedures,
and DOS files. There is also a list of commands for linking files and directories.
Table 1. Commands for files | Item |
Description |
| * |
Wildcard, matches any characters |
| ? |
Wildcard, matches any single character |
| [ ] |
Metacharacters, matches enclosed characters. |
Table 2. Commands for file handling procedures | Item |
Description |
| cat |
Concatenates or displays files |
| cmp |
Compares two files |
| colrm |
Extracts columns from a file |
| cp |
Copies files |
| cut |
Writes out selected bytes, characters, or fields from
each line of a file |
| diff |
Compares text files |
| file |
Determines the file type |
| find |
Finds files with a matching expression |
| grep |
Searches a file for a pattern |
| head |
Displays the first few lines or bytes of a file or files |
| more |
Displays continuous text one screen at a time on a display
screen |
| mv |
Moves files |
| nl |
Numbers lines in a file |
| pg |
Formats files to the display |
| rm |
Removes (unlinks) files or directories |
| paste |
Merges the lines of several files or subsequent lines
in one file |
| sort |
Sorts files, merges files that are already sorted, and
checks files to determine if they have been sorted |
| tail |
Writes a file to standard output, beginning at a specified
point |
| wc |
Counts the number of lines, words, and bytes in a file |
Table 3. Command for linking files and directories | Item |
Description |
| ln |
Links files and directories |
Table 4. Commands for DOS files | Item |
Description |
| dosdel |
Deletes DOS files |
| dosdir |
Lists the directory for DOS files |
| dosread |
Copies DOS files to Base Operating System files |
| doswrite |
Copies Base Operating System files to DOS files |