Regular cleaning of outdated and junk files, maintaining a reasonable space usage of the file system, is a system administrator's daily work. Simple system commands or scripts can be implemented for small to medium sized file systems, but file
Linux Delete file or directory command RM (remove)
Feature Description: Deletes a file or directory.
Syntax: RM [-dfirv][--help][--version][file or directory ...]Supplemental Note: Perform RM directives to delete files or directories, and if you
automatically restarts tomcat after monitoring tomcat down on Linux
First step edit:monitor.sh file (file contents see below)
Step Two install crontab (see below for installation steps)
The third step is to add a timed task: CRONTAB-
# #telnet # #1. Restrict the remote use of Telnet to an IP host[Email protected] ~]# Cd/etc/postfix[[email protected] postfix]# VIM accessWrite within file: IP REJECT (example: 172.25.27.10 REJECT)[Email protected] postfix]# postmap Access #
Ways to modify a file's read-write propertiesFor example: Modify the index.htm file to a writable, readable executable:chmod 777 index.htmTo modify all the file properties under the directory writable readable executable:chmod 777 * *You can use *
from:http://blog.csdn.net/jasonliuvip/article/details/22600569Linux Network Programming IX: Splice function, efficient 0 copiesRecently looking at "Linux High Performance Server Programming", here to do a diary to motivate themselves, while sharing
In the fourth chapter of the book "Linux device Drivers", we specialize in the debugging technology in driver development.PRINTK is just one of the techniques that requires PRINTK to print messages and write to files on disk, which slows down the
LinuxfindBrother even Linux training summary these timestamps includeCopy the code code as follows:Mtime file content Last modifiedThe time that the Atime file was read or accessedCTime File Status Change timeThe meaning of Mtime and atime is easy
Summary"工欲善其事 its prerequisite", as a rookie, but also stole from others to learn something. Today I saw a colleague using a terminal command line tool and felt like I was weak. The tool was then searched on the Internet. Found a similar tool is
NL commands are used in Linux systems to calculate the line number of a file. NL can automatically add a line number to the output file content ! The default result is a bit different from cat-n , nl can make the line number more display design,
Some development users have the need to use multi-screen, Linux VDA default support 2 monitor, resolution 5120x1600, if need to support 3 screen or 4 screen, need to modify the Linux VDA registry key value (maximum support is 9), while modifying the
Guide
A benchmark is a test or a series of tests to determine how well a computer's hardware is running. In many cases, a "benchmark" is actually equivalent to a "stress test." By testing the limits of the hardware, you can then compare the
Linux serial port and windows have some differences, the following will introduce the Linux under the serial communication managementTo see if a USB port is supported:#lsmod | grep usbserialIf there is no information: sudo apt-get install
Linux Technology Learning Essentials, you have mastered it---beginners must see1, how to do the embedded Linux before learning preparation?to become a qualified embedded Linux engineers need to learn the knowledge in the field of software and
1, install VMWare12.5 in WIN10;2, install 32-bit Ubuntu 16.04 LTS in VMWare12.5;3. Installation of VMware Tools;after the guest OS Ubuntu installation is complete, click Vm->install VMware Tools under VMware, and then Ubuntu will load the ISO files
How to build your own Git ServerGuideNow we will learn how to build a git server, how to write custom Git hooks to trigger corresponding actions (such as notifications) in a specific event, or publish your code to a site.
Till now, we mainly discuss
Linux Foundation: Microsoft cannot kill Linux
Although this sounds like a huge conspiracy, Jim Zem, executive director of the Linux Foundation, said in an interview with the media that Microsoft is now a completely different company and Microsoft
Reason for dual-boot Linux?One of the most important components of a computer is the operating system. In fact, a powerful operating system should have software compatibility and be able to smoothly implement interaction between hardware and
Share a MySQL database shard backup script (original) and a mysql database shard backup script
Share a MySQL database shard backup script (original)
Development ideas:
1. path: Specify the backup location and define the path (first determine whether
[Python] install Django in ubuntu, connect MySQLdb to the database [XMAPP], and djangomysqldb
By default, python2.7 and 3.4 are installed in Ubuntu. Here, Django is installed through pip (tool for installing and managing Python packages ).
Install
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