Hi All,

how we can get single line output of two commands.

suppose, I run
#{ date && uptime; } >> test.log

It creates one test.log file & output is like this..

Thu Jul  8 17:58:47 EST 2010
 17:58:47 up 58 days, 11:58,  3 users,  load average: 0.01, 0.09, 0.10

I want such that result of date & uptime command should be written in same line 
only. while here it in two saperate lines.
HELP ME


Thanks & Regards

Jayesh Labade.



Reply via email to