The code is as follows
Copy Code
#!/bin/sh#------------------------------------------------------------------------------# for debugging use Iptables-v.Iptables= "/sbin/iptables"Ip6tables= "/sbin/ip6tables"Modprobe=
Before we know about redirects, let's take a look at the Linux file descriptor.
Linux file Descriptor: Can be understood as a Linux trace open file, and the allocation of a number, this number is similar to the C language operation of the file when
Learn Shell to now, always thought that they will not commit a very two problems, the result of this book last time made a very 2, integrity not protect AH!!! I'm under the test file path except wildcard * and? What can be used outside the same
The EXEC function under Linux is not a single function, but a function group, respectively:
int execl (const char *path, const char *arg, ...);
int EXECLP (const char *file, const char *arg, ...);
int execle (const char *path, const char *arg, ...,
20.20 Alarm system main scriptPut the shell script in the/usr/local/sbin directory, easy to find[[email protected] ~]# cd/usr/local/sbin/[[email protected] sbin]# mkdir mon/[[email protected] sbin]# CD Mon/[[email Pro Tected] mon]# mkdir bin conf
The effect is to convert the argument list to small pieces to pass to other commands to avoid the problem of too long argument listXargs is a filter that passes parameters to the command, and is also a tool for combining multiple commands. It
This article is part of the Linux Shell Series Tutorial (eight), more shell tutorials: Linux Shell Tutorials
In previous: Linux Shell series Tutorial (vii) Shell output This article has a brief introduction to the Shell printf command, which
The shell can often be seen: >/dev/null 2>&1Eg:sudo kill-9 ' ps-elf |grep-v grep|grep $1|awk ' {print $4} ' 1>/dev/null 2>/dev/nullThe result of the command can be defined in the form of a%> output/dev/null represents an empty device fileWhere does
Summary from:HTTPS://GITHUB.COM/QINJX/30MIN_GUIDES/BLOB/MASTER/SHELL.MD;http://blog.itpub.net/14293828/viewspace-14475701. What is a shell script exampleLet's look at an example:#!/bin/sh~mkdir shell_tutcd shell_tut for ((i=0; i10 do touch
Premise In general, we need to Telnet to Linux in Windows development, commonly used Telnet tools are SSH (ssh Secure Shell client) and SECURECRT, where SSH Secure Shell client is free and recommended. Using SSH (ssh Secure Shell Client) to Telnet
After a few days of disk-filled events, I found myself completely unaware of DU's command, so I was determined to learn.I'll just be a porter, the extranet. Find a tutorial' Du ' is the size of the Find folderDuTyping The above at the prompt gives
The Unix command obtains input from the standard input device (stdin) By default, outputting the result to the standard output device (STDOUT) display. In general, the standard input device is the keyboard, the standard output device is the terminal,
Reprint Please specify source: http://blog.csdn.net/hellomxj1/Function: Realize the conversion of WiFi STA and AP function on Linux systemAchieve results: 1, add wifi password account Add_wifi_account; 2, wifi two mode to start the script
Now see here, still do not understand what is a single page application, this is not a normal click to slide the contraction of the animation just ... The author's so complicated. 666Please reprint this article of friends must accompany the original
1.VNC remote connection to Linux graphical desktop2.SSH Secure Shell Client connection to Linux terminal3. Set FTP and Linux transfer files1.VNC remote connection to Linux graphical desktopRun under CentOS:Yum-y instll VNC Vnc-serverAfter running,
Rundll32 contains many system commands. The following is a collection of commands that rundll32 can execute.
To bring up the "format-3 1/2 floppy (A :)" window:Rundll32.exe shell32.dll, shformatdrive
To bring up the control panel "date/time
We all know that zabbix is a very powerful monitoring tool. Our company is also using zabbix to monitor the status of all websites.
A recent requirement is that we need to generate a report that includes the time nodes and corresponding response
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.