We use Gitlab in the company intranet to build a Git server, in the actual use, need to get some warehouse data, but I do not understand the web, so I intend to directly on the server to do the warehouse processing, extraction information, and now
Gets the MD5 value of the file:
$ md5sum linuxmint-12-gnome-dvd-32bit.iso|cut-d '-f1
The resulting MD5 value:Ee3d6e2ca498bc7685b7f17cdb5f2eea
Use MD5 to verify ISO files:
$ md5sum Linuxmint-12-gnome-dvd-32bit.iso >linuxmint-12-gnome-dvd-32bit.md5
Scripting Tips
Script file name naming rules
The characters for the file name include
Letters, Numbers, ".", "_" and "-", note: The script's filename cannot begin with a number.
Name the name of the script file, use English words, phrases,
The script for this lesson is also shared in the share.
Day Fourth: Circular structure
Content outline:
application Example Analysis
For loop
While loop
The principle of the For loop
Achieve effect
Modified according to yesterday's menu.
Day Three: Conditional selection
Outline
application Example Analysis
Condition test
if...else...fi
Case...in...esac
Implement function Menu :
After executing the script
Press 1 to display the current time
Press 2 to show CPU load
The DB2 tutorial you are looking at is: Use shell extraction to update DB2 data. The shell processing DB2 database, which is written for work needs, extracts DB2 data from the shell and processes it.
#SQL文定义
Sql= "SELECT AAA, BBB, CCC from MYTBL1"
Objective
I'm sure you all know that bash down time is a very useful command that can be timed for execution of a script or program, which is usually handy when it comes to a rough comparison of program execution efficiency. But you will find that
I saw a shell problem today, just to practice practicingYou need to create subdirectories (named in years) in multiple directories (such as Beijing Shanghai Tianjin Guangzhou, and so on), then enter subdirectories, create new directories, and name
The comm command compares the data in each row of the two sorted files and displays their results, and if no arguments are specified, the Comm command reads the two files and then generates three columns of output:1> only the rows that appear in the
The first day of writing today, first of all, the basics of writing shell scripts
1. The shell script is extended with. SH, usually running./${filename}.sh or SH ${filename}.sh2. Shell script begins with #!/bin/bash #! read as "Shebang"3. Open
I have a limited memory, the usual Linux encountered in the project to share the common commands to everyone.
Linux Common commands complete http://www.jb51.net/linux/
^m exists in Linux filesThe use of shell command TR can be achieved by removing
Once a file is created, it has three ways to access it:1) Read, you can display the contents of the file.2) write, you can edit or delete it.3 Execute if the file is an S H e l l script or program.The permissions of a file can be grouped into three
HBase is the Open-source implementation of Google BigTable, using Hadoop HDFs as its file storage system, using Hadoop MapReduce to handle the massive data in HBase, using zookeeper as a collaborative service.
1. Introduction
HBase is a
first, talk about the limitations of the Shell scripting language itself
As an interpretative scripting language, it is inherently inefficient. Although the other commands it invokes may be good in efficiency.
The execution of the shell script is
Find the help process through the man:
[Chengmo@centos5 ~]$ Man-h...F:same as Whatis (1)...
#觉得比较奇怪, what is Whatis?
[Chengmo@centos5 ~]$ Mans Whatis#查询得到是:#whatis-search The Whatis database for complete words.#它是查询whatis数据库的工具
#The Whatis
Iredmail is a set of postfix-Core integrated messaging system installation scripts that can be used to quickly deploy mail servers.
After a series of analyses above, enter the steps to obtain the installation package, the author wrote a separate
Suppose we define a variable as: file=/dir1/dir2/dir3/My.file.txt We can replace each other with ${} to get different values: ${file#*/}: Take out the first/its left string: Dir1/dir2/dir3/my.file.txt${file##*/}: Take out the last/and left string:
Remote control using sendkeys in vb.net:Sendkeys has been used in vb6. Remote control is used to indirectly control external programs by sending keyboard events.In vb7, I found that this was useless and it was useless. Later I saw this when I
I have previously written a script similar to mysql full and incremental backup, but it is too simple. Last night, I wrote an instance for mysql5.7 for the company's online server, which is relatively more optimized.Note: This script is only
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.