In linux, view the system operation log. the Java code 1.lastwww.2cto.com-a displays the host name or IP address from which to log on to the system in the last line. -D. convert the IP address to the host name. -F & lt; Record File & gt; specifies the record file .... In linux, view the operating log of the system. The Java code 1. last www.2cto.com-a displays the host name or IP address from which to log on to the system in the last line. -D. convert the IP address to the host name. -F <Record File> Specifies the record file. -N <Display columns> Or- <Display columns> Set the number of columns displayed in the list. -R does not display the host name or IP address used to log on to the system. -X: The system is shut down, restarted, and the execution level is changed. for details, see All restart and shutdown records www.2cto.com last | grep reboot last | grep shutdown 2. history.
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