Tags: style HTTP color using OS strong file dataIn the process of software development, it often involves the problem of changing the database script file from SH format to SQL format under Linux. This article takes an actual script file as an example to illustrate the process of format conversion.1. sh File contentsThe file name in this article is example.sh, which reads as follows:#!/bin/bashfunction Init
Respect for the original works, Ming: This post for the excellent post integration
One, meaning
#!/bin/sh refers to this script using/bin/sh to interpret execution, #! is a special notation, followed by the path to the shell that interprets the script.
In fact, the first sentence of the #! is the Interpreter program path to the script, the content of the script is interpreted by the interpreter, we can use
The android build system can compile different products from the same source code with different packages and options. To implement this function, we need some environment variables to control which compilation is required and how to compile it.
Envsetup. Sh is one of the methods. envsetup. Sh will generate some tools that can be used to conveniently compile the source code. envsetup.
A ORA-15031 error is prompted when root. sh is executed
Recently, an Oracle Grid infrastructure (GI) installation problem was solved. The problem occurred while executing root. sh and the following error was displayed:
Disk Group OCR creation failed with the following message:ORA-15018: diskgroup cannot be createdORA-15031: disk specification '/dev/vx/rdsk/dg_db01/lv_vote1' matches no disks ORA-15031: disk
As shown in the preceding figure, the crontab of the project is executed. sh file and then in. sh and find the corresponding php file again. it seems redundant. Is that true? it is impossible to have a problem similar to performance impact. for example, you can see that a project is executed in crontab. sh file and then in. it seems a bit redundant to find the co
CTRL-ALT-T Exhale the console.Enter Dconf-editor, without sudo, as the current user configuration.(now Ubuntu 14.04 Package Library has been provided dconf-editor, if not available apt-get install Dconf-editor command to obtain)Come out a window and find this key value pathOrg.gnome.nautilus.preferences, has executable-text-activationThis key value, by default, is display, which is the default text editor.Change to ask.If you want to change back to point to the lower right, set to default, reply
Today, it's going to take a day to study how to execute a Java program with a script, and finally realize, share
(1) Write an. sh file under Linux
(2) The contents of the document are as follows:
Copy Code code as follows:
#!/bin/sh//bash File Header
APP_HOME=/HOME/BLMCRM/CRM/A//The previous directory of the bin file in the Java file to execute, my directory is/HOME/BLMCRM/CRM/A/BIN/BLM ...
DBAs often deploy some sh scripts to log on to the ORACLE database to query the v $ dynamic view to get something for the purpose of actual management automation, but when writing ORACLESQL statements in the sh script,
DBAs often deploy some sh scripts to log on to the ORACLE database to query the v $ dynamic view to get something for the purpose of actual manage
The first time I learned shell programming, I read the article that the shell program 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 C program must have a main function.
But some time ago I heard that "#! /Bin/sh "is also a comment a
--. 1 root root 54453 Jan 5 18:49Zookeeper.out[root@hadoop01 ~]# Du-sh. [Summary of all directories and files in the current directory,-S for summary,-H for humanized display in KB, MB, GB, TB format]6. 6G. [Root@hadoop01 ~]# Du-sh * [summarizes the size of each directory and file in the current directory]3. 2G Apps4.0K common-friends.log416k Data4. 0K Esdata4. 0K flow.dat82m Flume4. 0K hadooptest150m hdpda
enable compression
Set ccp yes mppc
Set ccp yes mpp-e40
Set ccp yes mpp-e128
Set bundle enable crypt-reqd
Set ccp yes mpp-stateless
Open
The configuration of/usr/local/etc/mpd. links is as follows:
Vpn:
Set link type pptp
Set pptp self 192.168.0.1
# Set pptp peer 2.3.4.5
Set pptp enable originate incoming outcall
/Usr/local/etc/mpd. secret is the user's account and password:
Jerry "11111111"
Emma "88888888"
Test "test" 192.168.0.254
/Usr/l
According to the selection of IPSec-based VPN, more and more enterprises are seeking for flexible and secure wide-area communication methods. In the complex environment of internet connections and IP networks, these new communication requirements exceed the processing capabilities of traditional network solutions. Vpn is defined as a network that uses encryption and authentication technology to establish a
/bin/sh^m:bad interpreter:no Such file or directoryExecutes. sh script in Linux, exception/bin/sh^m:bad interpreter:no such file or directory.Analysis: This is caused by different system encoding formats: the. sh file that is edited in the Windows system may have invisible characters, so the above exception information
Binsh ^ M: badinterpreter: Nosuchfileordirectory the reason is that the sh script is written in the notepad file in windows. Encoding formats of different systems. The encoding format of the transfer file: 1. ensure that you have read and write permissions on the file or bin/sh ^ M: bad interpreter: No such file or directory. sh scripts are written in notepad fil
I often in Linux by compiling the. sh file to build the project, has been no problem, the code has not changed, but the compilation today, but the error is prompt:Then I was very puzzled to see my. sh file, which has a lot of [], are these errors, but has been no problem.Later found, because Ubuntu default sh is connected to dash, but also because of the dash and
Summary
Virtual Private Network (VPN) is an important value-added service of the network. This article describes the basic concepts, categories, key technologies of VPN, and management of VPN data and routes.
1. Virtual Private Network
A Virtual Private Network (VPN) is a technology used to establish a private ne
Today, virtual private network (VPN) is widely used in the Internet, which allows enterprise networks to expand almost infinitely to every corner of the Earth, thus, the safe and low-cost Network Interconnection model provides a stage for the development of all-encompassing application services.Virtual Private Network (VPN) is a service that uses public network resources to form a private network for custom
*. SH and *. Bin are often downloaded in Ubuntu.SoftwarePackage. When I recently installed springsource, right-click it and start running the terminal directly. After installation, the installation directory cannot be found. Depressed.
Later, run the command to install the SDK. You can select the installation directory as in Windows 7. The following two installation methods are settled:1. Install the. Sh f
Run the. Sh file in Ubuntu Linux.
First, make sure that the file type is executable.
There are two ways to set the file as an executable file.
1) directly select "executable" in the file property tag, -- if B uses a graphical interface, this method is the simplest and most direct.
2) run the command chmod + X file. Sh. Add executable attributes to file attributes.
Then, execute the shell script file.
S8016 high-end vro switches provide VPN services for users based on the operating MPLS network, including layer-2 and layer-3 mpls vpn, and provide complete solutions for enterprise interconnection of different scales and scopes.
I. S8016 L3 VPN Function
1. Overview
MPLS/bgp vpn can provide a network-based
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.