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.
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
Commands common to the shell:1, and list with or list:1), and List (&&):Executes the next command when the previous command executes successfully.When there is an execution failure, reverse the "failure code" directly.Use:Statement 1 && Statement 2 &
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
* As a wildcard character, you can represent multiple characters, such as *.txt? wildcard character, which represents only one such as. TXT a.txt# in the shell script, #放在行首, the bank does not take effect\ Caret, \ Revert special characters to
1. Enter the command lineBin/hbase Shell2. Enter Help to view various command groups.Commands are grouped, and you can perform the commands that help ' general ' view the general group.3. Common commands--What tables are displayedList--displaying
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:
Two comparison of parameters[Email protected] shell]# VI test.sh[email protected] shell]# cat test.sh#!/bin/bashif [$1-ge];Then ECHO-E "\033[41;37m \033[0m "Elseecho "Start and End time is: ' Date-d" $ days ago "+%y%m%d"--' date-d ' day Ago
Quick start from official Hbase
HBase (main):003:0> create ' test ', ' CF ' 0 row (s) in 1.2200 secondshbase (main):003:0> list ' test ': 1 row (s) in 0.0550 secondshbase (main):004:0> put ' test ', ' row1 ', ' cf:a ', ' value1 ' 0 row (s) in 0.
Shell study1. Exit StatusIf the command executed successfully (or true), the value of $? is zero. If the commandfailed for some reason,$? Would containapositive integer between 1 and 255, inclusive. A failed command usually returns 1.2, testing an
#!/bin/bash## Chkconfig:-95 15# description:tomcat Start/stop/status Script#Location of Java_home (bin files)Export java_home=/usr/local/jdk1.7.0_75#Add Java binary files to PATHExport path= $JAVA _home/bin: $PATH#CATALINA_HOME is the location of
PrincipleDivides the sorted array into sub-sequences (this depends on the originally set step value), then inserts the sequence directly between the individual sub-sequences, and then the increment (that is, the step value) and then inserts the sort,
Enable VI start.sh# !/bin/sh # ################################################################## # Powered by Ironfo # ################################################################## # Note: You must have & let it execute in the background,
Bash programming only supports one-dimensional arrays, does not support multidimensional, like C, array subscript starting from 0, subscript can be an integer, or it can be an expressionDefinition of an arrayUse parentheses in the shell to represent
Shell scripts are powerful and simple when working with text and managing the operating system.Combining shell scripts into your application is a great way to quickly implementThis article describes the use of Java code to invoke and execute the
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.