This article mainly share the server in the hard disk after the failure of/var/log/messages and/var/log/mcelog will appear in the specific logs and corresponding repair methods, with the increasing number of cases and rich, I will conclude the
features : RM command to delete one or more files or directories (folders) in a directory.
It can also delete a directory and all of its files and subdirectories.
For linked files, only the links are deleted and the original files
There are two types of timers under Linux, each of which is described below:1, AlarmUsing alarm () and signal () is sufficient if it is not required to be precise.unsigned int alarm (unsigned int seconds)Function Description: Alarm () is used to set
Description of the directories in the file system:/boot: System boot related files, such as kernel, INITRD, and Grub (bootloader)/dev: Device filesDevice files:Block devices: Random access, data blocks, and so-called order, such as silver
Linux---Tail commandTail command---in linux for viewing file contentsThe most basic are cat, more and less.1. If you want to see only the first 5 lines of the file, you can use the Head command, such as:Head-5/etc/passwd2. If you want to view the
The first time you read the Linux4.0.5 kernel source code, a blank face, its code is not only complex, and large, can not find where to start reading.typically Linux will have the following directories
The Arch subdirectory includes all the
Disk
All Linux devices are abstracted into a file that is stored in the/dev directory.
The device name is generally hd[a-z] or sd[a-z]. If you have more than one hard drive in your computer, the device name is SDA, ADB, SDC ... And so
Learning this article can be a comprehensive and profound understanding of Linux outages. This article makes a complete analysis of the requirements, management mechanisms, interrupt implementations, interrupt interfaces (top and bottom halves) of
1. Communication of affinity process, parent write sub-readthought analysis:1 First we need to create a shared memory.2) The fork function is used to create a parent-child process. After the fork function is created, two processes run independently
System # uname-a # View kernel/Os/cpu information# head-n 1/etc/issue # view OS version# cat/proc/cpuinfo # View CPU Information# hostname # View computer name# LSPCI-TV # list all PCI devices# LSUSB-TV # list all USB devices# lsmod # List of loaded
Wxwidgets under Linux have WXGTK and wxX11 for use, each need GTK and X11 development environment;Wxwidgets has WXGTK and wxX11 for use under Linux, but the GTK and X11 development environments need to be configured separately, and the development
Linux Command Man and Infoman lsResult:LS (1) in 1 The meaning of this number is as follows:
Code
content
1
Commands or executables that a user can manipulate in a shell environment
2
Anywhere on the web can find how to put the application's icon on the desktop, I just use Ubuntu is also in accordance with the online practice, step by step, and now the online approach to copy down:Desktop profile brief \label{sec:desktop file}A
1. Edit tomcat/bin/catalina.shLocate the Execute the requested Command and add the following code to the comment (No line break in the middle):catalina_opts= "$CATALINA _opts-djava.rmi.server.hostname=10.12.116.135-dcom.sun.management.jmxremote-
Install the SVN client on CentOS1. Check that svn is already installed: # rpm-qa subversion subversion-1.7.14-6.el7.x86_64Uninstall the old version of svn: # yum remove subversion and then check whether the download is successful: # rpm-qa
Top linux commands
The top command displays information about the processes being executed by the current system. Including process ID and memory usage. The top command format is as follows:
Top [OPTIONS] OPTIONS: -Batch B-c display the complete
Linux upload speed limit script
The following script can be used to limit the upload speed of the server. when the service is in peak hours, the upload speed is limited to ensure normal service.
The principle is to use the TC (Traffic Control Module)
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