Afficher un message
Vieux 24/03/2008, 02h02   #1
David Martin, NolaFlash.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Concatenating command output with newlines

Hi folks,

I am periodically logging the output of ps aux to a file and I want to
tack on a couple newlines but I can't get the command phrased
correctly.

I have tried various ways but most recently:

/bin/cat /bin/ps aux "\n\n" >> /home/foo/ps.log

Also tried

bin/cat | /bin/ps aux . "\n\n" >> /home/nolaflash/ps.log

How is this done correctlty?

TIA!

JG
  Réponse avec citation
 
Page generated in 0,04755 seconds with 9 queries