10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hi all, (5 Replies)
Discussion started by: KMusunuru
2. Shell Programming and Scripting
i need help on shell scripting.
Main intention of the script is
step 1: ssh to remote server
Step 2: cd /tmp in remote server
Step 3: in tmp i want to grep only files and directories which are in GB sizes
All the servers list file is - tmpsrv.txt
... (17 Replies)
Discussion started by: kumar85shiv
3. UNIX for Dummies Questions & Answers
I'm having a problem with some basic piping issues...
I have been able to get in a directory and ls | gsed in order to list every N file for instance:
ls | gsed -n '2~5p'
The thing is I want to be able to copy the output files to a new directory. Basically directory /all has a... (4 Replies)
Discussion started by: dgoss
4. Shell Programming and Scripting
I just saw that on my vps (centOS) my oscommerce with a seo script
has created millions of tmp files inside the /html/cache/ directory.
I would need to remove all those files (millions), I tried via shell but the vps
loads goes to very high and it hangs, is there some way to do a... (7 Replies)
Discussion started by: andymc1
5. UNIX for Dummies Questions & Answers
Pls help writing a shell script which will sort all the files in a directory with the timestamp they were created. (like ls -lrt) (6 Replies)
Discussion started by: asappidi
6. Shell Programming and Scripting
I have a directory which contents I can parse dynamically. I end up with a file list. I then want to display those files sorted by date, oldest files first. I have very very little PERL experience...Would anyone know how to do that ? Thanks in advance. (8 Replies)
Discussion started by: alexf
7. UNIX for Dummies Questions & Answers
I need to sort all the files in a directory whilst retaining the originals. So if in the directory I have:
I want to sort these files so that I would have:
where I have added the .sort extension to show... (4 Replies)
Discussion started by: ledgie
i have a requirement where i have a direcotry in which i get files in the format
i need to loop through the directory and sort by create date descending order and i need to process the first file.
... (1 Reply)
Discussion started by: dsdev_123
9. Red Hat
i heard once that the /tmp directory was a ramfs (swap) that is cleared at reboot time, is this still the case in redhat EL 3 and 4 ? (1 Reply)
Discussion started by: BG_JrAdmin
10. UNIX for Dummies Questions & Answers
Eventhough there is no visible feed to the /tmp dir, when I shut my apps engine it gets down to 4%. Upon restarting my engine, give it about 10-15 minutes and the /tmp gets to a 100% again.
My engine is running on AIX 4.3. Engines job is to process metapp (metacode to PDF) completed files and then... (2 Replies)
Discussion started by: buRst