SSH Secure Shell displays server tomcat background content

Source: Internet
Author: User
Tags ssh secure shell

As Linux small white, only learn a little bit to remember:

When deploying a server, it is often necessary to view the console output as if it were local, to be able to view log output overrides on Linux, and, of course, to have the logs displayed in real time in the Command window by command, which is useful for me that is used to Windows:

Tail Command:

function: The tail command is used to display the end lines of a text file.

examples are as follows:

Tail Example.txt Display the following 10 lines of the file example.txt;
tail-n example.txt Display the file example.txt the following 20 lines of content;
tail-f Example.txt Displays the following 10 lines of the file Example.txt and automatically displays the contents of the new file after the contents of the file have been increased.

tail-n 50-f Example.txt displays the following 50 lines of the file Example.txt and automatically displays the contents of the new file after the contents of the file have been increased.
Note:
The last command is useful, especially when you are monitoring log files, and you can always display new log information on the screen. Cure Shell Display Server Tomcat

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

SSH Secure Shell displays server tomcat background content

Related Article

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.