User Tools

Site Tools


shell

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
shell [2010/05/31 14:01]
vidarh
shell [2011/03/20 15:03]
vidarh old revision restored
Line 54: Line 54:
 The character after "/"​ indicates the type of argument. The character after "/"​ indicates the type of argument.
  
-  * M = Multiple ​strings +  * /A = Mandatory argument 
-  * 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 71:
 ==== 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 ?|       | 
shell.txt · Last modified: 2011/09/30 07:57 by 192.89.97.1