10 More Discussions You Might Find Interesting
1. AIX
I have a directory under my home directory called: my work. I cannot delete this directory and I want to.
If anyone needs additional information. Please let me know.
Any help you can provide is greatly appreciated. (8 Replies)
Discussion started by: Nerdgirl1313
8 Replies
2. Shell Programming and Scripting
Hi
I have an AIX server. I'm planning to use the below script to remove 60 days older files.
find /path/ -mtime +60 -exec rm -f {} \;
I just want to make sure it will only remove the files. I don't want the directories to be removed.
If in case it will delete the directories... (2 Replies)
Discussion started by: newtoaixos
2 Replies
3. UNIX for Dummies Questions & Answers
Hi
I have a file:
r58778.3|SOURCES={KEY=f665931a...,fw,221-705}|ERRORS={16_1:T,30_1:T,56_1:C,57_1:T,59_1:A,101_1:A,115:-,158_1:C,186_1:A,204:-,271_1:T,305:-,350_1:C,368_1:G,442_1:C,472_1:G,477_1:A}|SOURCE_1="Contig_1092402550638"(f665931a359e36cea0976db191ff60ff09cc816e)
I want to retain... (15 Replies)
Discussion started by: Alyaa
15 Replies
4. Shell Programming and Scripting
Hello, im using ex to manipulate some text. Im trying to delete all the lines except those on which a certain regex can be found.
the important part of the script:
ex temp << 'HERE'
g/regex/p
HERE
this command prints the lines I want to end up with, but it doesnt delete the others.... (2 Replies)
Discussion started by: drareeg
2 Replies
5. Shell Programming and Scripting
Hey
I know how to use grep to eliminate a row when nothing there is a character that I dont want. But I encountered a problem where there is nothing there. Heres my example:
Nam1
Nam2 Year
Nam3 Month
So for Nam1 there is nothing in the second column so I want to delete it... so... (1 Reply)
Discussion started by: kylle345
1 Replies
6. UNIX for Dummies Questions & Answers
hi everybody,
urgently need solutioin
aftet i execute the command df -k, i get to see al the memory status blah blah
if some file system has 95% full then what should i do and any help on how and what to do ?
help really appriciated.
cheers (4 Replies)
Discussion started by: ajayr111
4 Replies
7. UNIX for Dummies Questions & Answers
All
I want to delete all directories which are modified or created two days before in AIX.
Thanx in advance
Regards
Deepak Xavier (1 Reply)
Discussion started by: DeepakXavier
1 Replies
8. UNIX for Dummies Questions & Answers
hello.,
i am creating a certain sub directories as apart of my requirement,
and then later on i have to delete all those sub directories..
____________________________________________________
DIR1="/home/pavi/cvs/20071426/TEMP"
echo " DIR1 is : " $DESTDIR1
echo... (2 Replies)
Discussion started by: pavan_test
2 Replies
9. Shell Programming and Scripting
I have a script like this called "remove.sh":
#!/usr/bin/ksh
rm remove.sh
echo "Deleted myself!"
Since UNIX is a scripting language I thought running it like " sh remove.sh" would generate an error/ or ANYTHING except the echo statements output. But the echo statement came out alright! ... (13 Replies)
Discussion started by: Abhishek Ghose
13 Replies
10. Shell Programming and Scripting
Need to delete records from a text file. Very new to this and am using pico. The only way i can think of doing this is to generate an ID for every record then tell it to delete that particular ID. First question is how if possible do i give each entry an ID number, the second is would this code... (1 Reply)
Discussion started by: boyler
1 Replies