This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
shell [2010/05/31 14:01] vidarh |
shell [2011/09/30 07:57] (current) 192.89.97.1 |
||
|---|---|---|---|
| Line 29: | Line 29: | ||
| TODO | TODO | ||
| + | |||
| + | ==== MorphOS ==== | ||
| + | |||
| + | The standard shell in MorphOS provides scrollbars, tab completion, command history, iconification, lot of customization options, ability to hide file patterns and tabs. It has *nix compatibility mode for those familiar with Linux and others. | ||
| Line 54: | Line 58: | ||
| The character after "/" indicates the type of argument. | The character after "/" indicates the type of argument. | ||
| - | * M = Multiple strings | + | * /A = Mandatory argument |
| - | * A = String | + | * /F = Argument must be last |
| - | * S = Switch (turn this option on by stating its name) | + | * /M = Multiple arguments |
| + | * /N = Number | ||
| + | * /S = Switch (turn this option on by stating its name) | ||
| Thus this would be a valid string for the program above: | Thus this would be a valid string for the program above: | ||
| Line 69: | Line 75: | ||
| ==== Amiga replacements for common Unix/Linux commands ==== | ==== Amiga replacements for common Unix/Linux commands ==== | ||
| - | ^Linux ^Amiga ^ | + | ^Linux ^Amiga ^Notes ^ |
| - | |cd .. |cd / | | + | |cat somefile.txt |type somefile.txt | | |
| - | |ls |list | | + | |grep -r somefile.txt somedir %%|%% more | search somedir foo >PIPE:some-unique-name \\ more PIPE:some-unique-name | TODO: Explanation of getting Unix style pipes working | |
| - | |ls *.txt |list #?.txt | | + | |cd .. |cd / | | |
| - | |rm foo |delete foo | | + | |ls |list | | |
| - | |grep foo /somedir |search /somedir foo | | + | |ls *.txt |list #?.txt | | |
| - | |grep -r foo /somedir|search /somedir foo ALL| | + | |rm foo |delete foo | | |
| - | |somecommand -?, somecmd --help etc. |somecommand ?| | + | |grep foo /somedir |search /somedir foo | | |
| + | |grep -r foo /somedir|search /somedir foo ALL| | | ||
| + | |somecommand -?, somecmd --help etc. |somecommand ?| | | ||