GNU/Linux
$ ls -lct /etc | tail -1 | awk '{print $6, $7, $8}'
oct. 28 2013
$ tune2fs -l $(df / | tail -1 | cut -d" " -f1) | grep created
Filesystem created: Mon Oct 28 13:41:23 2013
macOS
$ ls -lct / | tail -1 | awk '{print $6, $7, $8}'
12 oct 2012
Windows
wmic os get installdate /value
InstallDate=20140716200726.000000+120
systeminfo | find /i "date"
Date d'installation originale: 16/07/14, 20:07:26
reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v InstallDate
InstallDate REG_DWORD 0x53c6bf5e
Sources :
- Connaître la date d'installation du SE
- Check OS Installation Dates
- How to Determine Your Computer’s Windows Installation Date
- How to Find Out the Date and Time When Windows was Installed in Your Computer?
Historique
- 2018-05-21 : Ajout de la section macOS.