[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: fichier accédé ou pas



Le 12175ième jour après Epoch,
dédé le homard écrivait:

> salut,
> 
> voila une petite question.
> comment savoir si un fichier a été utilisé ou pas ?

La commande stat est ton amie:

francois@fermat:~$ stat /bin/ls
  File: `/bin/ls'
  Size: 64428           Blocks: 136        IO Block: 4096   fichier régulier
Device: 302h/770d       Inode: 47374       Links: 1    
Access: (0755/-rwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2003-05-03 02:15:41.000000000 +0200
Modify: 2003-04-15 02:33:37.000000000 +0200
Change: 2003-04-29 23:26:45.000000000 +0200


-- 
Lisez la FAQ: http://savannah.nongnu.org/download/debfr-faq/html/
--
François TOURDE - tourde.org - 23 rue Bernard GANTE - 93250 VILLEMOMBLE
Tél: 01 49 35 96 69 - Mob: 06 81 01 81 80
eMail: mailto:francois@tourde.org - URL: http://francois.tourde.org/



Reply to: