Special characters of shell scripts1. # comment ,#! Besides, echo $ {PATH # *:} parameter replacement does not represent annotation, numeric conversion, and echo $(2 #101011) 2 .; command Line separator. Multiple commands can be written in one line.
Shell script programming (strict terminal format control, beautiful output font color), shell script Programming
#! /Bin/bash # font output color and terminal format control # font color 30-37echo-e "\ 033 [30 m black character \ 033 [0 m" echo-e "\
Shell script programming (strict terminal format control, beautiful output font color)
#! /Bin/bash # font output color and terminal format control # font color 30-37echo-e "\ 033 [30 m black character \ 033 [0 m" echo-e "\ 033 [31 m red word \ 033 [
Name: crontab
Permission: All Users
Usage:
Crontab file [-u user]-replace the current crontab with the specified file.
Crontab-[-u user]-replace the current crontab with the standard input.
Crontab-1 [user]-list the current crontab of the
A Bash Script: A while loop in the Loop Structure
Like other languages, the Bash loop structure also contains the while statement.Basic Structure
While condition do loop body done
Like the for statement, its loop body is also do... Done structure.
What is a CGI script?
How does the CGI script work?
A simple example
Can I use CGI scripts?
Does your server configuration allow CGI scripts?
Can you program it?
What programming language should you use?
Is your server
I have been learning Shell recently. I used to think that Shell syntax is very difficult and hard to learn. Now I have some gains. In fact, Shell scripts are a collection of linux commands. You can understand what the commands in each step of the
How to disable, disable, and unban IP addresses in Linux
Recently, the server's memory resources were temporarily used. After checking the logs, the VPN password was originally cracked. Currently, IP address segments are blocked. For the method, see
1. Cat> the file records the keyboard input, which is equivalent to creating a file from the keyboard, and only creating a new file and not editing an existing file.>It is data-oriented and will output the text you entered to the file.
2. Cat
The Ping Command is an application for computers to check whether the lines are in good condition.ProgramThe transmission of exchange data between computers is not encrypted. Therefore, when we use the ping command to detect a server, an illegal
Cmake is a more advanced compilation and Configuration tool than make. It can generate a makefile or vcproj project based on different platforms and compilers.
By writing cmakelists.txt, you can control the generated makefile to control the
[Copyright statement: reprinted. Please retain the Source: blog.csdn.net/gentleliu. Mail: shallnew at 163 dot com]
Like awk, sed is an important text filtering tool.
Calling SED is the same as calling awk. There are three methods:
1. Type A command
I learned shell programming for the first time.ArticleShellProgramIt must start "#! /Bin/sh.
Although I know that all statements starting with "#" in shell are comments, I never think "#! /Bin/sh is also a comment, just as there is no doubt that a
ArticleDirectory
I finally solved the problem by referring to several articles.
I finally solved the problem by referring to several articles.
The reference document is as follows:
Http://bbs.189store.com/thread-66887-1-1.html
Http:
How to remove the last few data from a file without reading the contents of the entire file
How do I remove the last few data from a file without reading the contents of all the files in
In windows, phpmongodb installation and configuration use query participated in a creative marathon contest over the past few days. although I did not receive any prizes, I am very keen to participate.
I finally had the opportunity to practice the
Developers who have done PHP development should be aware that PHP has a lot of built-in features, mastered them, can help you in the development of PHP more handy, this article will share 8 development of the necessary PHP features, all very
8 PHP features to develop necessary PHP
Developers who have done PHP development should be aware that PHP has a lot of built-in features, mastered them, can help you in the development of PHP more handy, this article will share 8 development of the
PHP command-line usage Walkthrough Tutorial, PHP command-line Instance tutorial
The example of this article describes the PHP command line usage, share to everyone for your reference. The specific usage analysis is as follows:
PHP is a very popular
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.