Search Results

Search: Posts Made By: vipas
Forum: AIX 02-10-2006
2,386
Posted By vipas
Compatibility between HPUX and AIX5.3 Shell scripts
Does HPUX shell scripts run well on AIX5.2 ?. Or is there any known compatibity issues as far as shell scripts and syntax is concern.?

Regards
vipas
Forum: HP-UX 05-06-2005
12,080
Posted By vipas
How to add space in between columns in VI editor
Hi,
I am trying to add space after 3rd and 6th column for editing a file in special format. How should I achieve in VI?. So, is it possible to do in it in sed ?

thanks
vipa
3,149
Posted By vipas
Equivalent of ADMCHG for LDAP Users
All newly created Aix5 users are forced to change password first time when they log in. We know removing the ADMCHG flag in passwd file will not prompt the user for change password. But we are...
3,490
Posted By vipas
Jim, I did not understand what you want to say...
Jim,
I did not understand what you want to say in the last post. I really appreciate your suggestions/anwsers , and I got clue only from your previous post which mentioned about 'expr' . I tried...
3,490
Posted By vipas
Got it worked out.. I have to use sed. ...
Got it worked out.. I have to use sed.
Following is the final code

isp=`echo $var | sed 's/ //g'`
if [ ${#isp} -eq 0 ] ; then
echo "error"
fi


Thanks
3,490
Posted By vipas
Jim, its the 2nd case-- Unknown number of...
Jim,
its the 2nd case-- Unknown number of spaces.
I tried
tmp=`echo $var | tr -d [:space:]`
if [ ${#tmp} -eq 0 ] ; then
echo "error "
fi

But if there is a value in 'var', it did not...
3,490
Posted By vipas
Isspace
Hey gurus..
I am still struggling with unix..

whats is the equivalent of isspace function in Unix shell scripting.
I came across situation where a variable is a fixed lenth. And if it contains...
16,958
Posted By vipas
Instead of passing userid/password to ksh, read...
Instead of passing userid/password to ksh, read them from a file. Change access permission of file so that only user who is running ksh can read it.

-DM
11,922
Posted By vipas
Thanks Everybody for guiding me with different...
Thanks Everybody for guiding me with different ideas. Yesterday, We found the process which was deleting the Directory. I was very much tempted to use strace, trace as suggested by Driver, but as...
11,922
Posted By vipas
Is it possible to find out how/when/who deleted particular dierectory on UNIX Aix3
Hi..
I am new to unix. And I am trying to learn more about admin part of it. We have come across a situation where one of the directory gets deleted everyday at 4:00 pm by some process. We are...
Showing results 1 to 10 of 10

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