10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have tried the following code and with that i couldnt achieve what i want.
#!/usr/bin/bash
find ./ -type f \( -iname "*.xml" \) | sort -n > fileList
sed -i '/\.\/fileList/d' fileList
NAMEOFTHISFILE=$(echo $0|sed -e 's/\/()$*.^|/\\&/g')
sed -i "/$NAMEOFTHISFILE/d"... (2 Replies)
Discussion started by: gold2k8
2 Replies
2. Shell Programming and Scripting
HI
I have folder in home dir.
/home/kpp/07222013
/home/kpp/07212013
/home/kpp/07202013
Output :--
/home/kpp/07222013
Just find latest date (5 Replies)
Discussion started by: pareshkp
5 Replies
3. UNIX for Dummies Questions & Answers
Hi All,
I need your help in finding the latest files in remote sftp and get those files to local server and process them. Please let me know
I appreciate your valuable inputs.
Thanks
raj (7 Replies)
Discussion started by: rajeevm
7 Replies
4. AIX
Dears i have a power7 P770 working in AIX 5.3 TL 11 with frimware AM730_066
is the AM730_066 frimware the latest one or not ? (6 Replies)
Discussion started by: thecobra151
6 Replies
5. Solaris
I am having a Sun-Fire-T2000 server which is having Solaris OS running on it.
I am not able to find an exact Firmware version. Please suggest something.
sc> showhost
Host flash versions:
OBP 4.30.4 2009/08/19 07:24
Hypervisor 1.7.3.a 2009/10/29 15:50
POST 4.30.4 2009/08/19 07:47... (3 Replies)
Discussion started by: zigi_p5
3 Replies
6. Shell Programming and Scripting
Hi All
I am writing a script which will select the latest logs (which are generated every night via a script) among old one and new. Script generates set of 3 logs each time it runs. Example :
log-WedJun082011_bkt1.log
log-WedJun082011_bkt2.log
log-WedJun082011_bkt3.log
I have... (1 Reply)
Discussion started by: ratneshnagori
1 Replies
7. Shell Programming and Scripting
Hi,
I want to find out the files that are created the recent, how can I do it?
find . -type d
( i dont know what option to use to find the latest, it can be 1 day old or 10 days, but want to pick the latest one only)
Thanks, (5 Replies)
Discussion started by: rudoraj
5 Replies
8. AIX
Is there an HMC command to find the attached managed systems firmware level?? (2 Replies)
Discussion started by: balaji_prk
2 Replies
9. Shell Programming and Scripting
Is there a way to use find command to get the latest file and cp it into a certain dir at the same try.
example find the latest file and cp to a diff dir. (5 Replies)
Discussion started by: shehzad_m
5 Replies
10. Shell Programming and Scripting
Hi,
Would appreciate if someone could help me with the following requirement.
Say I have a directory where a file called abc_$timestamp.txt is created couple of times in a day.
So this directory would have files like
abc_2007-03-28-4-5-7.txt
abc_2007-03-28-3-5-7.txt... (4 Replies)
Discussion started by: hyennah
4 Replies