home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


print [options ] [string ...]

Korn shell only. Display string (on standard output by default). print includes the functions of echo and can be used in its place on most Unix systems.



Ignore all subsequent options.


Same as - .

-f format

Print like printf , using format as the format string. Ignores the -n , -r , and -R options. ksh93 only.


Don't end output with a newline.


Send string to the process created by |& , instead of to standard output.


Ignore the escape sequences often used with echo .


Same as -r and ignore subsequent options (except -n ).


Send string to the history file.

-u [n ]

Send string to file descriptor n (default is 1).

Previous: Reference: nohup UNIX in a Nutshell: System V Edition Next: Reference: printf
Reference: nohup Book Index Reference: printf

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System