UNIX Command Example: echo - Display Print Present Object

UNIX Command Example: echo - Display Print Present Object Value

Logon to UNIX command prompt then copy & past the bellow code to get some result:

   echo "I will echo or print or present this text"

   CurrentDateTime=`date '+%m/%d/%y%nTime :%H:%M:%S'`
   echo $CurrentDateTime

   echo "This is an example of string & variable ",$CurrentDateTime

   Here "echo" is the command to Display or present or echo an object & it is an Example of printing string object
   "echo $CurrentDateTime" Display variable object.
   third one Display string & variable together.
   If everything went well we should get some interesting result as follows:

UNIX Command Example: echo - Display Print Present Object Value - Result in the UNIX command prompt

No comments:

Post a Comment

leave your comments here..