|
13 years ago 26 |
Open Terminal application
then type the following command on command prompt.
ls -lct /etc | tail -1 | awk '{print $6, $7}'
this will print the installtion data and time of your installation of linuxmint.
2011-06-27 12:39
that's it.
This is the code that worked for me:
ls -lct --time-style=+"%d-%m-%Y %H:%M:%S" /etc | tail -1 | awk '{print $6, $7}'
output: Jun 1
Actual command that works for sure will be :
ls -lctd --time-style=+"%d-%m-%Y %H:%M:%S" /etc | tail -1 | awk '{print $6, $7}'
This will give you the output like :
27-09-2013 11:01:01
Cheers! :)
Thanks!
Very cool. Thanks!
Tried in Mint Debian. With the following command:
ls -lct /etc | tail -1 | awk '{print $6, $7, $8}'
I get:
May 24 21:33
Where's the year?
@trollboy
Tired your suggestion. Didn't work for me.
Thanks a lot!
That works on this Linux Mint installation. 2011-07-07 07:07
but it works perfeclty on my katya!! :)
Good one :)
Nice trick :)
awk print prints to screen.
If you are not getting the time try ls -lct /etc | tail -1 | awk '{print $6, $7, $8}'
using Katya
sudo ls -lct /etc | tail -1 | awk '{print $6, $7}'
produces installation time-stamp but does not print
could you advise please
2011-02-15 01:50, Thanks !
2011-05-27 01:57 One month linuxmint already and i still feel like beginner ö.Ö"
great tutorial, thanks!
most welcome!
Thanks .
Mine is correct.3rd june 2011.
on which version you have tried this command.
Hm.. my answer is 25 jun which is incomplete and incorrect.