What is \c?
i was trying to run a shell script..
# Script to print the user infortmation who currently login , current time & date clear echo "Hello $USER" echo "Today is \c";date echo "Number of user login: \c" ; who | wc -l echo "Calendar" cal exit 0 I am unable to follow the \c and when i execute the script, \c prints as it is. |
clear
echo "Hello $USER" echo -e "Today is \c";date echo -e "Number of user login: \c" ; who | wc -l echo "Calendar" cal exit 0 |
Got it :) Thanx :)
|
All times are GMT -5. The time now is 01:15 PM. |