Some Linux shell commands

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.

HBase Quick Start--shell operation

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

Linux shell command

Lists the user and password expiration period. Chage-l username650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/7D/58/wKioL1bmf6qzyGFrAAAWpNvEXpQ074.png "title=" Username.png "alt=" Wkiol1bmf6qzygfraaawpnvexpq074.png "/>Last password

command used by the shell (1)--"and (&&)", "OR (| | )”,“:”,"."

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 &

Shell script face Questions

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/7C/D6/wKioL1bZELvR0rU7AAF_GjuzRYI110.png "title=" 6.png " alt= "Wkiol1bzelvr0ru7aaf_gjuzryi110.png"/>#!/bin/bashif [!-d/rhome]then mkdir-p/rhomeficontinueuid=1000for i in ' seq 1 ';d oecho

Linux Basics: The usage of regular expressions in the shell

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

Linux Basics: The usage of regular expressions in the shell

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

Special symbols in the shell

* 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

Shell Scripting compilation

First, replace the text:# #1Sed-i ' s/disabled=true/disabled=false/'/etc/fdfs/storage.conf# #2Sed-i ' s/base_path=\/home\/yuqing\/fastdfs/base_path=\/fdfs\/storage/'/etc/fdfs/storage.conf# #3echo "Enter tracker_ip:"Read Tracker_ipecho "$Tracker

Shell Operations for HBase

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

Linux Shell:nginx log Cutting scripts

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:

Comparison of Shell variables

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

HBase Shell Common Commands

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.

17th Shell Programming Basics (2)

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

Tomcat's shell script---show the process number

#!/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

Sorting algorithm--shell sorting

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,

Java-jar Shell Start, stop

Enable VI start.sh# !/bin/sh # ################################################################## # Powered by Ironfo # ################################################################## # Note: You must have & let it execute in the background,

Array of Shell programming

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

Java calls shell commands and scripts

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

JS Implementation Shell Sort

//shell sort with insert sortfunctionShell_insert_sort (arr) {varGap =arr.length; Do{Gap= parseint (GAP/3) + 1;Console.log (GAP); for(vari = gap; i Gap) { varTMP =Arr[i]; for(varj = I-gap; J >= 0 && tmp Gap) {Arr[j+ Gap] =Arr[j]; } arr[

Total Pages: 541 1 .... 474 475 476 477 478 .... 541 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.