DX provides a set of basic functions used to operate sphereical harmonic, such as d3dshadd, d3dshdot, and d3dshevaldirection. One of them is d3dshprojectcubemap, which is used to obtain the sh coefficient from cubemap projection, it is quite useful. Generally, different sampling points need to be set when light probe is used in the game scenario, and then the corresponding probe is generated and the sh coef
When bash executes a program, it only looks for it from the path. If the program is not in the path, the specific path must be provided ,. /run. the dot before sh indicates the current directory.
Several forms of bash calling programs:
1. In Path, directly call: Run. Sh
2. if the path is not in the path, the complete path:/tmp/run. Sh is provided.
3. If it is no
I. Problem Description
Installation environment: Oracle Linux 6.1
Database: 10.2.0.1
When Oracle 10g RAC is installed, an error is reported when root. Sh is executed on the first node, as shown below:
[Root @ Rac1 ~] #/U01/APP/10.2.0/GRID/root. Sh
Warning: directory '/u01/APP/10.2.0' is notowned by root
Warning: directory '/u01/app' is not ownedby Root
Warning: directory '/u01' is not owned byroot
Checki
Introduction of the. sh file. SH is a Linux script file, and we can execute some commands through . SH , which can be understood as a. bat batch file for Windows.Second, point command (.)The . Command and source are the same command, which can be understood as the abbreviation for source , the abbreviation Point command .Iii.
Back up the code uploaded by svn in Ubuntu and name the backup file svn_backup + current time. dump File (for example, svn_backup20100525.dump) 1. write a script file (backup. sh) sudotouchbackup. sh create a script file and edit the file sudovimbackup. sh is the content of the configuration file. The Code is as follows :#! /Bin/shsudosvnadmin
Back up the svn up
If you only need to modify the content of a module, but you need to execute make every time, the last wait is a long time. To compile a module, you only need to execute mm in the directory or its subdirectory of your module to compile a separate APK!Build/envsetup. Sh provides several useful shell commands, which can be introduced to the shell environment by using $. Build/envsetup. Sh (note point number) o
A medium-level Linux user must always execute the. sh file. Of course, you can double-click the file under the graphic interface, but it is a waste of time.Now we will introduce the first method: (In ubuntu)First, open a terminal.Enter sudo suThen enter the password. In this way, the root user permission is obtained.Then find the file (use commands in the terminal, of course, you can choose not to open a file manager .)Execute./
Tag: Run enter to toggle its dash Linu ECIF spec systemUbuntu Toggle default sh for bash or dash1 bash and DashStarting with Ubuntu 6.10, the default is to use Dash (Thedebian almquist shell) instead of bash (the Gnubourne-again shell).But the login shell is bash. The reason is that dash is faster and more efficient, and it complies with the POSIX specification. Ubuntu runs a lot of shell scripts when it starts up, and using dash can speed up startup.
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
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
When writing a script in Ubuntu, an error such as a piece may occur occasionally, probably because the sh Command Used in Ubuntu uses dsh instead of bash1. When using this script, such as shsh06.sh, errors may occur, so no errors will occur when bashsh06.sh is used. 2. You can also add the running permission to the script and use it directly. /sh06.
/bin/shwith /bin/bash the distinction, the : intercept string is not POSIX standard.Difference
shGeneral set bash of soft chains (symlink)[plain] view plain copy print?
Ls-l/bin/sh
lrwxrwxrwx 1 root root 4 Sep 04:45/bin/sh, Dash
In a generic Linux system (exceptions FreeBSD , OpenBSD etc.), using sh the call execution 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 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
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 ...
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
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.