Sun Microsystems, Inc.
spacerspacer
spacer   www.sun.com docs.sun.com | | |  
spacer
black dot
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
FMLI Commandsecho(1F)


NAME

 echo - put string on virtual output

SYNOPSIS

 echo [string ...]

DESCRIPTION

 

The echo function directs each string it is passed to the standard output. If no argument is given, echo looks to the standard input for input. It is often used in conditional execution or for passing a string to another command.

EXAMPLES

 Example 1. A sample of the echo command.
 

Set the done descriptor to help if a test fails:

 
done=`if [ -s $F1 ];
	then echo close;
	else echo help;
	fi`

ATTRIBUTES

 

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
AvailabilitySUNWcsu

SEE ALSO

 

echo(1), attributes(5)


SunOS 5.9Go To TopLast Changed 5 Jul 1990

 
      
      
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.