Always thought that in the shell script # is to represent the annotation function, also at the beginning of the script #!/bin/sh also just tell the user this is a shell script, and recently checked the next, only to find that this is not the meaning,
Because today wrote a small script, dead or alive unsuccessful, always reported file or directory does not exist, asked our horse classmate's normal wording, found only the difference between the script head, that is, today this article to talk
First, meaning#!/bin/sh means that this script uses /bin/sh to interpret execution,#! is a special designator, which is followed by the path to the shell that interprets this script.In fact, the first sentence of #! is the script interpreter program
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
The first line of the scripting language is to point out that you want the code in your file to run it with what executable program.For example, the first line of the PHP script can be written in the following formats#!/usr/bin/php#!/usr/bin/env PHP#
Learn CGI scripts (scripts)CGI meaning is Common Gateway Interface, a browser-based input, a program method that runs on a Web server. CGI scripts enable your browser to interact with the user, to find a noun in a database, to provide comments you
Learn CGI scripts(SCRIPT) CGI indicates the Common Gateway Interface, a Program Method Based on browser input and running on the Web server. CGI scripts allow your browser to interact with users. In order to find a term in the database and provide
Centos implements the recycle bin mechanism and centos recycle bin Mechanism
As an O & M personnel, rm * is often directly used to delete files on the server for convenience *. txt and other Wildcards are even added-rf parameters to save trouble. If
How to set the recycle bin in linux and in linux
Modify user environment variables
Vi ~ /. Comment out the alias of row 5th in bashrc # alias rm = 'rm-I 'and add the following content in the last line: mkdir-p ~ /. Trash alias rm = trash alias r =
Modify the user's environment variablesVI ~/. BASHRC Note the alias of line 5th #alias RM='rm-i'The last line adds the following content mkdir-P ~/. Trash alias RM=Trash alias R=Trash alias RL='ls ~/.trash'alias ur=undelfile Undelfile () {MV-I
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.