Hi
Nice batch file, thanks a lot for it.
I have to redirect the dmidecode output from a remote host (via a proxy host), but it won't work because "^M" at the end. So, I struggling a bit to find why, but it works now with:
ssh root@destination dmidecode | sed -u 's/\r/\n/' | ./dmij.sh -s
just in case someone got also something like
{
"*":
ls: cannot access '/tmp/tmp.WOLBclQvTx/*': No such file or directory
[
{
cat: '/tmp/tmp.WOLBclQvTx/*/*': No such file or directory
}
]
}
Hi
Nice batch file, thanks a lot for it.
I have to redirect the dmidecode output from a remote host (via a proxy host), but it won't work because "^M" at the end. So, I struggling a bit to find why, but it works now with:
ssh root@destination dmidecode | sed -u 's/\r/\n/' | ./dmij.sh -s
just in case someone got also something like