1. If you are still laughing at others to do micro-business, 5 years later you will regret more! Just like no one looked at Ma Yun!
2. I actually quite distressed those consulting prices after the silence of the people, dare you want to
Article Title: 50 famous quotes about linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
50. I develop for
Reference: First, the user log into the system after the system environment variables:
$HOME user's own directory
$PATH directory to search for when executing commands
$TZ Time Zone
$MAILCHECK every few seconds to check for new letters
$PS 1 The
Know when to use a space in bash and when not to use it.
1. Equal value assignment cannot have spaces on either side2. Spaces are required between commands and options3. Pipe on both sides of the space is optional
Let's take a look at the common
1. Linux Scripting Basics
1.1 Basic Introduction to grammar
1.1.1 Start
The program must start with the following line (must be on the first line of the file):
#!/bin/sh
The symbolic #! is used to tell the system that the parameters behind it
Format: for [parameter]% variable name in (related file or command) do execution command
Function: Executes specific commands on one or a set of files, strings, or on each object in the result of a command to achieve the desired result.Note: When
When to use the shell
Because the shell appears to be a common feature between UNIX systems, and has been standardized by POSIX. As a result, the shell script can be applied to many systems as long as it is written "attentively". Therefore, the
Shell script for file traversal and Deletion
The functions to be implemented in this article are as follows: a folder has a folder named by number, and files except the maximum encoding need to be deleted.Implementation
General idea: traverse all
Shell scripts implement file traversal and deletion,
The functions to be implemented in this article are as follows: a folder has a folder named by number, and files except the maximum encoding need to be deleted.Implementation
General idea:
1. Linux Scripting Basics1.1 Basic Introduction to grammar1.1.1 StartThe program must start with the following line (must be placed on the first line of the file):#!/bin/shThe symbolic #! is used to tell the system that the parameters behind it are
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.