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