FreeBSD 7.0 manual page repository

FreeBSD is a free computer operating system based on BSD UNIX originally. Many IT companies, like DeployIS is using it to provide an up-to-date, stable operating system.

echo - write arguments to the standard output



      echo - write arguments to the standard output


      echo [-n] [string ...]


      The echo utility writes any specified operands, separated by single blank
      (‘ ’) characters and followed by a newline (‘\n’) character, to the stan‐
      dard 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 iden‐
      tical to this utility.  Consult the builtin(1) manual page.
      The echo utility exits 0 on success, and >0 if an error occurs.
      builtin(1), csh(1), printf(1), sh(1)


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


Based on BSD UNIX
FreeBSD is an advanced operating system for x86 compatible (including Pentium and Athlon), amd64 compatible (including Opteron, Athlon64, and EM64T), UltraSPARC, IA-64, PC-98 and ARM architectures. It is derived from BSD, the version of UNIX developed at the University of California, Berkeley. It is developed and maintained by a large team of individuals. Additional platforms are in various stages of development.