Search Results

Search: Posts Made By: Sagar Mehta
8,421
Posted By Sagar Mehta
Please note..
1. The echo $? is showing the results of the rsh command. Not the
remotely executed command.
2. rsh has no built-in ability to return the exit code of a remote
command.
3. Use ssh, it does...
27,413
Posted By Sagar Mehta
Use getopt option as specified below in code.. ...
Use getopt option as specified below in code..

#!/bin/bash

args=`getopt abc: $*`
if test $? != 0
then
echo 'Usage: -a option_a -b option_b -c option_c'
exit 1
fi
...
Forum: Solaris 07-13-2009
45,320
Posted By Sagar Mehta
Use either uname -a or...
Use either

uname -a

or /usr/platform/sun4u/sbin/prtdiag
2,337
Posted By Sagar Mehta
Use below commands... who | grep -cv...
Use below commands...

who | grep -cv '^[aA]'

finger | grep -cv '^Login|^[aA]'
Showing results 1 to 4 of 4

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