Deutsch English Français Italiano |
<vm5dbe$2b9fo$2@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Lem Novantotto <Lem@none.invalid> Newsgroups: comp.os.linux.misc Subject: Re: How Long Since Last Kernel Update Date: Tue, 14 Jan 2025 10:13:03 -0000 (UTC) Organization: A noiseless patient Spider Lines: 15 Message-ID: <vm5dbe$2b9fo$2@dont-email.me> References: <vm4q2m$29e1a$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Tue, 14 Jan 2025 11:13:03 +0100 (CET) Injection-Info: dont-email.me; posting-host="c2826baae225664ec57c6bdb8ed0a290"; logging-data="2467320"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+c8+8fo9wBQ7EaMIlC9wtE2XXrwe2B/rk=" User-Agent: Pan/0.160 (Toresk; ) Cancel-Lock: sha1:ACa/KBAMlJt2PDAncJ0/Vgwc7Ng= Bytes: 1436 Il Tue, 14 Jan 2025 04:44:06 -0000 (UTC), Lawrence D'Oliveiro ha scritto: > bc <<<"scale = 1; ($(date +%s) - $(stat -c%Y /vmlinuz)) / 86400" Well, here vmlinuz is in /boot: so /boot/vmlinuz, above. If you like to know when the system has been installed, and / is on a fileystem like ext4, that nowadays saves the creation time, an option is: $ ls -l -d --time=birth / But be careful: sometimes it could just not work, or be inaccurate. -- Bye, Lem Talis erit dies qualem egeris