how to find out when the linux was installed on my system
i need to know when a linux distro was installed on the system
|
Try
Code:
tune2fs -l /dev/sda1 | grep 'Filesystem created:' |
Cool. Works on raid or logical volumes too:
Code:
tune2fs -l /dev/mapper/d2vg-lv1 |grep 'Filesystem created' |
i do df -h and i see the file systems listed e.g.
[root@slcac810 /]# df -h Filesystem Size Used Avail Use% Mounted on /dev/sda2 48G 2.9G 43G 7% / /dev/sda1 190M 73M 108M 41% /boot so i do this:- tune2fs -l /dev/mapper/d2vg-lv1 |grep /dev/sda and it doe snot work. Could you be kind enough to give me an example that i could understand. I believe i am probably doing something really stupid that it is not working |
Quote:
Think... |
Quote:
You need to run Code:
tune2fs -l /dev/sda2 | grep 'Filesystem created:' |
Thank you..so dumb of me. thank you sir
|
All times are GMT -5. The time now is 06:16 PM. |