shell-script-pt
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [shell-script] duvida - cut


From: Eriberto
Subject: Re: [shell-script] duvida - cut
Date: Tue, 3 Nov 2015 11:19:28 -0200

Duplo espaçamento.

$ ps -fu miranda|head -2|tail -1|tr -s " "|cut -d" " -f2

[]s

Eriberto


2015-11-03 11:13 GMT-02:00 Ultimo de Miranda address@hidden [shell-script] <address@hidden>:
 

Alguém me explica por que isso aqui não me traz o PID do processo ?

[miranda@guitar perl]$ ps -fu miranda|head -2|tail -1
miranda 3537 1 0 Oct22 ?
00:00:00 /usr/libexec/e-calendar-factory
[miranda@guitar perl]$ ps -fu miranda|head -2|tail -1|cut -d" " -f2



reply via email to

[Prev in Thread] Current Thread [Next in Thread]