linux--Command Learning

Source: Internet
Author: User

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

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.