Linux--shell Programming variable assignment and reference
Linux shell programming is a very mature programming language that supports various types of variables. There are three main types of variables: environment variables, internal variables,
Project release, write a shell script to start the project, including the start of the project, turn off the restart, including the project log output to the specified file, not for anything else, just for the next project release, you can directly
For some Ubuntu geek, they sometimes prefer to use the command line to launch apps on the phone and debug our app in this way. We can enter into the shell of the phone in the following ways:
We can find the following pre-installed
When vim modifies a file, it exits with such an error. The logs are as follows:It's not a big problem, it's just that when I got into the pit ssh, I was really taken into the pit.# 强制退出并保存:wq!No :!wq , I do not know whether the fate of the small
First, Shell historyThe role of the shell is to explain the execution of the user's commands, the user enters a command, the shell interprets the execution of one, which is called Interactive (Interactive), and the shell has a way of executing the
Excerpt from: Abs_guide: http://www.tldp.org/LDP/abs/abs-guide.pdf
The meaning of shell variable $#,[email protected],$0,$1,$2 in Linux is explained:Variable Description:$$The PID of the shell itself (ProcessID)$!PID of the Shell's
The content of this section:
Create Kafka Topic
View all Topic lists
View specified topic information
Console to topic Production data
Data from the console consumption topic
View topic the maximum (small) value of a
Use Shell to write a simple calculator, you can implement add, subtract, multiply, divide operation, if the script name is 1.sh, execute example:./1.sh 1 + 2#!/bin/bashif [ $# -ne 3 ]then echo "The number of parameters should be 3, for example: $0
First, peanut shell installation (before installation needs in the Peanut Shell website registration to get a free domain name, with this domain name, behind the outside network through access to this domain name to achieve SSH login Intranet Linux
#!/bin/shAccount and password can is change to what do you wanna!#author Chuanglan#修改为您的accountAccount= ""#修改为您的pwPassword= "a.123456"#手机号码, Format (area code + mobile number), for example: 8615800000000, where 86 is China's area codeMobile= "8615800
Original article link
I. Classification of shell environment variables and differences between set env export:
Set: Display (SET) private variables and user variables included in Shell variables. Shell of different classes have different
Today, let's learn about Common Unix shell commands. We all know that Unix shell is not only a user interaction interface, but alsoProgramDesign Language: when the system registers, it will execute a Unix shell command file. profile, which will give
Refer to: Linux commands, editors, and shell programming, and advanced programming in UNIX environment
Both exec and source are Bash Internal commands (builtins commands). Enter man exec or man source in Bash to view all internal command
Google's Chrome OS shortdes a shell environment known as chrome shell, or "crosh" for short. crosh events des several terminal commands that can be used on all chromebooks, even ifdeveloper mode isn't enabled.
Crosh includes commands for connecting
Skype is currently the most powerful IM + VoIP Software on the planet, and now it has changed the way of life for 0.28 billion people around the world. You deserve it! :)
Official site of Skype: http://skype.tom.com/
Skype Global Site:
This tool can be remotely controlled using commandsLinuxAnd can be easily integratedLinuxThe system interacts with files so thatLinuxAndWindowsBuild a convenient bridge between them.
UseSSH Secure Shell ClientRemote ControlLinux(1) InstallSSH
This article is the second chapter of "learning the bash shell" 3rd edition, command-line editing, Reading Notes. But we will not limit this.
In general, I just try to press it directly. If an error occurs, use the cursor and arrow on the left or
Reprinted from: http://blog.csdn.net/fox_lht/archive/2010/09/20/5897336.aspx7. Compound commands
Except for the simplest script, you rarely want to execute every command. Executing a group of commands or repeating a group of commands several times
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service