{
echo "processsing"
echo "PATH = $PATH";
echo "SHELL = $SHELL";
/usr/local/bin/hpt toss
} >/tmp/test.txt 2>&1
So you can see everything that is written to stdout and stderr
I am giving this a go thankyou... Where will I see the errors
from it? I am unfamiliar with stdout and stderr..
It is what the software normally outputs to the console screen (normal
and errors). It's now redirected to the /tmp/test.txt file...
ok, still not tossing but now the test.txt isnt being created with the script above that you suggested?
* Forwarded from area 'BINKD'
Hi Rick,
On 11 Jan 23 20:06, Rick Smith wrote to Wilfred van Velzen:
about: "still not tossing":
{
echo "processsing"
echo "PATH = $PATH";
echo "SHELL = $SHELL";
/usr/local/bin/hpt toss
} >/tmp/test.txt 2>&1
So you can see everything that is written to stdout and stderr
I am giving this a go thankyou... Where will I see the errors
from it? I am unfamiliar with stdout and stderr..
It is what the software normally outputs to the console screen
(normal and errors). It's now redirected to the /tmp/test.txt
file...
ok, still not tossing but now the test.txt isnt being created
with the script above that you suggested?
You don't quote the first line:
#!/bin/bash
Did you include that in the script?
Does it work on the commandline, and creating the /tmp/test.txt file?
Wilfred.
{
echo "processsing"
echo "PATH = $PATH";
echo "SHELL = $SHELL";
/usr/local/bin/hpt toss
} >/tmp/test.txt 2>&1
So you can see everything that is written to stdout and stderr
I am giving this a go thankyou... Where will I see the errors
from it? I am unfamiliar with stdout and stderr..
It is what the software normally outputs to the console screen
(normal and errors). It's now redirected to the /tmp/test.txt
file...
ok, still not tossing but now the test.txt isnt being created
with the script above that you suggested?
Does it work on the commandline, and creating the /tmp/test.txt file?
works fine on command line.. I noticed that it ran last night at
midnight on one packet but /in was still full of pkts... Crazy
* Forwarded from area 'BINKD'
Hi Rick,
On 2023-01-12 05:44:34, you wrote to me:
{
echo "processsing"
echo "PATH = $PATH";
echo "SHELL = $SHELL";
/usr/local/bin/hpt toss
} >/tmp/test.txt 2>&1
So you can see everything that is written to stdout and
stderr
I am giving this a go thankyou... Where will I see the errors
from it? I am unfamiliar with stdout and stderr..
It is what the software normally outputs to the console screen
(normal and errors). It's now redirected to the /tmp/test.txt
file...
ok, still not tossing but now the test.txt isnt being created
with the script above that you suggested?
Does it work on the commandline, and creating the /tmp/test.txt
file?
works fine on command line.. I noticed that it ran last night at
midnight on one packet but /in was still full of pkts... Crazy
And what was in the /tmp/test.txt file after it ran?
And you should probably change the > to >> so the output of previous
runs don't get overwritten. And change the 'echo "processing"' to
'date +"%F %T%tprocessing"', so you can put a timestamp on when things
are happening.
Sysop: | Fercho |
---|---|
Lugar: | La Plata, Buenos Aires |
Usuarios: | 29 |
Nodos: | 10 (0 / 10) |
Uptime: | 181:31:35 |
Llamadas: | 128 |
Archivoss: | 15,607 |
Mensajes: | 38,955 |
Novedades:
Servidor de Quake 3 Arena Online! - Conectate a ferchobbs.ddns.net, puerto 27960 y vence con tu equipo!