Shell Online Chinese manual abs,shell Chinese course, Shell Chinese course-submarine Eagle (tank) Blog
http://manual.51yip.com/shell/
Http://mprc.pku.edu.cn/mentors/training/TrainingCourses/material/ShellProgramming.HTM
Common sense of shell
I. OverviewThe shell is a program written in C that provides access to the operating system kernel services through a shell user. It is similar to DOS command and later cmd.exe. The shell is both a command language and a programming language.Shell
1. Shell Introduction 1.1 Shell appearance backgroundThe Shell is both a scripting language and a software for connecting cores and users.For the graphical interface, the user can start a program by tapping an icon, and for the command line, the
ShellSpecial variables: Shell $, $#, $*, [email protected], $?, $$ and command line argumentsAs already mentioned, variable names can only contain numbers, letters, and underscores, because some variables that contain other characters have special
When scripting is often written in operations, most people first think of using "-eq" for comparisons when using variables intermittently, but in fact if the variable value is null (NULL) for a special reason, bash shell converts null to 0 for "-eq"
8.10 Shell Special Character _cut command* Any of any characters? Any one character#注释符号\ de-Justification symbol| pipe character"$" the symbol with "!" "!$" means the last variable in the previous command";" Delimiter, use "~" User's home directory
In this chapter we'll look at a seemingly trivial detail-our shell. This examination would reveal some of the inner working of the shell and the terminal emulator program itself.Many things in linux,the shell prompt was highly configurable,and while
Execute shell command in PythonThe previous execution of the shell command is mostly done by Os.system (Shell command), which is more cumbersome.Understand that SH is a better library than subprocess, capable of executing shell commands1. View
The printf command mimics the printf () program in the C library.Standard, so scripting with printf is better than using echo portability.printf uses reference text or space-delimited parameters, which can be used outside of the format string in
There is also a very useful feature in Bash's operating environment, which is the wildcard character (wildcard)! It's even easier for us to use bash to process data! Below we list some commonly used wildcard Fu Yi:
Symbol
Transfer from http://roclinux.cnThis original article belongs to "Linux greenhouse" blog, the blog address is http://roclinux.cn. The author of the article is rocrocket.===[Start of body]Sometimes learning scripts, you will find the sort command
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
You can use anyProgramTo compile the shell program. Because the shell program is interpreted and executed, it does not need to be compiled into the target program. According to the shell programming Convention, for example, the first line of the
The company's Linux server uses a common desktop and lacks a disaster recovery mechanism. The company stores a large amount of data on this server. Once a fault occurs, the consequences are
FS Shell
Use bin/hadoop FS to call the File System (fs) Shell Command. All FS shell commands use the URI path as the parameter. The URI format is scheme: // authority/path. For HDFS file systems, scheme is hdfs, for local file systems, and scheme
Because development requires that the development environment be automatically deployed every night, it takes one day to write a jboss-based Automatic deployment script.
#!/bin/bash#deploy jboos script#Usage(){ echo "Usage: `basename $0` -D earDir -
Shell-encrypted shc vulnerability and shell-encrypted shc Vulnerability
Recently, I have been compiling Shell scripts for customers to use. I will inevitably encounter some sensitive information that I don't want them to know. So I used Shc script
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.