Search Results

Search: Posts Made By: datkan
1,836
Posted By datkan
Closing the Thread
Hey https://www.unix.com/customavatars/avatar27572_1.gif (https://www.unix.com/members/27572.html) Tytalus (https://www.unix.com/members/27572.html) ,

Many Thanks for your...
1,836
Posted By datkan
Direct awk Output
root@e25ciwas031::/> ITIM_HOME=/usr/IBM/itim
root@e25ciwas031::/> awk -F= '/enrole.appServer.ejbuser.principal/ {print $2}' $ITIM_HOME/data/enRole.properties
itimadmin
itimadmin...
1,836
Posted By datkan
Complete Script
#!/bin/sh

# Set Env Vars...

APP_SRV_HOME=/usr/WebSphere/AppServer
APP_SRV_TYPE=WAS
JAVA_HOME=/usr/WebSphere/AppServer/java
ITIM_HOME=/usr/IBM/itim
EJB_USER=`awk -F=...
1,836
Posted By datkan
AWK Problem?
Consider this simple use of awk in a shell script

EJB_USER=`awk -F= '/enrole.appServer.ejbuser.principal/ {print $2}' $ITIM_HOME/data/enRole.properties`

In the file enRole.properties there is a...
Forum: AIX 09-22-2010
1,533
Posted By datkan
AWK Problem?
Consider this simple use of awk in a shell script

EJB_USER=`awk -F= '/enrole.appServer.ejbuser.principal/ {print $2}' $ITIM_HOME/data/enRole.properties`

In the file enRole.properties there is a...
Forum: Linux 04-08-2010
4,892
Posted By datkan
Sudo Problem?
Hi I wanted to add a group using 1 id which is not root but has some sudo privileges.

test@test>sudo -l
gives this
(root) NOPASSWD: /usr/bin/passwd, /usr/sbin/useradd, /usr/sbin/usermod,...
8,908
Posted By datkan
Thts right Thillai.... There is an existing...
Thts right Thillai....

There is an existing code ....I have posted a simplified example here....so I cant change the way the file is read....Is there a way around to test ?

And Franklin , Its...
8,908
Posted By datkan
Cat Command and Blank Lines
Hi All,

I was testing for blank lines and I want to use the cat command only

for groupline in `cat /home/test/group`
do
if [ -z $groupline ]
then
echo "blank found"
...
Showing results 1 to 8 of 8

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