Shell -- getting started with shell

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

File and directory permissions and their management in Linux system

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 [1] File type -Ordinary file d catalogue l Soft connection b Fast equipment c Character device s sock ...

Added by varzosu on Tue, 08 Mar 2022 22:50:48 +0200

Shell tutorial 2: common commands and process control

S h e l l Shell Shell Scripting Language Tutorial 2 2 2 Copyright: Jingmin Wei, Pattern ...

Added by ronald29x on Tue, 08 Mar 2022 06:23:07 +0200

Crond scheduled task

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. Basic ...

Added by Mr_jmm on Fri, 04 Mar 2022 21:46:34 +0200

shell script -- loop control

Fundamentals of shell programming (shell script learning notes) loop 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

Quick start to shell Scripting (for new learners)

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 Commands: let 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

Variable 4 in shell script

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

npm command line tool development guide

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. establish 1 initialize npm project npm init package name: (cli) gogocode-cli version: (1.0.0) description: my-first-cli entry point: (ind ...

Added by cry of war on Fri, 18 Feb 2022 18:37:28 +0200

Do you often forget Linux shell commands? I'm ready for you.

preface 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

Recursive copy folder script under Ubuntu - you can copy the selected folder and its children to the target path

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