Name
cat — Displays the value of a shell object
Synopsis
cat [-p] objectName
Description
cat
is
the shell command that displays the content of an environment
variable on stdout. cat knows
how to display a limited (but growing) set of JXTA objects
(Advertisement, Message, and
StructuredDocument). If you are not sure whether
cat knows how to print the object, try to
cat it anyway: the command will let you know if it
can display that object.
Options
-
-p Pretty display. Use a MIME type of “text/plain” to print a structured document (as opposed to the default of “text/xml”).
Example
JXTA>importfile -f /home/tra/myfile myfileJXTA>cat -p myfile
This command imports the file /home/tra/myfile
into the myfile environment variable and displays
it on stdout.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access