#!/bin/bash forFileNameinch* Do Echo $filenamey=$ (date-r$filename+%y)Echo $y if["$y"==" the"] Then Echo ' rm-r $filename 'Rm- F $filename fi Done According to time filter delete file,
Sometimes the name of the network card that is added in the installation server is not in order, the following is the name of the network card defined by the manual method;/ETC/UDEV/RULES.D / 70-persistent-net.rules Here you can modify MAC the
LsmodMainly used to display kernel modules that have been loaded in the current Linux system.650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/6D/A3/wKiom1VoBmSQlxcEAACY6uyA0Sc357.jpg "title=" U268ZPB ' 2%$_uea@mp ' ob18.png "alt="
With this Linux kernel release schedule (0.00 to 3.19, of course not including all versions),You can see when your version was released!Perhaps a student reunion surprised, WOW (⊙0⊙) I used the version 10 years ago, Ah!I did not write the history of
Why should enterprises use Linux, why use UNIX? Linux/unix better, more stable, not actually. Why enterprises use them, in fact, in the spirit of cost-saving and value-creating purposes. The server operating system's software input and service input
The root account of the Linux system is a very important account, but also the most privileged account, but sometimes forget the root password to do? Can not re-install the system, this is the next worst, in fact, Linux system, if you forget the
First thought???? Ok I admit a little too busy recently, suddenly want to learn Java, but Python used the habit, there is a problem, first, I use the sublime editor, the past, ctrl+s save files, Python files. Py can run directly, but Java is not, It
--This blog post records a summary of various failures and problems encountered in Linux and Linux workFirst, after installing MySQL in the CentOS6.5 and initializing the MySQL library, an error message appears:Installing MySQL system tables
When I see a question about the multi-threaded condition variable on the StackOverflow, the question asks: when will the condition variable be used and the mutex is not enough? There is a person called Slowjelj to do a very good answer, I see this
1 re-installed after the Ubuntu Restore boot menu is very simple. To update grub directly, you can:sudo update-grub2 It's a bit cumbersome to reload windows. Use the U disk to write the Ubuntu image restart to start the computer from the U disk, and
Ubuntu system update-rc.d commands, ubuntuupdate-rc.d
Update-rc.d commands in Ubuntu or Debian systems are scripts used to update system startup items. The links of these scripts are located in the/etc/rcN. d/directory, and the corresponding
Tips for using common CentOS commands
Vim automatically adds comments and smart line breaks
# Vi/etc/vimrc
"setautoindentsettabstop=4setshiftwidth=4map:callAddTitle()functionAddTitle()callsetline(1,"#!/bin/bash")callappend(1,"#=======================
CentOS SEARCH Command
Introduction to search commands today
Files cannot be found in windows. We will use some search commands to help ourselves find what we want.
In linux and I have been writing centos, THE SEARCH Command is equally
Split FILE command instance in CentOS
Have you ever wanted to split a large file into multiple small files? For example, a 5 GB log file needs to be divided into multiple small files so that we can use a common text editor to read it. Sometimes we
Linux learning-advanced shell script programming (2) First knowledge of sed and gawk
Citation: Sometimes we need to automatically process text in text files without pulling out a fully armed interactive text editor. In this case, it is much easier
How to install redis in Linux
1. Download the source code, decompress it, and compile the source code ..
$ wget http://download.redis.io/releases/redis-2.8.3.tar.gz$ tar xzf redis-2.8.3.tar.gz$ cd redis-2.8.3$ make
2. After compilation, there are
Simple iptables configuration exampleIptables firewall overview iptables/netfilter is a free and excellent package-based firewall tool that comes with Linux. It is very powerful and flexible to use, you can precisely control inbound, outbound, and
Sort the Shuffle process in MapReduce
The Shuffle process in MapReduce is divided into two processes: Map and Reduce.
Map end:
1. (Hash Partitioner) after the Map function is executed, hash based on the key and perform the number modulo operation
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