The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
alias a simple ls -l command ajp7701 Shell Programming and Scripting 4 01-23-2008 06:47 PM
Define an alias with an embeded awk command ?? jfortes Shell Programming and Scripting 5 06-05-2007 02:03 PM
a question about alias command jayyu317 UNIX for Dummies Questions & Answers 1 12-11-2006 11:07 PM
alias for rm command shriashishpatil UNIX for Advanced & Expert Users 8 02-23-2006 08:42 AM
I want to create a command alias cstovall UNIX for Dummies Questions & Answers 2 12-03-2002 10:20 AM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 10-22-2007
b_garima b_garima is offline
Registered User
  
 

Join Date: Oct 2007
Posts: 2
Alias a command

Hi

'm executing a java program from my shell script on solaris 9 as

$JAVA_HOME\bin\java -ms32m -mx128m -classpath $CLASSPATH com.abc.fwk,abcServer.abcfwkServer $1 &

where $1 is port number

when i do ps -ef, it shows whole command , i want to give this some alias name as abcProcess, so that i can use this while monitoring, using grep
command and ps -ef shows
b_garima 25954 22952 0 19:03 pts/12 00:00:00 abcProcess 5678
instead of

b_garima 25977 1 6 19:03 pts/12 00:00:00 /usr/java/j2sdk1.4.2_15/bin/java -ms32m -mx128m -classpath ../lib/curfwk-4.20-build1.jar com.abc.fwk.abcServer.abcfwkServer 5678


i was trying to alias this command but its showing same result only not the expected one.

can anyone please help me??
Thanks in advance.
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 12:29 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0