1. Introduction to shell
1. Configuration requirements:
OS: RHEL7 or CentOS8 is recommended
CentOS8 will stop maintenance at the end of 2021
RHEL8 or dragon lizard operating system https://openanolis.cn
2. Classification of Shell Scripting Language
There are two kinds of shells: Bourne shell and C shell
Bourne shell includes Bourne s ...
Added by mcog_esteban on Thu, 10 Mar 2022 10:18:30 +0200
View and read permissions
I Permission view
ls -l file view file permissions ls -ld dir view directory permissions
II Understanding permissions
File permission information Directory permission information
$: explanation for each digit  File type
l Soft connection
b Fast equipment
c Character device
s sock ...
Added by varzosu on Tue, 08 Mar 2022 22:50:48 +0200
Cron timed task expression manual
Cron expression is applied in Unix and Unix like operating systems to make scripts and tasks execute periodically and repeatedly. Cron expression has poor and rich expression ability and can meet various time expression needs. This page arranges some basic grammar and common examples for your reference.
Added by Mr_jmm on Fri, 04 Mar 2022 21:46:34 +0200
Fundamentals of shell programming (shell script learning notes)
In Shell programming, it is often necessary to repeatedly execute one or a group of commands, such as printing 10 "Hello World" continuously - although writing 10 echo "Hello World" instead of loop can also complete the same work, but what if printi ...
Added by chrislead on Wed, 23 Feb 2022 20:04:00 +0200
The following shell commands are
gitbash installed on windows can execute successfully. The single and double quotation marks under linux may be different.
Common basic commands
let command is a tool for calculation in BASH, which is used to execute one or more expressions. It is not necessary to add $to represent vari ...
Added by KingPhilip on Wed, 23 Feb 2022 13:35:13 +0200
1. Definition of variables A variable is the address of an area of memory Meaning of variables The command cannot manipulate the value that changes all the time. Using a fixed string of characters to represent an unfixed target can solve this problem 2. Variable definition method in shell script Environment level: the variable becomes invalid a ...
Added by ChrisDarl on Sun, 20 Feb 2022 15:44:40 +0200
We often use command-line tools in front-end development, such as @babel/cli,vue-cli,create-react-app wait. So how to create an npm command line tool? In fact, it's very simple. It only takes a few steps.
1 initialize npm project
package name: (cli) gogocode-cli
entry point: (ind ...
Added by cry of war on Fri, 18 Feb 2022 18:37:28 +0200
What is a Linux Shell
Linux Shell is the interface program between users and Linux kernel, which provides users with an excuse to use the operating system. When a command is passed to the Linux kernel, it will respond.
Shell is a user program, or an environment provided for user and system interaction.
It is a language interpreter ...
Added by desithugg on Fri, 18 Feb 2022 04:26:21 +0200
Virtue wins talent, which is called a gentleman; Talent wins virtue, which is called a villain—— "Zizhi Tongjian · Tang Ji"
I Antecedents - reduce duplication of effort
Previously, when deploying the running environment of development software in ubuntu, it was necessary to copy and paste the contents in differe ...
Added by markmax33 on Wed, 16 Feb 2022 18:43:20 +0200