![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| What the command to find out the record length of a fixed length file? | tranq01 | UNIX for Dummies Questions & Answers | 9 | 12-04-2008 04:04 PM |
| length function | ravi raj kumar | UNIX for Advanced & Expert Users | 3 | 08-03-2007 05:40 AM |
| Length of a Unix filepath max length | wilsontan | UNIX for Dummies Questions & Answers | 3 | 02-22-2006 10:19 AM |
| Sed working on lines of small length and not large length | thanuman | UNIX for Dummies Questions & Answers | 3 | 04-15-2005 07:12 AM |
| creating a fixed length output from a variable length input | r1500 | Shell Programming and Scripting | 2 | 12-03-2003 01:09 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
|||||
|
these are my outputs: Code:
ASASTR:clh> ps -ef | grep "bin/Alime" | grep -v grep clh 221867 217065 0.0 11:34:01 pts/4 0:00.08 /usr/local/clh/ALPHA/oasys/bin/AlimentaLookAhead ASASTR:clh> ps -ef | grep "bin/Alime" | grep -v grep | cut -c10-16 221867 ASASTR:clh> ps -ef | grep "bin/Alime" | grep -v grep | cut -d ' ' -f1 clh ASASTR:clh> ps -ef | grep "bin/Alime" | grep -v grep | cut -d ' ' -f2 ASASTR:clh> ps -ef | grep "bin/Alime" | grep -v grep | cut -f2 clh 221867 217065 0.0 11:34:01 pts/4 0:00.08 /usr/local/clh/ALPHA/oasys/bin/AlimentaLookAhead asking for the first column (-f1) i get the username, but asking for the second (-f2) i get the whole line. Thanks. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|