Obtain the Ubuntu system installation time. 1. question background. enter a form today and enter the system installation time. Who can remember this? I have no choice but to check the system file time. Some are factory time, some are software update time, and no good benchmark is found. Www.2cto. com2, score...
Obtain the Ubuntu system installation time. 1. question background. enter a form today and enter the system installation time. Who can remember this? I have no choice but to check the system file time. Some are factory time, some are software update time, and no good benchmark is found. Www.2cto.com 2. after analyzing and solving the problem, we found that the Ubuntu system did not explicitly propose such commands and interfaces. But we can still get it through two other ways. A. installation log directory time. This directory stores the system installation log 1ls-ld/var/log/installer www.2cto.com B. create a partition during installation (ext2/ext3/ext4) time 1 sudo dumpe2fs/dev/sda1 | grep 'filesystem created: '3. the summary partition time is several minutes earlier than the installation time. after all, the partition must be created first.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service