![]() |
|
|
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 |
| Jumpstart Issues Solaris 10 | soupbone38 | SUN Solaris | 7 | 12-08-2008 05:41 AM |
| Script works on Solaris, not on Linux | Silverhood | Shell Programming and Scripting | 1 | 10-05-2007 10:52 AM |
| Script works on Solaris, not on Linux | Silverhood | Shell Programming and Scripting | 0 | 10-05-2007 10:27 AM |
| Samba 3.0.14 on Solaris 10 issues | Sapna | SUN Solaris | 0 | 10-10-2005 03:21 PM |
| Solaris boot issues | xyyz | UNIX for Advanced & Expert Users | 6 | 02-14-2003 02:36 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Solaris / Linux Issues with script
Hello,
I run this command from a solaris box and it works just fine. It gives me the kind of output in my file I am looking for which would be for example... sb1p rdop ot2p ot3p eimp However when I do the same thing from a Linux box... ps -ef | grep nco_p_syslog | grep -v grep | awk '{print $NF}' | awk -F. '{print $1}' > $OMNIHOME/bin/syslogfile.dat I get this in the file... /lcl/apps/Tivoli/netcool/omnibus/probes/linux2x86/syslog Both are using #!/bin/ksh I have no idea where it is even getting that long directory path from for the results. Any ideas? Thanks in advance. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|