The first stepTo host to GitHub, you should have a GitHub account that belongs to you, so you should go to github.com to registerOpen your browserEnter address in address field: github.comFill in the user name, email, passwordSimply register by clicking Sign Up650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/80/16/wKioL1c3Tg-jR603AACeB8wRrnI778.png "title=" Qq20160515000633.png "alt=" Wkiol1c3tg-j
Bash: insufficient permissions and insufficient bash Permissions
This problem occurs today when a file is opened on a terminal under ubuntu. Suddenly, the file is read-only, so you need to open its user permissions.
The specific implementation is as follows: chmod 777/home/example/filename. In this way, all permissions of this file are opened and can be accessed as much as possible. The details of chmod are
Linux bash integrated instance bash Script Editor, linuxbash
Note: This is a simple bash Script Editor, but it has been tested. The reason for writing this blog is to exercise loop control language, functions, location parameters, local variables, function parameter calls, and inter-function calls, there is also the parameters for Obtaining user options and optio
The operating environment of the Bash Shell:Configuration values are divided into the overall system configuration values and preferences of each person, only some files placed in different places!
Path and command search orderWhen a command (such as LS) is released, which LS is it running?
Run the command in a relative/absolute path, such as "/bin/ls" or "./ls";
Run by alias to find the command;
Run by
Today burst a bash rce loophole, powerful. Look at the analysis of foreigners, feel the need to write their own understanding of this loophole.
First, the problem results from a command env.
Prototype:
env [OPTION] ... [Name=value] ... [COMMAND [ARGS] ...]
That's what man says:
Display, set, or remove environment variables,run a command in a modified environment.
My understanding is that using the key=value of the ENV command will first change th
In fact, after editing the bash script, you can use the Bash-n-X two options for script checking, not necessarily to run the program when the need to modify the script.Bash not only has the meaning of running scripts.No news is good news.I'm going to modify the original script a little bit.The-n effect I can not demonstrate now, before it is possible to directly point out the syntax errorThis is the effect
first, the basic concept of GitHub
Purpose of Use: Managed project code with GitHub
1. Warehouse (respository)
2. Collection (Star)
3. Cloning a clone Project (fork): fork-you open up a project, others want to make some improvement on your project, and then apply it to your project, then he can fork your project (open the Project homepage and click the Fork button in the upper right corner), Then you have
This two-day use of GitHub set up their own personal homepage, the URL is hyman1994.com. Interested friends can visit, welcome your guidance and suggestions.
(Article source http://blog.csdn.net/u012422829/article/details/46285577)
Process Summary:
1. Sign up for your github account, called XXX
2. Create a library named XXX.github.io
3. I think it's a very important step:
Read a lot of blog said that after
have your computer clone a library that you created, with the code on your computer synchronized to the library you created GitHub.
To achieve this, you need to install a software Git Bash.
Next I will introduce the installation of this software, as well as simple configuration.
Git-scm.com first into the GitHub official website, download the appropriate versio
How to upload local code to github and upload code to github
To put it bluntly, someone recently asked me in the Group how to upload the newly created local code to github. Here is a simple record. I like to use the command line. Here it is all implemented using the command line, if you are not familiar with the git command, you can understand it.
Step 1: Crea
This article is written in the spirit of sharing, helping others, happy yourself, helping others, and serving the people in a brand new way. After reading this article, you will learn how to back up local code to GitHub in Linux and how to clone the code that interest GitHub to your local computer. In fact, there are a bunch of tutorials on git, but they are too scattered and mostly for experienced programm
Bash script exercises and bash scripts
Exercise 1:
1. Add five users, user1,..., user5;
2. The password of each user is the same as the user name. After the password is added, the command execution result is not displayed;
3. After each user is added, it must be displayed that the user has been added successfully.
Useradd user1
Echo "user1" | passwd -- stdin user1 >/dev/null
Echo "User1 added ."
C
Bash metacharacters (upper) and bash characters
Metacharacters
Function
Example
Carriage return line feed
End a command
Space
Split elements in a command line
Ls/etc
Tab
Command auto-completion
#
Start a line of comment
# This is a comment line
"
Multiple characters referenced but allowed to be replaced
"$ File". ba
Bash internal variable, Bash variable
Bash internal variables
Some internal commands are invisible in the directory list. They are provided by the Shell itself. Common internal Commands include echo, eval, execexport, readonly, read, shift, wait, exit and point (.)
Echo variable table
Display the specified variable in the variable table to the standard output.
Ev
Bash remote code execution vulnerabilities are really much more powerful than heart drops, but the impact is not very broad, but yesterday's analysis of the article bash The Remote Code execution vulnerability analysis at the end of this paper mentions the bulk problem of the vulnerability.
One of the easiest ways to do this is to use the search engine's hacking technology, where I use the Google hacking sy
Tried a lot of methods, this is more suitable for me.The GitHub client installer that is downloaded on the website may have an installation error, and the log shows that http://github-windows.s3.amazonaws.com/GitHub.application cannot be downloaded.This address cannot be accessed with Internet Explorer and cannot be deployed after downloading with another browser (prompt for error, details showing deploymen
GitHub: Repository capacity quota limit, github capacity quota limit
Original article: https://help.github.com/articles/what-is-my-disk-quota/
What is my disk quota? What is the disk quota limit?
GitHub doesn' t have any set disk quotas. we try to provide abundant storage for all Git repositories, within reason. keeping repositories small ensures that our server
Bash script skills-trap Command, bash script-trap
Share a shell script technique. When you write a shell script, you generally only ensure that the function is available, but the program is not very robust and not robust enough. Most of them are script processing.
The built-in trap command can handle unexpected system signals, for example:
Trap "rm-f/var/lock/subsys/my_program_lock_file; Exit 0 "1 2 9 15
Set bash options with built-in set and SHOPT commandsThe set command can be used to customize the shell environment, using the option "O" to turn options on or off. For example, open the options: Set-o option, close the Select item: Set +O option.For example, to open the VI Interactive command-line edit, the following:
[Email protected] ~]#Set-o#查看当前设置情况Allexport offBraceexpand onEmacs onErrexit offErrtrace offFunctrace offHashall onHiste
Recently in Bole Online read an interesting article, "How to make a contribution" in GitHub "right", inside a variety of capable spoof Github "public contributions", the following intercept several small partners of the record:The clues, found that someone has already made "play bad" Github tools, called Gitfiti. The main corresponding to the pre-defined template
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.