Linux commands: Command-Parameter 1-Parameter 2-Parameter 3 ... Multiple parameters can be combined as command-parameter 1 parameter 2 parameter 3 ...
Command--help View command Help
Command-parameters & the following & indicates running in the background for additional action
CTRL + C to terminate commands or programs that are executing in the foreground
CTRL + Z puts a command that is being executed in the foreground into the background and pauses
Clear Clear screen, CLS under Windows
NC is the Netcat command, which indicates that the background TCP connection listens on port 1026, and the next line returns the job sequence number and the Pid,program ID of the process.
The Netcat command listens only once, once a connection is established, the command ends when disconnected, and does not continue listening
Interested students can go to check the parameters, I remember is-K, you can let netcat after a connection interrupted continuously open
Through jobs to see the program running in the background, there will be job sequence number and PID
Jobs can be transferred to the foreground via FG% job sequence number (foreground)
The job ordinal refers to the number in []
There's a command on the front desk. BG (background)
Recently on the socket,windows can run a socket debugging assistant, facing the Linux shell side worry, encounter netcat command
Netcat for socket debugging, NETCAT-L-p port number is TCP connection, can be changed to UDP connection with-u
-L Listen listening on a port, under Windows with the Socket debugging assistant, you can send messages to each other
PS (program state) to see process status
linux--Command Learning