This command is used to adjust the C source format.Examples in LKD:INDENT-KR-I8-TS8-SOB-L80-SS-BS-PSL filenameThe parameters are explained as follows:-I: Sets the number of cells to indent-ts: Sets the length of the tab-sob: Delete extra blank lines-
[Email protected] ~]# sort/etc/passwd |less (Ascending)[Email protected] ~]# sort-r/etc/passwd |less (Descending)The-o option for sortBecause sort defaults to outputting the results to standard output, a redirect is required to write the results to
6 find /root/home/zhang/* ctime 1-exec rm-rf {} \; Deletes all files created by the/root/home/zhang directory a day before six O ' Day in the morning. Do not delete folder Zhang, if this folder also to delete the words with * 6 * * * Find/root/home/
How to view Linux command source codeWith Linux for some time, sometimes want to see LS, cat, more commands such as source code, in the download kernel source with Cscope can not find, search on the internet a bit, the method summarized as follows:
Linux File System architecture/bin binary abbreviation for placing an executable binary, basic command/boot used to store boot files, kernel and boot configuration files/dev to place device files/dev/console default system console, including display
1. Set up a restful file to read files from local windowsSet up the shared files directory in a virtual machine in VMware, and then put the shared files inside2, then turn on the virtual machine, enter with the root account, and then under the
View the number of concurrent connections in linux.1. view the number of concurrent requests and TCP connection status of the Web server (Nginx Apache:
Netstat-n | awk '/^ tcp/{++ S [$ NF]} END {for (a in S) print a, S [a]}'
Netstat-n | grep ^ tcp
Unmount KDE Desktop from CentOS
I recently installed a CentOS6.5 system on my own, and found many applications starting with k in the Application menu, which is basically of little use to me.
So I want to uninstall these applications, because so
How to upgrade Ubuntu 14.04 LTS to Ubuntu 14.10
Ubuntu 14.10 has been released, so some children's boots are eager to know how to upgrade their Ubuntu 14.04 LTS to the latest version. In fact, the upgrade method is very simple. You just need to
How to restore the yum of RHEL 6.3 accidentally deleted
RHEL 6.3 uses the wget tool to download the following software. If wget is not installed, congratulations. You can only download it from other hosts and upload it to this host for installation.
Start Linux ISO image directly from hard disk
Linux's GRUB2 boot loader can directly start the Linux ISO file from the hard disk, and can start the ISO of Live CD, instead of burning the CD to install Linux to a hard disk partition, or start from a
CentOS 6.5 automatically mounts the hard disk upon startup
The construction of enterprise-level application systems usually stores systems and data separately, and creates raid. The newly installed CentOS 6.5 requires mounting a data disk, and the
Log Device File in Linux ----- logger
When I first came into contact with logger, all the record information was written in a log file. Later I found that it was not convenient to view it. So I wanted to classify it. For example, info information
Use MultipleOutputs in MapReduce to output multiple files
When you use Mapreduce, the part-* name is used by default. MultipleOutputs can output different key-value pairs to different custom files.
The implementation process is to call output. write
Introduction to CloudStack 4.4
1. Introduction to CloudStack
1. CloudStack is an open-source cloud computing platform with high availability and scalability.
2. In fact, CloudStack is more like a commercial product with a very good user interface.
Puppet automated O & M troubleshooting case
Recently, the following error is reported for a group of Puppet Agent machines maintained by Alibaba Cloud:
[Root @ client src] # puppetd -- test -- server server.bkjia.com
Notice: Run of Puppet
Use of Hive user-defined functions-useragent Parsing
If you want to analyze the operating system, browser, and version usage from the log data, but the functions in hive cannot directly parse useragent, you can write a UDF for parsing. Useragent
Automated O & M tool Fabric-intelligent task execution (roles, execute)
This article is from the official Fabric document. The original Article is Intelligently executing tasks with execute.Note: This function is only valid in Fabric 1.3 and mainly
Hadoop2.X/YARN
I. Why should I choose CentOS7.0?
The official CentOS 7.0.1406 version was released at 17:39:42 on January 26,. I used many Linux versions. Why should I choose CentOS for Environment configuration of Hadoop2.X/YARN:
1. The interface
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