Transferred from: http://my.oschina.net/u/189445/blog/595232Two months ago used HBase, now the most basic commands are forgotten, leave a reference ~
HBase shell command
Describe
Alter
Modify Column family
One, shell input function1. Keyboard inputWay One:[Email protected] four]#CatTest.SH#!/bin/Bash #-the e parameter resolves the escape character in the statementEcho-E"My name is user1\n my name is User2"#-n parameter allows the echo command to end
Some time ago in the study shell script, the last mention of the SED mode space and maintain the concept of space, but has not studied well, these two days studied, so it sent, not very comprehensive, just for your reference.Keep the space sed under
I. Digital testingFormat: N1-op n2Test Operation op:EQ/NE/LE/GE/LT/GT--equals/not equals/less than equals/greater than/less than/greater than1. A numeric comparison can use a special (()) operator, which is closer to the C language, see digital
In the recent work, the product group of colleagues to give the data are all lowercase letters, but the engine team colleagues asked them to get from the data inside the structure of the analysis is all capitalized structure, which makes our data
Recently summed up some of the shell's operations on strings, hoping to help you better understand the shell. Strings can also be manipulated in the shell through external commands such as awk, SED, but invoking these external commands is very
This is my first shell Script, write chaos, experiment, or is available, and now on my own Web server running up!! ~~#!/bin/bash# this shell script to prevent SSH brute force hack #auther:aaron guo#date:jan 8 2016#version:1.2# Specifies the shell'
This is due to the fact that the environment variable hasAllias cp= ' Cp-i 'In order to get rid of the alias of this system, can use Grep-r--include= "*" "Alias CP"/Find the script file setting this environment variable:On my Ubuntu machine
The shell is a programming language, a command interpreter, which is the kernel that interprets the commands we enter.He is divided into two types, the interactive mode is that the shell waits for your input, and executes the commands you submit;
The simple thing is to write some shell syntax and commands in it, plus regular expressions, pipeline commands, and data flow redirection to achieve the purpose we want.Shell scripts is a good tool for system administration, but it is not fast
Linux has three ways to change permissions:chmod/acl/sudo
The first two are used to change file permissions,sudo is used for more application or command execution permissions
chmod limitation is the inability to achieve multiple
Variables are divided into system variables and user-defined variables, and their profiles are of course divided into system environment variable configuration file and user environment variable control file.1. Specify the configuration file for the
Determine how long the Linux file has been modified to perform actionsCreate a scriptvi/var/tomcat/find.sh#!/bin/bashA= ' stat-c%y/var/tomcat/logs/catalina.out ' //Get File modification time (in seconds)b= ' Date +%s ' //time to get the current
1. In the build environment, the server's password is often modified to ensure security and can be scripted with the shell.Using SSH to directly modify the password of the other server can be implemented with the SSH username @ login IP followed
Miss the task Manager under Windows, ah, what to look at the pleasing of the program mouse points can be killed.Today in the Firefox browser to browse the Web page, the interface instantly stuck, nothing can point, test, only switch to command line
Fly2015For FSG shells. No previous contact was the first contact. This time to take the shelling process is still my love to crack the forum to crack the training of the Operation 3 program. For this shell toss for a while, and later was taken care
Small black daily tossing-quick creation of shell scripts for private CA
Tom started to make new things again. He just learned how to build a private CA through openssl last week and spent some time writing this script on Saturday. After that, he
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