Current location - Recipe Complete Network - Complete cookbook - What do you mean by running the script?
What do you mean by running the script?
Question 1: What is a running script? If. Is not in the path. To execute the executable file in the current directory, please use the full path:

. /executable file

If you want to execute an sh script, you can use:

Sh[ file]

At this point, the file is passed to sh as a parameter. If the file is not in the current directory, you need to use the full path.

There are two kinds of total paths: absolute path and relative path. Both. /and ../starts with a relative path, which means "under the current directory" and "under the parent directory" respectively.

Question 2: The computer runs the program ... What does this mean? Computer program A computer program or software program (usually abbreviated as program) refers to a set of instructions that indicate each step of a computer, usually written in a programming language and running on a certain target architecture.

Introduction:

Computer Program (English: puter Program), also known as software (English: Software), or program for short, refers to a set of instructions that indicate every step of the operation of a computer or other equipment with information processing capabilities. It is usually written in a programming language and runs on a specific target architecture. For example, a program is like a braised pork recipe (program) written in Chinese (programming language), which is used to guide people who know Chinese and cooking technology (architecture) to cook this dish.

Script program

Usually, computer programs should be compiled and linked into a format that is not easy to be understood by people but can be understood by computers, and then run. Programs that can run without compilation are usually called script programs.

program run

In order to run the program, the computer loads the program code and possible data so as to be initialized to the startup state, and then calls some startup mechanisms. At the lowest level, these are initiated by the boot sequence.

In most computers, the operating system (such as Windows) loads and executes many programs. In this case, the computer program refers to a single executable map, not all programs currently running on the computer.

architecture

On the computer based on the most common von Neumann architecture (also known as Harvard architecture), programs are loaded into the computer from some external devices (usually hard disks). If the computer chooses the von Neumann architecture, then the program is loaded into memory. A sequence of instructions is executed in sequence until a jump or branch instruction is executed or an interrupt occurs. All these instructions change the contents of the instruction register.

The computer based on this system can't work without the support of the program. A computer program is a series of instructions.

The instructions in the program are all based on machine language; Programs are usually written in computer programming language, and then translated into machine language by compiling programs or interpreting and executing programs. Sometimes, programs can also be written in assembly language, which is essentially a set of symbols representing machine language-in this case, the program used for translation is called assembler.

Question 3: What is the difference between running a batch and running a script?

Question 4: What's the difference between using sh and? /Run scripts for Linux? If. Is not in the path. To execute the executable file in the current directory, please use the full path:

. /executable file

If you want to execute an sh script, you can use:

Sh[ file]

At this point, the file is passed to sh as a parameter. If the file is not in the current directory, you need to use the full path.

There are two kinds of total paths: absolute path and relative path. Both. /and ../starts with a relative path, which means "under the current directory" and "under the parent directory" respectively.

Question 5: What's the difference between using sh and? /Run scripts for Linux? Sh means running with sh.

. /means running in the current directory by default.

The default mode depends on whether it is specified in the script file. If it is specified, it will run with what you specified, but it will not use the current shell.

Question: How does loadrunner run the script? Do you want to play back or run the scene? . . .

Question 7: Can I run a shell script on an Android phone? Of course, the answer is yes.

Commonly used android shell tools are busybox, adb and so on.

To put it bluntly, after you install these tools, you can use the commands commonly used in the shell environment, such as echo, cat and so on.

Question 8: How to write a command for oracle to run this script, for example, on disk D.

@ d:\createuser.sql

Question 9: When running the script, genesis prompts an error on line 78-what does the duplicate instruction name mean? There is something wrong with line 78. You open your script. See what line 78 is. Debug, debug. If you understand. The problem should be found soon. If you don't understand. that . . . .

Question 10: What does it mean to start a business on Fantasy Westward Journey? A lot of things about Fantasy Westward Journey need the contribution of gangs, and most of them are obtained by running business. Today I will teach you how to run a business! Doing business is nothing more than buying and selling. There are only two routes: "Chang 'an-Changshou" and "Hell-Beijiu". Knowing these rules, we still know how much it costs to buy things in various places:

The price that Changan goods can buy: below 3800 fans; Less than 4,000 weapons; Beads under 7000; The price of local goods that can be bought with cotton cloth below 3500: paper money below 3000; The luminous pearl is below 8000; Jewelry under 4300; The price of northern goods that can be bought for pearls below 5500: copper oil below 4000; Bells under 4300; Ginseng below 7500; The price of long-lived goods that can be bought below armor 2700: velvet antler below 7500; Below 5300; Flour below 3000; Ole goods can be bought at prices below 4400. Wood: wine below 4000; Candles under 2000; Hat under 3500; Knowing that the salt below this is 5500, start a business trip!

Methods/steps

1

Go to the White Tiger Hall to get the task first. Click "Give me some tasks" first, and then choose different silver tickets to start your business trip ~ ~

Let's see if the gang can buy and sell things directly. (Longevity is one of the things in Beijing)

I first visited the merchants in Chang 'an and found that the price of beads was quite cheap, so I decided to buy Chang 'an beads and sold them for a long life. (Or buy from hell and sell from Beiju. I recommend these two routes. )

After the birthday girl, I bought beads from Chang 'an and sold them to the birthday girl. When I bought it in Chang 'an, it was about 6000 yuan. Now it has sold for more than 10000 yuan. Running a business depends on reversing the price difference. Then let's see what's good about longevity. If not, we can run back to Beiju to have a look.

Because there was no suitable longevity, I decisively went to Beiju, and sure enough, the copper oil in Beiju was cheap, so I decisively bought 19. (Beiju-Hell)

Similarly, if Beiju buys it and goes to hell, we can send it directly. The red dot is the location of transmission, and the two arrows are the locations of two businessmen.

I found that the merchants above the underworld were expensive and sold them to him decisively.

It is expensive to buy other expensive things, and it is naturally cheap to buy other cheap things. So I went directly to the following merchants to buy paper money.

After I finished this business, I had 16.5W on me, but I was short of 1.5W, so I bought some wallets cheaply and sold them to the underworld. Now the following merchants receive expensive goods, so I will sell them to the following merchants, just enough to pay the tickets!

It can be sent to the rooftop through the location of the red dot and "white impermanence", and then the gang pays the ticket.

When you get to the gang, give it to him and give him the silver ticket.

12

Then everyone can get a reward for today's items.