Linux RAW sockets==========================================1. Why do I need to know more about raw sockets?In fact, a long time ago on the original socket has a certain understanding, then also did a small grab package program, at that time thought
# pound (comments)#管理员 $ normal UserIn the script#!/bin/bash #!/bin/shThe pound sign also often appears at the beginning of a line, or after the complete instruction, which indicates that the symbol is followed by the annotation text and will not be
There are a lot of special symbols in the Linux shell, which we should pay special attention to when we write Shell script: On the one hand, we need to know the usage of these special symbols, these symbols can be used to achieve a multiplier effect;
Shell and Export commands After the user logs on to the Linux system, a user shell is started. In this shell, you can use shell commands or declare variables, or you can create and run shell script programs. When you run the shell script program,
I. wildcard characters
* Represents any character ranging from 0 to infinite.
Example: Find the file name starting with cron under/etc/
[Root @ instructor Desktop] # ls/etc/cron *
/Etc/cron. deny/etc/crontab
/Etc/cron. d:
0 hourly raid-check
# Well No. (comments)#管理员 $ ordinary User
In the script
#!/bin/bash #!/bin/sh
Typically appear in the first line of the shell script, meaning to use/bin/bash to execute the current shell script, except for the first line, which plays the role of
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.