Skip to main content
Corrected some infos.
Source Link
β.εηοιτ.βε
  • 40.3k
  • 14
  • 81
  • 104

I'm using sshpass to get the output of different statistics of a machine. However
However the output is all bunched together:

sshpass -p *****_PASSWORD ssh -o StrictHostKeyChecking=no mlinfra@$ADDRESS 'hostname; w; df -h; free'

sshpass -p *****_PASSWORD ssh -o StrictHostKeyChecking=no mlinfra@$ADDRESS 'hostname; w; df -h; free'

Ideally I would like to have a new line in between the output of hostnamehostname, ww, df-hdf -h and freefree

I'm using sshpass to get the output of different statistics of a machine. However the output is all bunched together

sshpass -p *****_PASSWORD ssh -o StrictHostKeyChecking=no mlinfra@$ADDRESS 'hostname; w; df -h; free'

Ideally I would like to have a new line in between the output of hostname, w, df-h and free

I'm using sshpass to get the output of different statistics of a machine.
However the output is all bunched together:

sshpass -p *****_PASSWORD ssh -o StrictHostKeyChecking=no mlinfra@$ADDRESS 'hostname; w; df -h; free'

Ideally I would like to have a new line in between the output of hostname, w, df -h and free

Creating new columnsline for output from sshpass copmmandscommands

I'm using sshpasssshpass to get the output of different statistics of a machine. However the output is all bunched together

sshpass -p *****_PASSWORD ssh -o StrictHostKeyChecking=no mlinfra@$ADDRESS 'hostname; w; df -h; free'

Ideally I would like to have a new line in between the output of hostname, w, df-h and free

Creating new columns for output from sshpass copmmands

I'm using sshpass to get the output of different statistics of a machine. However the output is all bunched together

sshpass -p *****_PASSWORD ssh -o StrictHostKeyChecking=no mlinfra@$ADDRESS 'hostname; w; df -h; free'

Ideally I would like a new line in between the output of hostname, w, df-h and free

Creating new line for output from commands

I'm using sshpass to get the output of different statistics of a machine. However the output is all bunched together

sshpass -p *****_PASSWORD ssh -o StrictHostKeyChecking=no mlinfra@$ADDRESS 'hostname; w; df -h; free'

Ideally I would like to have a new line in between the output of hostname, w, df-h and free

Source Link

Creating new columns for output from sshpass copmmands

I'm using sshpass to get the output of different statistics of a machine. However the output is all bunched together

sshpass -p *****_PASSWORD ssh -o StrictHostKeyChecking=no mlinfra@$ADDRESS 'hostname; w; df -h; free'

Ideally I would like a new line in between the output of hostname, w, df-h and free