For Java Applications (non-Web applications), after deployment, a startup script is often required to load some Third-party jar packs and start the application.
For Java applications, I generally prefer to write the directory structure of a program
Final effect
1. Create a new 500x500dpi image, create a new layer 1, use the Ellipse tool to draw the path of an ellipse, and adjust the path of the ellipse with the direct selection tool (Figure 1).
2. Convert the path
This article mainly introduces the use of shift in bash shell, and the friends you need can refer to the following
Shift can be used to move position parameters to the left.Shell's name is $The first argument is $Second argument $Nth parameter $nAll
1. "" "" "The Difference," "The variables will be resolved" "All of them as strings" "to execute system commands
2. The custom variable defaults to a local variable, and the environment variable is a global variable.
3.export can set one or more
Editor's note: This article introduces a design idea and process. Suitable for a certain fireworks basis for learning, for reference.
Accidentally saw the Netizen June Sea to write an eggshell beauty Photoshop tutorial (
Click to view, the idea is
The command interpreter Shell is an application that is most closely related to users, and users use the system primarily through the shell. After each login to the system, a shell that interacts with the user is started, and the shell gives a
There are many kinds of shells in Linux, such as KSH,BASH,CSH and so on.
What kind of shell is used by the current user, we can view it in/etc/passwd
linux-37:/# cat/etc/passwd |grep-i smsweb1--smsweb1 for the user name you want to view
Smsweb1:x:
The shell sort is a modification to the insertion sort, it divides the elements of the sequence into several subsequence by an increment each time, inserts a sequence of these substrings, and then increments the number of elements in each
The shell problem of the user's work:
Problem Description:
You need to intercept the certificate encoding information for the following command output:
#openssls_client-showcerts-connect192.168.0.111:443|sed-ne
The script test.sh content is as follows, execute the script under/home/myname/,Home directory with file a.txt,test.log,test.sh#!/bin/bashSql= "SELECT * from EMP;"Echo $sqlecho $sql > Test.logResults after execution:Select test.sh a.txt test.log
#! /bin/bash#The head can not be less, called the magic number, tell the computer is a shell script, with bash to execute it, otherwise unrecognized.Shell script file to end with. SH, not necessary, just good identification, specification.1.if
Reason:when It comes to insert sort,the snail Appears,as It just moves forward step by step or even worse. So we need some improvement.the first idea May is, we can walk forward in big strides. Shell sort do the same thing.The basic realization
Simple shell programming by Dreamboy1#!/bin/Bash2 while true3 Do4 Echo5 Clear6 Echo7Echo"System Maintenance Menu"8Echo"============================ "9Echo"1) Display the system date"TenEcho"2) Modify the system date" OneEcho"3) Show logged in user"
The next best thing to do on a virtual machine: Docker is the most convenient1. Installing RpmbuildYum-y Install Rpmbuild rpmdevtools-y2. Generate a package pathWith Rpmdev-setuptree, a Rpmbuild folder is automatically generated in the user's home
Http://codeforces.com/contest/777/problem/AThree shells 0 1 2, a ball placed under one of them, an odd number of exchanges 0 and 1, an even number of exchanges 1 and 2 (that is, the first Exchange 0 1 and 1 2 have been down), known n times ball
Parentheses Summary() Single parenthesis
Command group, the command in parentheses will open a new child shell execution
Variables in parentheses cannot be used by left script
Semicolon separated between commands
Hill sort Shell Sort is an improvement based on the insertion sort, which is also divided into two parts,The first part, Hill sort IntroductionThe second part, how to choose the keyword, the key is to choose the key of hill sortFirst piece of hill
How to compile Bash execution(1) Bash test.sh(2) chmod 755 test.sh #给bash赋予可执行的权限 r-4 w-2 x-1./test.shBash supports one-dimensional arrays (which do not support multidimensional arrays) and does not limit the size of arrays. Similar to the C
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.