Type of variable in bash
Local variable: Valid only for the current shell and not for its child shell
Variable assignment: Name=value
Name= $user
Name= ' command ', name=$ (command): "The Meaning of" and $ () is different.
The following figure
Shell
The shell also has a way of executing commands called batching (Batch), in which the user writes a shell script, which has many commands that allow the shell to execute the commands one at a time without having to hit the command one by one.
Access to the server through SSH, it is inevitable to use compression, decompression, packaging, unpack, etc., this time the tar command is essential to a powerful tool. The most popular tar in Linux is though small, spite, and powerful.
The tar
The following content from the Wetty profile, environmental preparation, Wetty installation, and validation of the analysis, please see below for details.
1. Wetty Introduction
Wetty is an open-source web-based SSH developed using Node.js and
This article collects a bunch of shell scripting tricks, I said, I write a blog mainly to make some learning notes to facilitate their own review, so I will make such an article, there is nothing incomprehensible. About the origin of these
During the loop, there are times when you need to force out of the loop without reaching the end of the loop, and the shell uses two commands to implement the function: Break and continue.
Break command
The break command allows you to jump out of
The script is as follows:
#!/usr/bin/expect-f
Set Password Password
Spawn SCP username @ Target Machine IP: Path of the copy file location of local files
Set Timeout 300
Expect "user name @ Target machine IP ' password:" #注意: "User name @
Brief introduction:
The Ssh Secure Shell Client tool uses commands to remotely control Linux and facilitates file interaction with Linux systems, making it a convenient bridge between Linux and Windows.
We know that as Windows and Linux file
Now open the browser has a variety of relevant plug-ins available, take word translation, etc. at your fingertips, but in the command line to browse the information encountered when the new words copied to the online search, one back more annoying,
What is a shell?The shell is a scripting language aming_linux blog.lishiming.netYou can use logical judgments, loops, and other syntaxFunctions can be custom-definedThe shell is a collection of system commandsShell scripts enable automated
Blog Address: http://www.moonxy.comFirst, prefaceCommon programming languages are divided into two categories: one is compiled languages, such as C, C + +, and Java, which are compiled by compilers before they travel. The other is an interpreted
1. Monitor CPU information with Vmstat tools.Vmstat is a Linux system monitoring tool that uses the Vmstat command to get information about processes, memory, memory paging, blocking IO, traps, and CPU activity.R: The number of processes in the
Preface: There are a lot of instructions in daily system management that need to be run repeatedly,Shell programming provides for,while,until ,Select Loop statement to implement the function of the repeated execution of a specific instruction, in
This article is in the study of "with the old boy learning Linux Koriyuki Shell Programming Practical" the knowledge points recorded in this book. I have benefited greatly from reading this book, but this is only my personal opinion. Now let's get
#一. Writing script files for system load monitoring#!/bin/bash#########################################################################This scripts is checking the system load,vision 0.1#Author: Hejunyi#E-mail:158****[email protected]################
Town Field Poem:The Pure Heart sentiment wisdom language, does not have the world name and the benefit. Learn water under the hundred rivers, give up arrogant slow meaning.Learn to have a small return to feed root, willing to cast a conscience blog.
2,WC [-LWM]
Options and parameters:
-L: only list rows;
-W: How many words are listed(English word);
-M: The number of characters;
3,Md5sum
Md5sum [Option]... [file]...
Print or check MD5. (128-bit) checksums.
With no file, or whenFile
IntroductionYou can do many things without knowing how they actually work. For example, you don't have to understand the physical principle of engine combustion before you can start a car. Lack of electronic knowledge will not stopYou use a CD
In the Win32 operating system (including Win9x, Windows NT, and Windows 2000), Microsoft not only has a convenient graphical user (GUI) interface, but also retains powerful scalability for the Windows user interface. For the operating environment on
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