Search Results

Search: Posts Made By: sacguy08
21,487
Posted By sacguy08
Thanks for your reply. What would happen to...
Thanks for your reply.

What would happen to all files having "myuser" as owner?
21,487
Posted By sacguy08
AIX user ID and group ID change
Hello AIX gurus,

I have a requirement where I have to change user ID of user "myuser" from 100 to 200 and also the group ID of "mygroup" from 2 to 3. Please note that "myuser" has "mygroup" as...
2,315
Posted By sacguy08
Yes. They are. ---------- Post updated at...
Yes. They are.

---------- Post updated at 06:11 PM ---------- Previous update was at 05:51 PM ----------

Now we are able to do it.
We had to add a 'search' entry in /etc/resolv.conf file....
2,315
Posted By sacguy08
Strange problem with rsh
Hello All,

I'm facing a weird problem with rsh.

There are 2 machines: host1.domain1.com and host2.domain2.com.

I have setup $HOME/.rhosts file in both the hosts.

When I login to...
5,310
Posted By sacguy08
Thanks peterro and edidataguy. It's...
Thanks peterro and edidataguy.

It's working except for the below code given by edidataguy.


$ set a b c d e f g h i
$ count=$#
$ lastone=`echo ${*:$count}`
ksh: ${*:$count}: 0403-011 The...
5,310
Posted By sacguy08
peterro, Thanks in advance since I won't be...
peterro,

Thanks in advance since I won't be able to have access to a UNIX machine until Monday. I'll try your solutions on Monday and let you know.

Thanks once again.
5,310
Posted By sacguy08
Need your help again...
I used set as below which is working fine.


$ set -- a b c d
$ echo $1
a
$ echo $2
b
$


But instead of using

$ echo $3


Is there a way of using it as below?

$ z=3
$ echo $z
5,310
Posted By sacguy08
It's working !!!
peterro,
Thank you very much. It's working :)


Others,
Thanks for your suggestions and your valuable time. I appreciate it.
5,310
Posted By sacguy08
Array in KSH
RiSk,

I tried with arrays in KSH.

Below code works fine

$ set -A x a b c
$ echo ${x[1]}
b
$ echo ${x[0]}
a


But when i try my input text i get errors as below

Try 1

$ set...
5,310
Posted By sacguy08
Issue still remains
Hello Everyone,

Thanks for your replies. I tried set and array solutions but it didn't work.

I'm using ksh in AIX 5.3

Here is my input string
-parm a=b -parm c=d -parm e=f -parm g=h \
...
5,310
Posted By sacguy08
Parameter to AWK
Hi,

I need help with AWK. Here is the issue that i'm facing.

I have a variable in KSH script set as below.
user_text="first second third fourth"

My Requirement is to print 'first',...
Showing results 1 to 11 of 11

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