Sed is a good file processing tool, itself is a pipe command, mainly in the behavior of the unit processing, you can replace the data rows, delete, add, select and other specific work, the following first understand the use of SEDThe SED command
First, enter the Linux operating system,The LS [properties] [parameters] command indicates which files and directories are viewed under the current directory.Property value:-l file or directory details-A queries all files and directories under the
Source: http://blog.csdn.net/jiangheng0535/article/details/10287609Description: Due to the high time requirement of Hadoop cluster, the hosts in the cluster should be synchronized frequently. This document is suitable for Ubuntu, Redhat series.Note:
When we have time, we need to execute some specific programs or scripts at boot time, because it involves the problem of security main plane, so we don't want to do it with root.After viewing Su's help tips,
Environment centos6.6 in VM virtual machinesInstalling Dhcp:yum Install DHCPAfter the installation is complete, you can open the DHCP configuration file:/etc/dhcp/dhcpd.confThe configuration file is empty, but there is a partial hintAt this point
Sometimes the system program is more, will out OutOfMemory, PermGen space and other memory problemsFirst, monitor if there is no flow off, common such as inputstream, connection, etc., preferably close in finallySecond, it is recommended to monitor
These days the system is very frustrating, but also understand how the boot process is specific.The CentOS 7 is not good to use, want to uninstall Redhat install Ubuntu, in order to facilitate the diagram directly to the Red Hat Drive area format.
Modify file permission records in Linux and linux
1. There are three types of files,
Use ls-l to query. Files starting with "1", directories starting with "d" (commonly known as folders), and connections starting with the letter "l.
2. The remaining
Use jfreechart and linuxjfreechart in linux
Use jfreechart to generate images. in windows, there is no problem. In linux, cocould not initialize class org. jfree. chart. JFreeChart
JFreeChart cannot be initialized by default in linux.
The
Summary of common linux text processing commands and summary of linux Text Processing
Linux grep command
FunctionIn Linux, The grep command is a powerful text search tool that uses regular expressions to search for text and print Matching lines.
How to install gdb 7.6.1 on CentOS
1. Uninstall the old version of gdb if any
Rpm-qa | grep gdb
Rpm-e -- nodeps gdb-7.2-60.el6_4.1.i686
2. Install the Texinfo Document System
Yum install ncurses-devel
3. Download the source code package of
Variable array in C Shell, shell variable array
Today I was just reading a bit of C Shell Content and found a very interesting thing! Environment variables can be set like arrays! The specific setting syntax is as follows:
Set variable = (element1
Use a specified user to execute commands in Linux
Sometimes, we need to execute some specific programs or scripts when Linux is turned on. Because of the security issues, we don't want to use root to execute them. What should we do.
After viewing
CentOS6.5 install Elasticsearch
ElasticSearch is an open-source, distributed, and RESTful search engine built based on Lucene. Designed for cloud computing, it can achieve real-time search, stable, reliable, fast, and easy to install and use.
1.
Install pure-ftpd in CentOS
You are a new human in the 21st century. Don't tell me that you have never used FTP. FTP is File Transfer Protocol (File Transfer Protocol)
Generally, you can connect a user to a remote computer (these computers run FTP
Linux Common commands (15th)-which
We often search for a file in linux, but do not know where it is stored. You can use the following commands to search:
Which: view the location of the executable file.Whereis view the file location.Use locate with
Let the linuxhistory command display the command execution time and on which machine the command is executed1. Add the following parts at the end of/etc/profile:USER_IP = 'Who-u am I 2>/dev/null | awk '{print $ NF}' | sed-e's/[()] // g'' export
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