How to view online logs in Linux

Source: Internet
Author: User

How to view online logs in Linux generally, most linux servers are remotely logged on and managed through the ssh client. After logging on to the linux host through ssh,
How can we quickly interact with files on the local machine, that is, uploading and downloading files to the server and the local machine;
Two commands related to ssh can provide convenient operations: sz: send the selected file to the local machine rz: Run this command to bring up a file selection window, select a local file and upload it to the server (receive). Of course, you can also set the directory: set the default upload and download DIRECTORY options> session options> file transfer. You can set the remaining directories for upload and download as long as you log on to the linux terminal using SecureCRT: send the file to the client: sz filename www.2cto.com zmodem can be started by yourself. upload files from the client to the linux Server: as long as the server executes: rz and then selects the file to send in SecureCRT, The zmodem protocol is simple. If you have been using ssh before, the ftp service has not been opened to the outside world, so you can directly use this method to transmit your files. By downloading online logs to a local location for analysis, this can speed up the problem solving efficiency. .
Author: tjuxiaoqiang

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.