Lot of warn files filling /


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Lot of warn files filling /
# 1  
Old 02-01-2012
Lot of warn files filling /

hi guys

I have suse 11 sp1 and I have a lot of warn file filling / these are under /var/log


there's this big one
Code:
-rw-r----- 1 root root 3.9G Feb  1 10:28 warn
warn: ASCII text

and the others that are about 2.5 to 3MB - they are about 130 warn-*.bz2

Code:
-rw-r----- 1 root root 3.9G Feb  1 10:28 warn
-rw-r----- 1 root root 2.7M Oct 24 09:45 warn-20111024.bz2
-rw-r----- 1 root root 2.5M Oct 25 09:52 warn-20111025.bz2
-rw-r----- 1 root root 2.6M Oct 26 09:45 warn-20111026.bz2
-rw-r----- 1 root root 2.5M Oct 27 09:50 warn-20111027.bz2
-rw-r----- 1 root root 2.6M Oct 28 10:00 warn-20111028.bz2
-rw-r----- 1 root root 2.5M Oct 29 09:46 warn-20111029.bz2
-rw-r----- 1 root root 2.6M Oct 30 09:43 warn-20111030.bz2

any idea how to get rid of these?
thanks a lot
# 2  
Old 02-01-2012
Have you actually looked at any of their contents? Opening them in an editor would be a bad idea, so try head...
# 3  
Old 02-01-2012
I will check

thanks
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Convert a lot of files in subdirectories automatically

Hi, I have a huge structure of directories and subdirectories contsining some data. The lowest folders contain a file "image.png" which need to be converted to "folder.jpg". But how can I do that for all these files automatically? That's what I alredy have find /path -type f -name... (1 Reply)
Discussion started by: KarlKarpfen
1 Replies

2. Shell Programming and Scripting

Need a script for automation the convert a lot number audio files to another format

I have a lot number audio files in the MP3 proprietary format, I want to convert them to 'opus' the free and higher quality format, with keep metadata also. My selection command-line programs are SoX (Sound eXchange) for convert MP3 files to 'AIFF' format in order to keep quality and metadata*... (1 Reply)
Discussion started by: temp-usr
1 Replies

3. Solaris

/u01 is filling up -how to know the large files

hi, my /u01 size is filling up and now reached to 93% on node 1 and 91% on node 2. it is usually very easy to identify large files normally dumps files or audit files etcetra but in this case i am not getting it as i am giving the following command to find the 5 biggest files of the file system... (9 Replies)
Discussion started by: janakors
9 Replies

4. UNIX for Dummies Questions & Answers

Merging two text files by a column and filling in the missing values

Hi, I have to text files that I want to merge by the first column. The values in the first column pretty much match for the first part. However there are some values that are present in column 1 and not present in column 2 or vice versa. For such values I would like to substitute X for the... (9 Replies)
Discussion started by: evelibertine
9 Replies

5. Shell Programming and Scripting

Need to modify a lot of html files

Hello, I have about 3400 files in a tree structure (about 80% are html files). 1. I need to modify every html file to remove <p> style and old things like font attribute and add another style. 2. I need to change the root of all links that are in the html. e.g. change /old/path/ to /new/path... (1 Reply)
Discussion started by: Yaazkal
1 Replies

6. Shell Programming and Scripting

Rename a lot of files using shells script

Hi This is the list file that i have : The files is more than this. I will rename one by one file become like this : So just change the time stamp 200906 become 200905. Is it possible using script ? Thanks (3 Replies)
Discussion started by: justbow
3 Replies

7. Shell Programming and Scripting

chmod a lot of files

So i have about 600gb of data.. in which there are alot of directories and alot of files.. Im trying to put this on a ftp server.. So i want to set the permissions on the directories to be 755 and the permission on the files to be 644. So i used: find . -type d -exec chmod 755 {}\; and find .... (6 Replies)
Discussion started by: supermiguel
6 Replies

8. UNIX for Dummies Questions & Answers

Sorting with unique piping for a lot of files

Hi power user, if I have this file: file1.txt: 1111 1111 2222 2222 3333 3333 3333 4444 4444 4444 when I run the sort file1.txt | uniq > data1.txt the result is (2 Replies)
Discussion started by: anjas
2 Replies

9. Shell Programming and Scripting

rename a lot of files again

here I go again...kinda hard to explain so I apologize. I need to rename a bunch of files in a directory. I need to remove the first three characters of the filename, and then toward the end of the filename there is constant text inside of brackets. here is a demo (not for real) 'ls -1' of the... (11 Replies)
Discussion started by: ajp7701
11 Replies

10. Shell Programming and Scripting

Problem comparing 2 files with lot of data

Hello everyone, here's the scenario I have two files, each one has around 1,300,000 lines and each line has a column (phone numbers). I have to get the phones that are in file1 but not in file2. I can get these phones trough Oracle but my boss does not want that so he gave me the files with the... (4 Replies)
Discussion started by: rafisha
4 Replies
Login or Register to Ask a Question