1. Install SSH, install Needless to say, always click Next
2. Click SSH Secure Shell Client and click on Quick connect above.
Host: IP address of the connected Linux (on Linux, log on as root, ifconfig view IP address as shown below)
)
User:
Reprinted from Matchless Castle | Demon Angel
When the shell edits the script, the runtime appears "': not a valid identifier", or it will appear (: Command not found, many inexplicable symbols) it is likely that you are editing under Windows,
Original
To blur a lookup, you can write this. But Row_key can only be technical to the right of the query.
such as: row_1000, row_1001,row_1002,row_1003,row_1004,row_1005,row_1000,row_10006,
Scan followed by table name
Scan ' table ', {LIMIT = = 100
With the popularity of Docker, the application of Docker is more and more, the work is certainly not necessary, but the individual feel that some of Docker commands require a bit more parameters, such as running a container, –name to the container
1.6.2 Default shell environment variables and PATH variable settings
1. Default shell environment variables
Bashshell default will use some specific environment variables to define the system environment. You can always rely on the variables set
CTRL + A//move to the beginningCtrl+e//Move to end of line===========linux System with ============Alt+a//move to the word header where the cursor is locatedAlt+e//move to the end of the word where the cursor isAlt+d//delete cursor at end of
1, using the shell to intercept log logs for a period of time can use the SED command to extract the log file:The command is as follows:#sed-n '/1531324800/, $p '/data/log/mosquitto/mosquitto.log >> log.log"1531324800": This is the start timestamp,
Shell Programming BasicsThe shell is a program written in C that is a bridge for users to use Linux. The shell is both a command language and a programming language. A Shell is an application that provides an interface through which users access the
1.1 Shell Programming Basics 1.1.1 basic knowledge of Shell programmingBe familiar with the VIM editorFamiliar with SSH terminalMaster the common Linux commandsNumber Master Linux regular expressions and Three Musketeers commands (grep, sed,
Regular Expressions && text-processing toolLearning Goals:L Mastering the use of regular expressionsL MASTER the use of SED and awk text processing toolsDirectory structure:Regular expression Regular Expressions overviewL Regular Expressions: Use a
First, we know that there are several ways we execute the shell.1. Sh/bash uses its built-in command set to execute some commands, such as the followingSH Demo.shbash demo.sh2. Use./or $SHELLPATH/*.sh the way to
is a powerful text search tool that can use regular expressions to search for text and print matching lines.I often use it to find strings such as: grep -rn "字符串" .Recursively finds the "string" in all files in the current directory and the line
First, the basicView all shellsCat/etc/shells or Chsh–l1. Examples of scripts.Linux does not differentiate files, for the convenience of memory, here with. Sh end.(1) Vim first.sh#!/bin/bashMkdir/root/shellIfconfig(2) Add Execute permissions chmod
What is 21.2 shell?The shell is a command-line interpreter that provides the user with an interface system-level program that sends a request to the Linux kernel to run the program, allowing the user to start, suspend, stop, or even write programs
We may encounter scenarios in which a program on a Linux server must be timed out on every weekday. So is there a way to implement this function? The answer is yes. We can use shell scripts to simply implement this function.The rationale is simple:
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