Shell Commands/Type

From MorphOS Library

< 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 !.