In the Linux shell, numbers are treated as strings by default.So define the variable, a, band assign a value a=2,b=3So: what is $A + $B? The result is 3+2. This is the result of the default string processingTo do arithmetic, the following four ways
1. Installing Docker2. Download the Docker image with Xware(1) What is Xware? (http://my.oschina.net/u/1382972/blog/285129)(2) Download from there? (Https://github.com/yinheli/docker-thunder-xware) Of course, after installing Docker, take it
Introduction: CentOS StartX into the desktop after the use of Chinese input method This solution is too stupid, and only applicable to the red system such as CentOS ...A more general approach is provided here, as long as you set the system's
1, VI of the basic conceptBasically, vi can be divided into three states, namely command mode, insert mode (and bottom line mode), the function of each mode is as follows: 1) command-line mode to control the movement of the screen cursor , delete
1. View the list of user groupsCommand: Cat/etc/groupData format: Group name: password: Group identification number: List of users in the group2. View the list of usersCommand: CAT/ETC/PASSWDData format: User name: Password: User identification
Wc for common linux shell commands and wc for linuxshell commands
Wc: View File statistics usage: $ wc filename
1. $ wc fileName
$ Wc fileName
X y z/Desktop/hello
X: indicates the number of rows.
Y: Number of words
Z: number of bytes
Tool function analysis and Function Analysis
These functions belong to the Environment preparation class. In fact, it is important to check the environment when writing similar scripts. This prevents errors reported when some environments are not
How to delete garbled files in Linux
When the file name is garbled, you cannot enter the file name through the keyboard. Therefore, you cannot directly use commands such as rm and mv to manage the file on the terminal. You can delete garbled files
Ubuntu user Steam controller does not work Solution
The Steam controller has been delivered to game players all over the world, but some friends encounter that the Steam controller cannot work normally in Ubuntu. In this article, we will introduce
Linux: The system password is forgotten and cannot be logged onYou can change the password before logging in to the single-user mode. Step 1: restart the system. before entering the system, press the "Esc" key in the upper-left corner of the
Install codeblocks in UbuntuPreface it is difficult to install codeblocks in linux. Generally, the installation of CB fails due to the installation failure of various dependencies to be installed, then there will be various conflicts during the
Linux Study Notes (sorting records)1. install 2. laruence's Linux Command Learning (1): displays the language currently supported by the system: echo $ LANG (2): modifies the language to English: LANG = EN_US (3 ): command for displaying date and
Fedora 23 Server Management Control Panel Cockpit
The Fedora 23 server beta version has released some logs. We all know that the Cockpit server control panel is installed by default in the server version. This is a free software developed by Fedora,
Implement reverse proxy server using the Apache forwarding Module
Problem causeThe company's LAMP server uses Apache's VirtualHost function to deploy multiple websites with independent domain names. The httpd. conf configuration file is as follows:
#
Restore deleted Nginx logs by mistake
Yesterday I encountered an interview question: how to restore the accidentally deleted nginx log. At that time, I just answered the general ideas and steps. At night, you can take time to simulate accidental
Varnish enables page Jump
Ngxin implements user-agent to access non-page pages. It is very simple, but we generally use the cache layer as the front end. The same principle applies to the cache layer.
We use Varnish today. Note that we implement 302
How to import Gitolite to other Git code Libraries
In the last section, we configured Ubuntu Gitolite to manage Git Server code library permissions. Here we will test how Gitolite can import other git code libraries. The original Server has an sdk.
CentOS7 installation of JDK1.7 Hadoop-2.7.1 compilation process details
I compile Hadoop process is twists and turns, but the harvest is also a lot, the following system introduces the whole process of compiling Hadoop-2.7.1 under CentOS7. First,
Basic usage and cluster construction of ElasticSearch
I. Introduction
Both ElasticSearch and Solr are Lucene-based search engines. However, ElasticSearch is inherently distributed, while Solr is a distributed version of SolrCloud after version 4.0.
Install and deploy a Kafka distributed cluster in Linux
Note: before deploying Kafka, deploy the JAVA and Zookeeper environments.
Prepare three CentOS_6.5_x64 servers:IP: 192.168.0.249 dbTest249 Kafka IP: 192.168.0.250 Other250 Kafka IP: 192.168.0.20
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