10 More Discussions You Might Find Interesting
1. Solaris
Hi ,
i have a file name with date and time append like
test_SEC_AES_V1_T03_2016031404306
i want to remove the date and time after _ and rename to current date and time,can any one please let me know as i tried some options but din't help:(
Thanks,
Please use code tags as required... (10 Replies)
Discussion started by: caba_jones
10 Replies
2. Shell Programming and Scripting
I have some strings such as
ABC1
ABC2
TYFASDD12
They will only have letters and numbers. In each case I want to remove the last digit? The lengths will vary. So a hard coded substr won't work. What do I do?
if it doesn't end in a number, I don't want to remove any characters. (6 Replies)
Discussion started by: guessingo
6 Replies
3. UNIX for Dummies Questions & Answers
I need to write a BASH script that takes a 2 character string and removes the second character if it is not a digit e.g.
If the string is numberical value >9 e.g. string1 = '34' then leave string1 = '34'.
However if the string is <10 e.g. string1 = '3X' then remove the second char (which... (7 Replies)
Discussion started by: millsy5
7 Replies
4. Shell Programming and Scripting
Hi,
I need to delete last number ( i.e 126) from the file which has below contents.
ABC DEF "XYZ" 2837.5 3852.5 126
ABC DEF "XYZ" 2897.5 3852.5 126
ABC DEF "XYZ" 2957.5 3852.5 126
Please help.
Thanks in advance. (17 Replies)
Discussion started by: gujrathinr
17 Replies
5. AIX
Hello
I would like to remove the APARs
# instfix -ivk IY68989
IY68989 Abstract: write to mmapped space hangs
Fileset bos.mp:5.3.0.30 is applied on the system.
Fileset bos.mp64:5.3.0.30 is applied on the system.
All filesets for IY68989 were found.
# instfix -ivk IY73497
IY73497... (2 Replies)
Discussion started by: filosophizer
2 Replies
6. Shell Programming and Scripting
I have string like 20091112_File_Name_40301.txt
and i have a set of files in the directory with the same format . i want to write the ksh to rename the file ..... like
eg
20091112_File_Name_40301.txt to File_Name.txt
20091112_abc_2343.txt to abc.txt... (6 Replies)
Discussion started by: gavemani
6 Replies
7. AIX
We have tried to install an APAR fix IZ20298 on a AIX test server. It is requiring a base level of bos.adt.prof of 5.3.0.0 I cannot find this file anywhere. I fould 5.3.0.1 and it still will not install without the base install. Any ideas where I can find bos.adt.prof 5.3.0.0? (1 Reply)
Discussion started by: daveisme
1 Replies
8. AIX
please look at:
IBM - IZ54713: SYSCALL BUFFER OVERFLOW VULNERABILITY
how does this vague messages mean and what can I expect?
Closed as program error. ?
Status CLOSED PER ?
PE NoPE ?
HIPER NoHIPER ?
regards,Raba (2 Replies)
Discussion started by: raba
2 Replies
9. AIX
Hi All,
I was installing apar CVE-2008-0122 on my freshly test aix53.
I followed the ibm site and run this 'installp -a -d libc_ifix -X all'
and got this
+-----------------------------------------------------------------------------+
Pre-installation... (1 Reply)
Discussion started by: itik
1 Replies
10. AIX
After install fix pack or APAR, if aix need reboot? if not, do we need stop database and all applications before we install fix pack or APAR? (3 Replies)
Discussion started by: rainbow_bean
3 Replies