Wildcard characters in Bash (wildcard)*: Any character of any length.?: any single character []: Match range [^]: Exclude Match range [: alnum:] [: Alpha:] [: Blank:] [: cntrl:][:d Igit:] [: Graph:] [: Lower:] [:p rint:][ :p UNCT:] [: Space:] [: Upper:] [: xdigit:]Regular expressions.: Indicates matching any single character. *: Indicates that matches the preceding character any time, including 0 times. *: represents any character that matches any len
Learning bash notes-debugging shell programs and learning bash shell
In shell, the simplest debugging assistant outputs the echo statement. Many echo statements can be put into the code for debugging, but it takes enough time to locate
The information to view. You may need to output a lot to find the information you want to search.1. the most basic set-o Command Options are set-o Command Options. These opti
Location parameters$0, $1, $2, etc. .. (note that when the number of parameters is greater than 9, you should reference $ {10}, ${11 }...)Location parameter, which is passed to the script from the command line, to the function, or to a variable.Example:
#! /Bin/bash
#./Test. Sh first second third
Output:
First parameter first
$0 =./test. Sh
When the number of parameters is greater than 9:
#! /Bin/bash
#./
Welfare of kids shoes-GitHub Chinese INS, kids shoes-github
I am very excited to see a plug-in a front-end group today! I will share the steps for implementing the plug-in!
After the plug-in layout is complete, it will inevitably be a little excited! I removed the chrome plug-in Tampermonkey_v4.0.25.crx and added the new script to main. js. It is also finished. I feel no difference!
If the plug-in downloade
In Windows 3.02 64-bit system, when cygwin is used to run the liunux program, the following error occurs: Bash-$:
The reason is:
In the 64-bit operating system, the 32 program and the 64-bit program read the location registry key, in the 64-bit Registry Editor, HKEY_LOCAL_MACHINE \ SOFTWARE corresponds to the registry key of the 64-bit program, and the 32-bit registry key is mapped to HKEY_LOCAL_MACHINE \ SOFTWARE \ wow6432node. If both versions are r
Bash array, bashBash only supports one-dimensional arrays. And the array subscript starts from 0.Assign values to Arrays:Array = (1 4 7 2 5 8) # use space as the delimiter and () as the arrayStr = "this is test string"Str_arr = ($ str); # separated by spaces by defaultArray traversal:For val in str_arr [*]; do echo $ val; doneFor file in 'LS'; do echo $ file; doneNumber of array elements: $ {# array}For example, each character in a string is split int
$filename/etc/sysconfig/network-scripts[[email protected] Network-scripts] #将第一次出现的小写s替换成大写的S [[email protected] network-scripts]# echo ${filename/s/s}/etc/sysconfig/ Network-scripts[[email protected] network-scripts] #将所有的小写s替换成大写的S [[email protected] network-scripts]# echo ${ Filename//s/s}/etc/sysconfig/network-scripts[[email protected] network-scripts]# Summary:/match/ Value: Replace the first occurrence of match with Value//match/value: Replaces all match with value
Operators for
For more information about how to use GitHub, see the instructions on the official website. This document is intended only for common and error-prone usage instructions. Only personal opinions.How to use GitHub?(1) It is often used to create a version library on GitHub first, and then create a version library on the local machine. Note that it is not necessarily
Provide two good git tutorials first:1. How to deploy a project on GitHub:Lhttp://jingyan.baidu.com/article/656db918fbf70ce381249c15.html2. Open Source Project hosting GitHub:Http://jingyan.baidu.com/album/f7ff0bfc7181492e27bb1360.html?picindex=3Personal summary of how to upload a project to GitHubOne, create a new repository on the GitHub platform.1. when you are done registering, go to the GitHub platform
* What is GitHubDistributed version Control (650) this.width=650; "src=" Http://img.baidu.com/hi/jx2/j_0004.gif "alt=" J_0004.gif "/> What ghost =_=)* What is version control(Scene one)Is you write a c++/c language project "I have only learned C + + and C language" (probably very big, need a lot of people to write) but you and your little partner can not succeed at once, right, certainly in the process of development, the current project needs to be continuously optimized, the first version of t
One. GitHub client upload stepsOne. GitHub client upload steps1. Baidu Search Keyword: GitHub offline install package ==> github_3.3.4.0 versionLinks: Https://pan.baidu.com/s/1NSnfodfK7EhhrTEmKIr3yAPassword: BGTV2. Website client: https://desktop.github.com/Two. Create a new warehouse3. Copy the local project to this directory.4. Select the uploaded file5. If you
GitHub Quick Start and github Quick Start
1. Create a project on GitHub
Follow the steps to create a code library on github
Address of the project on github after creation: https://github.com/linlin1314/QY
2. upload code
You need to clone the
Transferred from the https://blogs.msdn.microsoft.com/mihansen/2017/12/13/ Resolving-branch-specific-azure-template-links-in-github-repositories/"The problemThe azure Resource Manager is the primary tool or orchestrating deployments in Azure. Using Azure Resource Manager Templates It is possible to describe and manage complicated deployments. Templates is also used to share example deployments and reference architectures. The Azure Quickstart Template
Telnet is unavailable !!! Tip:-bash: telnet: command not found, telnet-bashI. Check1. [root @ localhost ~] # TelnetBash: telnet: command not found2. Check whether the Telnet package is installed. The result is as follows:[Root @ localhost ~] # Rpm-qa telnet *Telnet-server-0.17-47.el6.i6863. query the xinetd status again:[Root @ localhost ~] # Service xinetd statusXinetd (pid 2967) is running...4. Run the ntsysv command to enable the Telnet service. Yo
Upload the code to GitHub. Upload the code to GitHub.
1. Create a git repository on github first.
The README file can be removed first, and added after the code is uploaded to github.
This is what it looks like after creation
2. Open the terminal
Find the project folder and cd it to the file
3. initialize g
Synchronize the local code library with Github, and the code library GithubInstallation and initialization
git config --global user.name "username"git config --global user.email "your_email@youremail.com"Create and upload a project:
Log on to the home page of the Github website, create a repository, and create a local folder to synchronize the code library.
Git init input this git add. add all files (just p
Upload a github Three steps with idea:1. Log on to GitHub, where you select the branch:New branch.2. Use the command statement to upload the code in idea:(1) Git fetch git checkout llist (Note: List main class name) download and remote branch and switch(2) Git config--global credential.helper store save account and password(3) Git pull and send it up.The update succeeds!The following picture shows the 3-se
Two pitfalls have been dug on GitHub and two pitfalls on GitHub.
Https://github.com/baihacker/pe
The basic code for solving the problem on Project Euler, including number theory code and a simple multi-threaded tool (to calculate the result, it takes a day and a half at the longest, therefore, multithreading may reduce the time by several times ).
At present, there are only some simple filtering prime numbe
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.