Björn Steinbrink wrote:
> Probably the first few lines go to stderr. I'd try:
>
> k8055 -m:1 2>/dev/null | tail -1 | cut -d';' -f2
Yes Björn, this gives me the wanted output.
See:
asterisk:/home/henkoegema# k8055 -m:1 2>/dev/null | tail -1 | cut -d';' -f2
0 <--------

asterisk:/home/henkoegema#
One of my mistakes in the 'cut' command was d: i.s.o. d';'
Only one step left now:
How can I assign the output to a bash variable ?