*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> echo (1)              
Title
Content
Arch
Section
 

ECHO(1)

Contents


NAME    [Toc]    [Back]

     echo -- write arguments to the standard output

SYNOPSIS    [Toc]    [Back]

     echo [-n] [string ...]

DESCRIPTION    [Toc]    [Back]

     The echo utility writes any specified operands, separated by single blank
     (` ') characters and followed by a newline (`\n') character, to the standard
 output.

     The following option is available:

     -n    Do not print the trailing newline character.  This may also be
	   achieved by appending `\c' to the end of the string, as is done by
	   iBCS2 compatible systems.  Note that this option as well as the
	   effect of `\c' are implementation-defined in IEEE Std 1003.1-2001
	   (``POSIX.1'') as amended by Cor. 1-2002.  Applications aiming for
	   maximum portability are strongly encouraged to use printf(1) to
	   suppress the newline character.

     Some shells may provide a builtin echo command which is similar or identical
 to this utility.  Consult the builtin(1) manual page.

DIAGNOSTICS    [Toc]    [Back]

     The echo utility exits 0 on success, and >0 if an error occurs.

SEE ALSO    [Toc]    [Back]

      
      
     builtin(1), csh(1), printf(1), sh(1)

STANDARDS    [Toc]    [Back]

     The echo utility conforms to IEEE Std 1003.1-2001 (``POSIX.1'') as
     amended by Cor. 1-2002.


FreeBSD 5.2.1			April 12, 2003			 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
echo Tru64 Writes its arguments to standard output
tee Linux read from standard input and write to standard output and files
putwchar Linux write a wide character to standard output
strace HP-UX write STREAMS event trace messages to standard output
bad144 OpenBSD read/write DEC standard 144 bad sector information
writev NetBSD write output
pwrite FreeBSD write output
writev FreeBSD write output
pwrite NetBSD write output
write NetBSD write output
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service