Search Results

Search: Posts Made By: aajmani
Forum: AIX 10-17-2008
4,366
Posted By aajmani
Is Tomcat 4.1.24 supported on AIX 5.3 TL 7?
I am trying to upgrade JDK to 1.5 on AIX 5.3 TL 02, but get an error to upgrade AIX to TL 07. Tomcat 4.1.24 is installed. Just wondering if the the AIX upgrade to TL 07 will have any effect to...
Forum: AIX 09-24-2008
7,011
Posted By aajmani
JVM Setting
What should be the idle JVM setting for the LPAR having 16 GB of memory? Currently the JVM setting is set to

-Xms1024M -Xmx10240M
Forum: AIX 09-19-2008
8,738
Posted By aajmani
Memory usage on AIX
How to check the memory usage on AIX by various processes?
1,571
Posted By aajmani
Date Value
I am trying to input the date value to variable which will correspond to a day before the current date. Here is what I am trying to accomplish

year=`date +"%Y"`
month=`date +"%m"`
day=`date...
8,538
Posted By aajmani
Insert Time and Date Stamp
I have a directory with following files in it

ABC.000.DAT
ABC.001.DAT
ABC.002.DAT
ABC.003.DAT

I want to insert time and date stamp in file names like
ABC.000.YYYYMMDDHHMM.DAT

I able to...
1,411
Posted By aajmani
Thanks
Thanks for your help
1,411
Posted By aajmani
Help with find
I have a directory with following files in it

abc
abc.done
xyz.done
def.done
ghi.done

I want to list the file without .done extension at the end, I am using this command but it is not...
16,602
Posted By aajmani
Thanks a lot for your help
Thanks a lot for your help
16,602
Posted By aajmani
Find and replace the value in a variable
I have a variable whose value is

I="user1:x:1100:1200:ID for user1:/home/user1:/bin/ssh-dummy-shell"

I want to replace the last part '/bin/ssh-dummy-shell' with '/bin/true'

I tried using sed...
1,510
Posted By aajmani
Getting a value from variable
I want to extract a string from the variable value which is

Newpath="/home/user1/Projects/newone"

I just want to extract '/home/user1/Projects' from the above variable. I have used the...
2,273
Posted By aajmani
Find and add
Hi,

I have a file with multiple lines starting with word 'newuser'. I want to go to the last line starting with 'newuser' and add another line starting with 'newuser' followed by 10 spaces and...
1,818
Posted By aajmani
Thanks Ygor for the help. But the sed command...
Thanks Ygor for the help. But the sed command garbled.
1,366
Posted By aajmani
sed help again
I am trying to insert a line after a line whose value is stored in a variable $LASTLINE

sed "/$LASTLINE/a\newuser $user" $file > $file.new

This should insert a line starting with 'newuser'...
1,818
Posted By aajmani
sed help again
I am trying to insert a line after a line whose value is stored in a variable $LASTLINE

sed "/$LASTLINE/a\newuser $user" $file > $file.new

This should insert a line starting with...
1,818
Posted By aajmani
Thanks a lot for the help
Thanks a lot for the help
1,818
Posted By aajmani
sed help
I have a variable

LASTLINE="You are entering user". The value of this variable i.e 'You are entering user' is part of a file newusers. Now I want to add a value which again is stored in a variable...
1,561
Posted By aajmani
Working with a Text file
I need help with a shell script. I have a flat file with lines begining with 'newuser' in it along with other lines which do not have 'newuser' in the begining of the line

newuser (followed by 10...
Showing results 1 to 17 of 17

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