How to use the Linux crontab command

The crontab command is commonly used in UNIX and Linux operating systems to set instructions that are executed periodically . The command reads the instruction from the standard input device and stores it in a "crontab" file for later reading and

Interception of Tomcat logs under Linux, interception of log content by day

To search for a specified date log file:Sed-n '/^ start date/,/^ end date/p ' log file > new file (output file)For example: query all the log content for the 2016-06-15 day:Sed-n '/^2016-06-15/,/^2012-06-16/p ' catalina.out >

Add Delete swap space under Linux

#需求Need to add 10G swap space due to tight system memory resources#创建存放swap文件的目录[Email protected] ~]# Mkdir/swap#创建一个10G空文件[[email protected] ~]# dd If=/dev/zero of=/swap/swap bs=1024m count=1010+0 Records in10+0 records out10737418240 bytes (11 GB)

Linux Bulk Modified file name

Simulating the creation environmentNeed to use \ Escape[[email protected] ~]# for i in {1..10};d o touch student\_$i\_finshi.jpg;done[[email protected] ~]# LSSTUDENT_10_FINSHI.J PG Student_2_finshi.jpg Student_4_finshi.jpg student_6_finshi.jpg

Linux Common commands

1) LS (list, listing)Function: Use the list to display all the files in the current folder Ls-a Show all files, including hidden files Ls-l Display in detail Ls-a-L ls-l-a ls-la ls-al four different ways are possible 2) CD

Linux DNS Deployment commands

To install the DNS steps:1. Mount the CD and install the main program and camouflage packageMount/dev/cdrom/mntcd/mnt/packages/RPM-IVH bind-9.7.0-5.p2.el6.i686.rpmRPM-IVH bind-chroot-9.7.0-5.p2.el6.i686.rpm2. Copy the Master profile and the zone

One Linux command per day (--find) command

The Linux Find command searches the directory structure for files and performs the specified actions. The Linux Find command provides quite a lot of search criteria and is powerful. Because find has powerful features, it has a lot of options, most

Awstat (under Linux)

I. AWSTAT statistical INFORMATIONAwstat is a very concise and powerful statistical tool. It can count the following information about your site:1 visits, visits, page views, clicks, data traffic, etc. accurate to monthly, daily, hourly2 Visitor

Linux Multi-user system

Linux OS is based on the development of UNIX systems, we know that computers are expensive and scarce resources, so a computer to meet multiple users at the same time, that is, the idea of a multi-user system.Implementation method: Through sharing

Every day a Linux command (--locate) command

Locate allows users to quickly search the file system for specific files. The method is to establish a database that includes all the file names and paths within the system, and then query the database when looking for it without actually going deep

Third, Linux Primer--Common commands for file processing commands

1. Create an empty file: TouchLocation:/bin/touchExecute Permissions: All UsersSyntax: touch [filename]Example: Touch test.listTouch/root/test.listTouch Girl boy created Girl and boy two files in the current directoryNote: In addition to the "/" in

Linux Journey system Boot process

CentOS 6.x version boot process 1. Press the power-on button and the motherboard reads the BIOS information; 2. Biso loads the CMOS information to find the startup item and reads the MBR3 of the first startup item. Depending on the settings of the

Linux changes Chinese directory name to English

Excerpt from: http://www.linuxidc.com/Linux/2013-05/83765.htmModifying the system language environment1. Modify the current locale of the systemExport Lang=en_us2. Updating the file name of the home directoryXdg-user-dirs-gtk-updateJump out of the

Solution when the sshd connection is not on Linux

1, first change the SSH configuration, can be SSH port is not connected to the serverCd/etc/ssh/sshd_configVI!$Port 52113//ssh The default connection port, instead of the one nobody knowsPermitrootlogin no//root the user knows, still

stack frame analysis of programs in Linux and modifying function addresses

Here's a piece of code:#include #include #include void fun () {printf ("I am the Evil func\n"); Exit (1);}    int fun1 (int a,int b) {int *p=&a;    p--;    *p=fun;    int C=0XCCCC; return c;} int main () {printf ("Begin run..    \ n ");    int

Linux system backup and restore

Transferred from: http://blog.csdn.net/sunnylgz/article/details/8055315Before using Ubuntu, I believe many people have experienced the use of Windows systems. If you've backed up your Windows system, you must remember that you first need to find a

One Linux command per day (--rmdir) command

Finally finished the company's business, can be quietly charged.Today, learn Linux commands: rmdir command, RmDir is a common command, the function of the command is to delete the empty directory, a directory is deleted before it must be empty.

How to use the Linux Editor vi detailed introduction

The VI Editor is the standard editor for all UNIX and Linux systems, and its power is not inferior to any of the latest text editors, here is simply a brief introduction to its usage and a small number of instructions. Because the VI editor is

Telnet command example

Telnet command example Guide Telnet commands are usually used for remote logon. The telnet program is a remote client logon program based on the TELNET protocol. The Telnet protocol is a member of the TCP/IP protocol family and is the standard

View the port status in netstat in CentOS

View the port status in netstat in CentOS When using Linux, you need to know which ports are open in the current system, and check the specific processes and users that open these ports. You can use the netstat command to perform a simple query.

Total Pages: 5467 1 .... 2229 2230 2231 2232 2233 .... 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.