Полезная информация

UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: nohupChapter 4
The Bourne Shell and Korn Shell
Next: Reference: pwd
 

print

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.

Options

-

Ignore all subsequent options.

- -

Same as -.

-n

Don't end output with a newline.

-p

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

-r

Ignore the escape sequences often used with echo.

-R

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

-s

Send string to the history file.

-u[n]

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


Previous: Reference: nohupUNIX in a Nutshell: System V EditionNext: Reference: pwd
Reference: nohupBook IndexReference: pwd

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