First of all, your Xshell first connect to the server that needs to be connected remotely.
Second, open the connection, the following page appears, it proves that the connection with the server is normal.
Third, next, we can use the command to do a series of operations.
3-1:CD is going to the next Level directory command
Example: Cd/folder1/folder2/folder3
3-2: Copy file: cp-r "file name to copy"/"File name copied"
Example: Copy filename renamed to FileName1
Cp-r filename/filename1
3-3:netstat is to see if the port is occupied
Example: Netstat-app|grep 10086
3-4: Edit file: Vim
Example: Vim Server.xml
3-5: Press and hold the I key to enter edit mode
After editing, press and hold ESC to cancel editing
Input: wq! Save
: q! is not saved
3-6:recover
3-7: View Log Details: ① Open directly: tail-f "log file name"
② Open 200 line: tail-f-n200 "log file name"
Example: View log details
Tail-f-n200 XXXXX.log
3-8:telnet Address Port
Xshell Getting started, frequently used commands