file identification


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers file identification
# 1  
Old 11-10-2008
file identification

Can anybody tell me what are these files are and what do they do and if they are safe to delete. Thanks

/var/cache/yum/base

Code:
# ls -al
total 44792
drwxr-xr-x   4 root root     4096 Sep 22 11:43 .
drwxr-xr-x  10 root root     4096 Nov 18  2007 ..
-rw-r--r--   1 root root        0 Sep 22 12:32 cachecookie
-rw-r--r--   1 root root  1960883 Aug  5 15:44 filelists.xml.gz
-rw-r--r--   1 root root  9531392 Sep 22 11:43 filelists.xml.gz.sqlite
drwxr-xr-x   2 root root    20480 May 15 17:10 headers
-rw-r--r--   1 root root  5632649 Aug 23  2006 other.xml.gz
-rw-r--r--   1 root root 22909952 Feb  6  2007 other.xml.gz.sqlite
drwxr-xr-x   2 root root    12288 Sep 17 10:22 packages
-rw-r--r--   1 root root   622140 Aug  5 15:44 primary.xml.gz
-rw-r--r--   1 root root  5073920 Sep 22 11:43 primary.xml.gz.sqlite
-rw-r--r--   1 root root     1144 Aug  5 15:44 repomd.xml

# 2  
Old 11-10-2008
Hammer & Screwdriver

Three of the pairs are gz files, meaning were zipped (compressed) with gzip, and what appears to be the unzipped/extracted files are right there also.
You must determine if these are important files.

One rule I try to always use...

If I want to delete something, but not quite sure how important it is, create a subfolder called OLD or SAVE, and mv the file(s) there. That way, if in five minutes or later today something acts strange, I can easily mv it back.
# 3  
Old 11-10-2008
yeah im guessing they are associated with YUM to update software and such but one file has not been updated since 2006. I was thinking of droping them on my desktop and they deleting them off the server then if something happens I can just upload them again.
# 4  
Old 11-11-2008
Wondering if these files are ok to delete or zero out?
Thanks!

Code:
-rw-------  1 root root 10062533 Nov 11 14:33 /var/db/log.0000000004
-rw-------  1 postgres postgres 32169984 Nov  8 03:05 /var/lib/pgsql/data/base/19836/20102
-rw-------  1 postgres postgres 16777216 Nov  8 06:00 /var/lib/pgsql/data/pg_xlog/000000000000008A
-rw-------  1 postgres postgres 16777216 Nov  8 20:16 /var/lib/pgsql/data/pg_xlog/0000000000000086
-rw-------  1 postgres postgres 16777216 Nov  8 03:05 /var/lib/pgsql/data/pg_xlog/0000000000000088
-rw-------  1 postgres postgres 16777216 Nov  8 03:05 /var/lib/pgsql/data/pg_xlog/0000000000000089
-rw-------  1 postgres postgres 16777216 Nov  7 23:23 /var/lib/pgsql/data/pg_xlog/0000000000000087

# 5  
Old 11-14-2008
/var/www/usage/webalizer.current

ok do delete?
# 6  
Old 11-14-2008
how about this file?

/home/webalizer.log
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

USB Device Identification

In linux system when a pnp usb device is plugged in then how does the system gets a notification of it? I mean to say in linux usb system there is usb host controller above which is host controller driver above which is usb core. So does the host controller/usb core keeps on polling the usb bus... (1 Reply)
Discussion started by: rupeshkp728
1 Replies

2. UNIX for Dummies Questions & Answers

iNode Usage Identification

Hi My SunOS alps 5.10 Generic_125100-05 sun4v sparc SUNW,Sun-Fire-T200 appears to have reached 100% util on its iNodes. # df -F ufs -o i Filesystem iused ifree %iused Mounted on /dev/md/dsk/d0 4857202 14 100% / /dev/md/dsk/d20 1040 630640 ... (1 Reply)
Discussion started by: rob171171
1 Replies

3. Shell Programming and Scripting

Shell Script for OS identification on all Platforms

Hi Mates, I am writing a Shell script for identifying OS installed on the machine (it can Be any Unix like Solaris, AIX, RHEL, OEL, HP-UX ). With That I want to select appropriate software listed out in a file. My Question here is, what are the appropriate flags to be used with "uname"... (10 Replies)
Discussion started by: Jeevanm
10 Replies

4. Shell Programming and Scripting

parameter identification problem

Hello everyone suppose i have a script which can take any no. of parameters and in any order then how can i identify a particular parameter at which position it is entered suppose i call a script with four parameter ./abc.sh a b c d in above calling a is called at no. 1... (3 Replies)
Discussion started by: aishsimplesweet
3 Replies

5. Shell Programming and Scripting

file identification

hi there, i have written the following simple lines: find $SCENE -name "*.xml" echo -n "Input the name of the image file to be read: " set im_name = ($<) i like to set the value for im_name automatically to the .xml, which was found by the first line without having to input it. the... (4 Replies)
Discussion started by: friend
4 Replies

6. UNIX for Dummies Questions & Answers

ip identification

how can i find my own ip address from unix. command like who -x .this would provide all the ip address but i need to list only current user ip address. who am i command does not display the ip. (1 Reply)
Discussion started by: naushad
1 Replies

7. Shell Programming and Scripting

version identification

Hi Which command do i use to know which version of solaris am i working on?? thanks in advance regards (1 Reply)
Discussion started by: knopix
1 Replies

8. Shell Programming and Scripting

Need Help in Users Identification ( TRU64 )

I'm looking for a script that allows me to export to CSV, the information I need. Somehow, I must gather the User ID, the User Login, the Last User Login, the Password complexity, the Password Age, The Expiration Date, . . . My experience is equal to very, very few. The only thing I have is... (2 Replies)
Discussion started by: catfish
2 Replies

9. UNIX for Advanced & Expert Users

Field identification starting from the right

Hi all If I have lines in a file as follows :- /ora04/oradata/data1/data1.dbf /ora01/app/product/8.1.6/dbs/F1.Dbf /ora04/oradata/data2.dbf How can I select the last part of the line as my file name. Can I start from the right and define "/" as my delimeter ? Thx J (3 Replies)
Discussion started by: jhansrod
3 Replies

10. Solaris

file identification

Can anyone identify what this file is for? 241436 Dec 17 16:29 dtdbcache_:0 Is it necessary? My system is at 94% and I am trying to clean / directory as much as possible. Any other files I can set to dev/null besides messages, and the wtmp and wtmpx? Please and Thanks. (3 Replies)
Discussion started by: mnsalazar
3 Replies
Login or Register to Ask a Question