Shell Commands/Type

From MorphOS Library

Revision as of 13:33, 3 March 2015 by JPV (talk | contribs) (Created page with "'''Type''' - Displays the contents of a file to the screen FROM/A/M, TO/K, OPT/K, HEX/S, NUMBER/S <nowiki> FROM - Name/Path of the file to display...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

< Shell Commands

Type - Displays the contents of a file to the screen

FROM/A/M, TO/K, OPT/K, HEX/S, NUMBER/S

FROM   - Name/Path of the file to display                                      
TO     - Optional: Destination file where to put results
OPT    - Depreciated: use HEX/NUMBER instead
HEX    - Display content as hexa-decimal instead of plain ASCII
NUMBER - Append the line numbers (can't be used with HEX option)

Example:

  MorphOS:> Type c:file.txt HEX
  0000: 4D6F7270 684F5320 52554C45 5A20210A MorphOS RULEZ !.