Consider the next, just own a little record, according to their own situation to record it, follow up with new things to add at any time. Oh, yes.
First, getting started with common sense1. Several commands1)!n: Executable nth command in
1. Date:show current date and time.2. Cal:calendar.3. df:to see the current amount of free space on your disk drives.4. Free:show The amount of the free memory (if using this command at Cygwin, CROCPS package should has been installed Fir ST).5.
In the process of learning Linux BASH Shell programming, it is found that many things are easy to forget because they are not used very often, so write an article to recordLS Displays the files under the current path, commonly used have-l show long
I. INTRODUCTIONHBase is a distributed, column-oriented, open-source database derived from a Google paper, BigTable: A distributed storage system of structured data. HBase is an open source implementation of Google BigTable, which leverages Hadoop
By using Word count to perform the process in Spark-shell, we want to see what Spark-shell did? The following script is in the Spark-shell, see Code Listing 1-1.Code Listing 1-1 Spark-shell
1234567891011
functionmain() { if$cygwin;
In Linux systems, regular expressions (regularexpression) are powerful tools for finding, replacing, deleting, and so on for every Linux user, through the arrangement of special characters.In existing systems, regular expressions are also divided
In Linux systems, regular expressions (regularexpression) are powerful tools for finding, replacing, deleting, and so on for every Linux user, through the arrangement of special characters.In existing systems, regular expressions are also divided
Let's summarize the problem of recursive loops in the Linux shell today.Cause is a group of friends in the group of questionsQuestion of how to move a few files with more or less empty directories.In the final analysis, it's a recursive loop problem.
Requirement Reason: Nginx does not have the log cutting function, the log volume is large, convenient analysis. Implementation purpose: Complete Nginx log cutting, and according to the time named Brief command:
This script is what you might need to do after you've just installed CENTOS6.6. When learning CentOS, you can run this script to do some configuration to help you not be bothered by these firewall yum SELinux IP.#!/bin/bash #判断是不是root用户if [[ "$
Nonsense not much to say, directly on the code, the basic implementation of subtraction functions:#!/bin/bash# author by alsww# date : 2016.02.03# mail : [email protected]# blog : alsww.blog.51cto.comprint_info () { printf " Please enter the
Shell Introduction1.Shell was born in Unix,unix's first scripting language, which is a tool for interacting with unix/linux, it is meaningless to learn the shell alone, and the proficiency of the shell is a reflection of the user's proficiency in
Variable Description:$$The PID of the shell itself (ProcessID)$!PID of the Shell's last running background process$?End code of the last Run command (return value)$-Flag at a glance using the SET command$*All parameter lists. such as "$*" in the
Bash variable Category:
Local variable: Also called local variable, valid only for the current shell process
Environment variables: current shell and its child shell, child shell ....
Special variables: $? The status of the last
Awk is a powerful text analysis tool, with the search for grep and the editing of SED, which is especially powerful when it comes to analyzing data and generating reports. To put it simply, awk reads the file line-by-row, using spaces as the default
grep (Global search Regular expression (RE) and print out of the line, fully search regular expressions and print out the lines)grep is a powerful text search tool that uses regular expressions to search for text and prints matching lines without
Requirements:1. Display the current system date and time, and then create the directory/tmp/lstest2. Switch working directory to/tmp/lstest3. Create a directory A1d,b56e,6test4. Create an empty file xy,x2y,7325. list files or directories in the
First, shell variables1. Variables can be divided into two categories: environment variables (global variables) and local variables.Environment variables: All environment variables are system global variables that can be used in all child processes,
Enable VI start.sh# !/bin/sh # ################################################################## # Powered by Ironfo # ################################################################## # Note: You must have & let it execute in the background,
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