Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

echo $MEMBER

Status
Not open for further replies.

MagnumVP

IS-IT--Management
Jul 9, 2002
109
US
I was asked today what the command, "echo $MEMBER" would do.

I'm not sure....when I execute it, I receive nothing.

What does "echo $MEMBER" even do?
 
When you see a "$" in front of anything it means it is a variable. So, if you do an echo of $MEMBER it will try to read the data contained in that variable.

Example:

# MEMBER=magnum
# echo $MEMBER
# magnum

Try this exact syntax if you have any questions. Hope this answers your question.
blaine

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top