Common tools for logging in to Linux under Windows SECURECRT and common commands

Source: Internet
Author: User

SECURECRT is the software that logs on to Linux's server primary key under Windows

Summarize the common Linux commands in your work:

Su-admin Switching users
DF-HL Viewing disk space remaining

Tail-f Bkxx-service-info.log View Real-time logs

Vim Bkxx-service-info.log open log file; Shift+g jump to the last page of the log;

Less bkxx-ds.xml viewing configuration files

grep bkxx-data-sync.log--color View log content with 2015

Service Service Name Status View the running status of the specified service

Ps-aux |grep xxx To see if a process or service exists

Chkconfig--list to see all currently running services

Chkconfig--list| grep on queries the service that is currently in the running state

Chkconfig--litt| grep off queries the service that is currently turned off

telnet localhost 1234 link local port to 1234 service

Netstat–n command to view open ports

Quit Disconnect Telnet Connection

How to execute the shell script:

1. Switch to the directory where the shell script is located, execute the shell script

Cd/data/shell

./hello.sh or bash hello.sh or sh hello.sh

2. Execute bash shell script with absolute path

/data/shell/hello.sh

Common tools for logging in to Linux under Windows SECURECRT and common commands

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.