Scheduled cleanup of disk log steps under Linux

1. Write a shell script to clean up the log#! /bin/bash#进入要清理文件的路径Cd/home/weblogic/bin#echo "Please clear Startserver1.log and StartWebLogic.log"#将文件内容清空>startserver1.log>startweblogic.logCd/home/weblogic/logs/tafs#将文件内容清空>send.log#进入要清理文件的路径Cd/home/

Linux installation JDK

First, the software download1. Download JDK (Below are 32-bit system and 64-bit system version)Http://download.oracle.com/otn-pub/java/jdk/7u9-b05/jdk-7u9-linux-i586.tar.gz? Authparam=1350717577_c0836b48d7dc4cd4598cdd4f0d49e6f6

M20 Preview notes finishing--linux basic knowledge

program consists of instruction + dataHigh-level language-compiler--assembly language--compiler--Machine languagesLinux refers to the gun tools+linux kernelSystem structureHardwareKernel (the kernel hides the hardware features, abstracting the

The Linux Popen () function is detailed

Table header File #include Defining functions FILE * Popen (const char * command,const char * type); Function description Popen () calls fork () to produce the child process and then calls/BIN/SH-C from

View file and folder sizes under Linux

When the size of the disk exceeds the standard, there will be alarm prompts, if you know the DF and du command is a very wise choice.DF can view the first-level folder size, usage scale, file system and its hang-in points, but there is nothing to

Linux User and group updates:

Linux Users and Groups:1. User: Username/uidadmin: Root, 0System User: 1-499 (CENTOS6), 1-999 (CENTOS7)Assigning permissions to a daemon to get resourcesLogin User: (CENTOS6) +, + (CENTOS7) +Interactive Login2. Group: Groupname/gidAdministrators

Linux Common commands

System InformationThe processor architecture of the Arch Display machine (1)UNAME-M Display the processor architecture of the machine (2)Uname-r displaying the kernel version in useDMIDECODE-Q Display hardware system

Linux boot prompt kernel panic-not syncing:attempted to kill init solution

First, the question:650) this.width=650; "Src=" http://r.photo.store.qq.com/psb?/v11acjn83hi7cg/radoual3* wmdv.xopcnjtemrwa4kmpygfpuq0gbmzbg!/o/dlaaaaaaaaaa&bo=wggvamiblqadacu! "alt=" Picture "/>Second, the solution:1. Restart the client2. When

Linux Basics Getting Started command

First, Basic view command1. View CPU hardware information: LSCPU650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M00/84/93/wKiom1eVhu6SnrDIAABjynkg-og701.png-wh_500x0-wm_3 -wmp_4-s_1622197640.png "title=" 1.png "alt="

Linux file properties

Input command: Ls-alFile type permissions: The first character represents this file as "directory , file or link file, etc.": When [ d] is the directory; When [ -] is the directory; If [ l] is indicated as the

Getting Started with Linux basics

One, the process of command line operation1. Input command (can use various channels to send commands), enter the end1. The command is interpreted and executed by the interpreter2. Display the results in a way that the product needsSecond, command

Xstart remote connection to Linux server desktop notes!

First step: Install the System check the desktop.If not installed:1. First install and download the graphical interface gnomeYum Groupinstall "Desktop"Yum groupinstall "X window System"Yum Groupinstall "Chinese support" (optional)2, how to know

Linux Configuration Static IP

I am using the Vware virtual machine installed CentOS6.5To confirm the network connection mode is: BridgingModify the NIC Eth0Vim/etc/sysconfig/network-scripts/ifcfg-eth0++++++++++++++++++++++++++++++++Device= "Eth0"bootproto= "Static" #将原来的值 "DHCP"

Linux log file description

/var/log/message system startup information and error log, which is one of the most commonly used logs in Red Hat Linux/var/log/secure Security-related log information/var/log/maillog message-related log information/var/log/cron log information

xxlii_7.21 notes Linux Basic installation and basic commands

One, Linux installation of virtual machine settings1. Open the virtual machine and click "Create a new virtual machine" on the home page. 650) this.width=650; "Src=" http://s1.51cto.com/wyfs02/M01/84/8F/wKiom1eUxN_wL2cgAAEAnFtmyOo922.pn

Linux commands (3) echo

Linux of the Echo Command , in the Shell extremely popular in programming , Print variables under the terminal value is often used. , Echo command in the build Shell play an important role in scripting1. command FormatEcho[options] [String]2.

Daemons in Linux

First, The Guardian processDaemons, also known as daemon Processes (daemon)It differs from the normal background process in the following three points1, the daemon process from the session, and the normal background process is not necessarily2, the

Linux notes: RPM Package Management-yum Online Management

IP address configuration:Only the IP and subnet masks can be configured with the Ifconfig command, so only the intranet can be accessed, and gateways and DNS must also be required if access to the public network is needed.To configure IP using the

Date command summary, date command

Date command summary, date command The date command displays or sets the system time and date. Date (option) (parameter) -D : displays the date and time specified by the string. Double quotation marks must be added before and after the string;-S :

Common Nginx proxy configuration

Common Nginx proxy configuration Due to business system requirements, the web service must be used as an nginx proxy. During constant attempts, the common nginx proxy configuration is briefly summarized.1. Simplest reverse proxy configuration Under

Total Pages: 5467 1 .... 1933 1934 1935 1936 1937 .... 5467 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.