Afficher un message
Vieux 12/09/2007, 20h18   #4
Cyrus Kriticos
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Unix command output to HTML !! sorry Off topic !!!

BN wrote:
>
> I have setup ssh and able to run ssh command to display the info on
> the webpage
> for example (ssh user@host bdf)
> But the output displayed on the page is not formatted.


ssh user@host bdf | sed "s/$/<br>/"


or


echo '<pre>'
ssh user@host bdf
echo '</pre>'

--
Best regards | "The only way to really learn scripting is to write
Cyrus | scripts." -- Advanced Bash-Scripting Guide
  Réponse avec citation
 
Page generated in 0,04973 seconds with 9 queries