Search Results

Search: Posts Made By: sbaker
5,463
Posted By sbaker
This works for me on AIX, but on Linux it always...
This works for me on AIX, but on Linux it always returns:

myShell->[test.sh]
5,463
Posted By sbaker
Both of these return the name of the script. If I...
Both of these return the name of the script. If I have a script named test.sh:
#!/bin/sh
ps -p$$ | xargs -n1 | tail -1

or

#!/bin/sh
ps p$$ ocomm h

both return "test.sh". I'm on RHEL...
5,463
Posted By sbaker
$SHELL only shows the shell set at login. So if...
$SHELL only shows the shell set at login. So if I login, $SHELL = /bin/ksh. If I start a new /bin/sh from my /bin/ksh, $SHELL still = /bin/ksh.

Sean.
5,463
Posted By sbaker
How to tell which shell is running a script
I've been searching for a while and haven't found this answer anywhere.

How can I tell which shell is running my script from within the script? For example, I have lots of older scripts that we...
Forum: Red Hat 05-06-2009
2,553
Posted By sbaker
Remote printing from Linux to AIX
Hello,

I also posted this on the AIX forum in hopes of getting help.

I am trying to setup remote printing from a Linux machine (Red Hat 5.3) to an AIX machine (AIX 5.3). Remote printing for...
Forum: AIX 05-06-2009
3,225
Posted By sbaker
Remote printing from Linux to AIX
Hello,

I am trying to setup remote printing from a Linux machine (Red Hat 5.3) to an AIX machine (AIX 5.3). Remote printing for "normal" print jobs is working out OK, but I'm having trouble with...
Showing results 1 to 6 of 6

 
All times are GMT -4. The time now is 09:19 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy