mmbasic:mmunix_unix_like_commands_cat_dir_grep_more
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
mmbasic:mmunix_unix_like_commands_cat_dir_grep_more [2024/02/07 14:39] – [MMUNIX - UNIX-like commands: cat dir grep more] gerry | mmbasic:mmunix_unix_like_commands_cat_dir_grep_more [2024/02/07 14:54] (current) – [more - MORE.BAS] gerry | ||
---|---|---|---|
Line 13: | Line 13: | ||
These commands support the following useful command-line features: | These commands support the following useful command-line features: | ||
- | * File and directory name globbing with * and ? | + | * File and directory name globbing with '' |
- | + | * Paths can be separated with '' | |
- | * Paths can be separated with \ as usual or with / | + | * Input can be redirected with '' |
- | + | * Output can be redirected with '' | |
- | * Input can be redirected with < | + | |
- | + | ||
- | * Output can be redirected with < | + | |
These are implied RUN commands that you can rename, for example rename file CAT.BAS to MMCAT.BAS to rename '' | These are implied RUN commands that you can rename, for example rename file CAT.BAS to MMCAT.BAS to rename '' | ||
Line 53: | Line 50: | ||
Usage: | Usage: | ||
- | dir [-a]] [-p]] PATHNAMES | + | dir [-a][-p] PATHNAMES |
-a show hidden files and directories | -a show hidden files and directories | ||
-p do not pause | -p do not pause | ||
Line 74: | Line 71: | ||
Usage: | Usage: | ||
- | grep [-f]] [-n]] " | + | grep [-f][-n] " |
-f fast string matching | -f fast string matching | ||
-n include line numbers in the output | -n include line numbers in the output | ||
Line 112: | Line 109: | ||
Usage: | Usage: | ||
- | more [-a]] [-n]] [-p]] [-r]] [-x]] PATHNAMES</ | + | more [-a][-n][-p][-r][-x] PATHNAMES |
-a show contents of hidden files | -a show contents of hidden files | ||
-n add line numbers | -n add line numbers |
mmbasic/mmunix_unix_like_commands_cat_dir_grep_more.1707277174.txt.gz · Last modified: 2024/02/07 14:39 by gerry