Linux log clearing script

Linux log clearing script Python code www.2cto.com #! /Bin/bashecho & quot; linuxclearlog & quot; echo & quot; byseala & quot; echo & quot; ClearlogrootorClearlogIP & quot ;#... Linux log clearing script Python code www.2cto.com #! /Bin/bash echo

Linux character set viewing and setting-rhel5.8

Linux character set viewing and setting -- rhel5.8 command: locale-a view local character set locale-m View all supported character sets view current default echo $ LANG record system default language file is/etc/sysconfig/i18n, if the default

ZZ: Analysis of fd_set in Linux

ZZ: a fd_set data structure is provided in the select () mechanism of fd_set in Linux, which is actually a long array, each array element can be associated with an open file handle (whether it is a socket handle, or another file, named pipe or

Commandnotfound solution in RedHatlinux

In RedHatlinux, commandnotfound solves PATH $ PATH: www.2cto.com, which is separated by: and starts with $. After Windows uses % to edit the profile, commandnotfound in RedHatlinux may appear. enter export... In RedHat linux, the command not found

Linux environment variable setting method summary (PATH/LD_LIBRARY_PATH)

Linux environment variable setting method summary (PATH/LD_LIBRARY_PATH) PATH: Find the executable program PATH www.2cto.com to view the current environment variable: echo $ PATH settings: Method 1: exportPATHPATH: /XXX is invalid after logout.

Use environment variables in crontab

Use the environment variable environment in crontab: (Product, platform, model, software version, etc.) AIX5Lwww.2cto.com problem description: the shell script started in crontab cannot run normally, but there is no problem with manual execution, in

Statistics on linux servers

Statistics on linux servers: 1) number of port 80 connections: www.2cto. comnetstat-nat | grep-I & quot; 80 & quot; | wc-l12) count httpd protocol connections ps-ef | grephttpd | wc-l13), statistics already... Statistics on linux servers: 1) number

Solve the problem of dual-graphics card user switching during ora16 brightness scheduling

Solve the problem of ora16 brightness scheduling and dual video card user switching. ati video card scheduling brightness. because fedora16 is guided in grub2, find the boot file/boot/grub2/grub. cfg: ctrl + f: Enter the string quiet to find the row,

Add the script for automatic startup based on process information

Add the script for automatic startup based on process information #! /Bin/bashwww.2cto. comaddchkconfig () {if [['chkconfig -- list | grep $1 '] thenecho --- alreadyin $ 1chkconfig -- list | grep $ 1elseecho --- notalread... Add the script for

Positive solution of linuxPagecache and buffercache

The positive solution of linuxPagecache and buffercache: Pagecache and buffercache have been two confusing concepts for a long time. on the Internet, many people are arguing about the differences between the two caches, at the end of the discussion,

Linuxcat command usage

Linuxcat command usage the LinuxCat command has three main functions: www.2cto. com1.LinuxCat command displays the entire file at a time. $ Catfilename2.LinuxCat command creates a file from the keyboard. $ Cat & gt; filename (only new files can be

Network Configuration after CentOSminimal installation

After CentOSminimal is installed, the network configuration has always felt that many things that I don't need will always be installed in each Linux release version, and the default graphic interface also makes me too lazy to knock on the command

Set proxy on linux Terminal

The linux terminal sets the agent debian to provide a convenient software package management tool & quot; the new package manager & quot;, which includes the settings of the proxy server, however, it can only use .www.2cto.com in the graphic

Use cat to count apache log ip addresses

To use cat to count the ip address of an apache log, extract the IP address with the highest access volume from the log. Use shell. Www.2cto.com logs are as follows (for example, the data volume is small): $moreaa.txt 127.0.0.1-frank [10/Oct/2000: 13

Brisk VIM (5): copying

Brisk VIM (5): copy brisk VIM (4): modify the kernel... Brisk VIM (5): copy brisk VIM (4): Modify http://www.2cto.com/os/201212/180024.html Copying the same text is particularly effective. in Windows, we are used to choosing the text www.2cto.com

Vim default configuration (standby)

Vim default configuration (standby) sometimes feels that vim is not configured well and is not easy to use, so you can record this configuration. Www.2cto. com1.vim/home/administrator/. vimrc2. clear the content and add the following configuration

Shell reads files and updates them to the database (awk assigns values to external variables)

Shell reads the file and updates it to the database (awk assigns an external variable) www.2cto.com #! /Bin/bashfile%39%20121224_finaldatapm.csv & amp; #39; MYSQL & amp; #39;/usr/local/mysql/bin/mysql & amp; #39; USER & amp; #3 shell reads files and

How to solve an error when adding a RAID driver to a USB drive when SUSE10 is installed

When SUSE10 is installed, use a USB drive to add a RAID driver. the root cause is that the USB flash drive is also identified as sd. When www.2cto.com uses a USB drive to load the RAID driver to install the SUSE system, the following message will

Linux users overwrite the global (custom) variable environment

Linux users overwrite the global (custom) variable environment [dev_ydzj_1 @ localhostusr] $ cd $ HOME [dev_ydzj_1 @ localhost ~] $ Pwd/home/dev_ydzj_1 [dev_ydzj_1 @ localhost ~] $ Java-versionjavaversion & quot; 1.6.0 _ 24 & qu linux users

RHEL6 configures multipath software to connect to storage

RHEL6 configures multipath software to connect storage RHEL6 and 5. there are some minor differences in multi-path configuration. Some parameters of the scsi_id command are not supported. You can use the & amp; ndash; whitelist parameter to obtain

Total Pages: 2732 1 .... 1615 1616 1617 1618 1619 .... 2732 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.