statement, as are the routines.DoCircular Body CommandDoneThe Select loop is used primarily to create menus, and menu items in numerical order are displayed on standard errors, and the PS3 prompt is displayed.Wait for user input, user input is saved in built-in variable REPLYSelect often uses the Build menu list with Case Federation. [Not a meal menu!!] ]Select is an infinite loop, so remember to exit the loop with the break command, or terminate the
));d o echo $* shiftdone display results: [[email protected] app]#./haha.sh a b c d ea b c D EB c D EC D Ed EE9. Select Cycle and MenuSelect variable in listdo loop body command done
The Select loop is used primarily to create menus, and menu items in numerical order are displayed on standard errors, and a PS3 prompt is displayed waiting for user input.
The user enters a number in the menu list and executes the corresponding command.
, the disk appliance filenames for these interfaces are in the format/dev/sd[a-p]. The device file name is determined by the order in which the Linux core detects the disk. That is, who was detected first, who is SDA.2. Composition of the disk1) Composition: disk drive (sector, magnetic column), robotic arm, disk reading head, spindle motor2) The first sector of the disk records 2 messages:Main boot Record area (Master boot recond,mbr): Where to install boot managementPartitioned tables (partiti
\t${i}_info "Done echo-e" \thelp\tthis help page: " Echo-e "\tquit\texit!!.." Echo-e "\ n";; q| Q|quit|exit) exit;; *) echo-e "\n$var Enter error...\n" Esacdone Additional: # cat select.sh #!/bin/bashps3= ' Choose one: ' #select default to use PS3 to do a prompt echoselect var in $ (for I in {A). D};d o echo $i;d one) Doechoecho "Your choose is $var" echo "OK" Echobreak # jump out of SELECT, otherwise dead Loop do
expressions separately.4.5 SELECT statementSelect is a statement that resembles a for loop.Select variable in option 1 option 2; Do BreakdoneExample:#!/bin/bashselect mysql_version in 5.1 5.6;Do echo $mysql _versiondone# bash Test.sh1) 5.12) 5.6#?15.1#? 25.6The user input number is assigned directly to the variable mysql_version. As a menu, the second time after the cycle will not show the menu, and can not meet the demand.Add a dead loop outside and break one time with select once, so you can
separators, typically space characters, tab characters, and line breaks, are used to divide the fields of words generated by the command substitution, the table in the looping structure, and the read input
LANG is used to determine the locale class for a type that is not explicitly selected with a variable starting with LC_
Oldpwd Previous working directory
Path command to search for paths. A list of directories separated by colons, which the shell uses to search for commands, a common value of
This time about the Linux mascot * Penguin *All know that the mascot of Linux is Penguin, but what is the name of this penguin? Its name is "tux", note is not "tax" (tax).Specific Reference wiki: Chinese explanation Explanations in English are more detailed: English explanationsWhen the Linux kernel developed to v2, the logo design competition was held and the Penguin logo was finally selected.Other alternate logo works see: Linux logo alternates (many of which have "linux 2.0")Tux is displayed
. Gb18030″Lc_paper= "ZH_CN. Gb18030″Lc_name= "ZH_CN. Gb18030″Lc_address= "ZH_CN. Gb18030″Lc_telephone= "ZH_CN. Gb18030″Lc_measurement= "ZH_CN. Gb18030″Lc_identification= "ZH_CN. Gb18030″Lc_all=The default language is en_US. UTF-8 or POSIX, set to ZH_CN. GB18030.Second, vim display ChineseAfter installing the Chinese package, you also need to edit the VIM profile VIMRC:Vim/etc/vimrcAt the end, add the following:The code is as follows:Set Fileencoding=utf-8Set Fileencodings=utf-8,gb18030,gbk,big5P
operation is performed at the end of each cycle, then the condition is judged.How it works: Execute 1-2-3-4 in the order of the symbols, then 2-3-4-2-3-4-2 the loop,Until the condition of program 2 does not conform, jump out of the loop.650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/86/3B/wKiom1e5c0SRklo4AABtj4JLFxQ866.png "title=" 6.png " alt= "Wkiom1e5c0srklo4aabtj4jlfxq866.png"/>Example: printing 1 to 10 with a for double-brace C language style650) this.width=650; "src=" Http://s
the loop![[emailprotected]sbin]#sh3.sh1) 5.12) 5.6#?NBSP;1YOUNBSP;CHOOSENBSP;THENBSP;5.1[[EMAILNBSP;PROTECTED]NBSP;SBIN]#NBSP;SHNBSP;3.SH1) 5.12 ) 5.6#?2 /Choice is the one in front "#? "Symbol can be modified, can be modified with PS3, the following script youchoosethe5.6 [Email protected] sbin]# vim 3.sh#!/bin/bashps3= "Please select a number:"/Add this line in the script and run again! Select Mysql_v in 5.1 5.6docase $mysql _v in5.1) echo ' You
Chapter NO. 0 Introduction to Computer science Computer: Receiving the user input instruction and data, after processing the data of the central processor and the logical unit, to produce or store the useful information. The composition of the computer: the input unit, the output unit, the control unit inside the CPU, the arithmetic logic unit and the memory five parts. Note: The actual data that the CPU is going to process is completely from memory. CPU Classification: (actually there are some
Original: C # ASP. NET WebService calling external EXE invalid workaroundRecently with ASP. WebService, one of the functions is to invoke the execution of external EXE (similar to the execution of CMD), but after the execution of Process.Start there is no result, the same code in WinForm Normal, toss two days finally found a solutionThis article refers to the following pages, thank you very muchhttp://bbs.csdn.net/topics/300053869Http://blog.163.com/[email protected]/blog/static/1573797020086233
If you see the Webcenter Space app (Webcenter.ear) from the WebLogic console, the session timeout (3,600 seconds) session timout is misleading and is not applicable in the case of webcenter space applications. If you update the value from the console, it does not affect the session time-out of the Webcenter space application. Then, the question is how can I change the Webcenter space app session timeout? The default session timeout in Web. XML is set to 45 minutes. There are two ways to change t
variables, from the value of the variable, the main problem is to solve some of the different CPU environment of the # dependent libraries, the later content is to deal with this matter FILEVG=/usr/lib/libopenvg.so filevg3d=/usr/lib/libopenvg_3d.so FILEVG355=/usr/lib/libopenvg_355.so Echo4>/sys/module/galcore/parameters/Gpu3dminclockif[-e $FILEVG 3D] [-e $FILEVG 355] Thenif[$CPUREV = =" A"] || [$CPUREV = =" the"] || [$CPUREV = =" -"] [-e $FILEVG] then RM-F $FILEVG fiif[$CPUREV = =" A"] Then l
Recently with ASP. WebService, one of the functions is to invoke the execution of external EXE (similar to the execution of CMD), but after the execution of Process.Start there is no result, the same code in WinForm Normal, toss two days finally found a solutionThis article refers to the following pages, thank you very muchhttp://bbs.csdn.net/topics/300053869Http://blog.163.com/[email protected]/blog/static/15737970200862331842368/Environment: Win7 SP1 64-bit and iis,vs2010 compiled as x86 progr
statement, after which a statement is executedvar box = 100;if (Box > 50)Alert (' box greater than '); // two-line if statement, and execute a statement after judgmentAlert (' anyway, I can be executed! ');var box = 100;if (Box Alert (' box greater than ');Alert (' anyway, I can be executed! '); to execute a compound statement with a compound statement}for an expression in parentheses in the IF statement,ECMAScript automatically calls the boolean () transformation function to convert the resu
time.
If you already have an Nvidia 3D Vision 2 or if you plan to buy it, then this 24-inch display can be used to play 3D games. Unlike Asus ' vg278h, it is compatible with 3D sources as long as your computer is equipped with Nvidia graphics cards. The VG248QE is not available through other 3D devices, and as a display, it does not have a built-in infrared emitter to sync with 3D glasses. As a result, VG248QE cannot be used for 3D Blu-ray players or 3G games on
1. Drive Acceleration DirectX 10
There is no doubt that the DirectX 10 support for Vista gives Vista gaming a more than imagined Windows gaming environment, leading to more than Microsoft's own Xbox 360 gaming console and Sony's PS3 game console vision. When the DX10 game is launched, there will be a qualitative improvement in the visual fidelity.
2.Crysis
Developed by the German Crytek company Crysis 3D Graphics Technology in the gaming industry r
Introduction using Photoshop to show the cool blue effect of the scene mm, is imitating sister planet Teacher's Peach Skin Course, the effect is very beautiful, like the students can come together to learn!
PS version used: Adobe Photoshop10.0 (PS3)
Peach Skin color Palette tutorial See: PS for Beauty to pull out the peach skin tone of the later tutorial
Effect Chart:
Original film:
Triple recommended: photoshop7.0 Mini version free downlo
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.