Compile the kernel in linux. Now we will learn how to compile the kernel in Linux. Before compiling, you must know why to compile the kernel and what the kernel is like. The Linux operating system consists of four parts: utility set; shell; system
Linux system monitoring parameter viewing CPU cores cat/proc/cpuinfo | grep "cpu cores" | uniq viewing CPU model cat/proc/cpuinfo | grep 'model name' | uniq viewing total memory cat /proc/meminfo | grep MemTotal view Disk size fdisk-l | grep Disk
In Linux, you can view the file encoding format and file encoding conversion. If you need to operate files in windows in Linux, you may frequently encounter file encoding conversion problems. In Windows, the default file format is GBK (gb2312),
After the Ubuntu 13.04 system is updated, the status bar disappears. After the recommended updates are installed on the system today, only the desktop and icons are displayed, and the START column and top status bar on the left disappear ......
Delete '. svn 'Directory on the linux Linux Solution 1: find. -type d-name ". svn "| xargs rm-rf Linux Solution 2: find. -type d-iname ". svn "-exec rm-rf {}\; Windows Solution 1: for/r. % a in (.) do @ if exist "% \. svn "rd/s/q" % \. svn "Windows
Install and configure apache ubuntu in Linux initialize the root password sudo passwd root and then enter the password twice. The root password is set. getting software: http://httpd.apache.org/httpd-2.2.21.tar.gz 2. installation Steps: extract the
Vim backup and restoration vim is an editing artifact. It is very easy to use when it is configured as an IDE style, but the configuration process is troublesome. After the configuration is completed a few days ago, do you need to configure the redo
Linux diary: cut grep sort wc & uniq cut command. The basic usage of cut is as follows: cut-d 'delimiter '-f fieldscut-c character range parameter explanation:-d: followed by the delimiter, used together with-f. -F: cut a piece of information into a
Commonly used disk operation commands in linux [java] # sort the top 15 directories or files of the Warrior by directory size du-xB M -- max-depth = 2/var | sort-rn | head -n 15 # list the file sizes of all subdirectories du-h -- max-depth = 1 #
Run the following command to install gnome desktop in ubuntu 12.04 to change the desktop environment (unity --> gnome): sudo apt-get install gnome-session-fallback: sudo apt-get install gnome-panel before deleting the unity desktop, change the
Some interesting Linux commands 1.cal 9 1752 [plain] 1752 1 2 14 15 16 17 19 20 21 22 24 25 26 27 28 29 30 30 February 1582, the Holy See needs to subtract 10 days from January 1, October 1582. Therefore, 15 days will be followed after January 1,
Some knowledge about the rpm spec file: the actual value passed during installation: % pre (1) of the new package) install new file run new package % post (1) Here is the value passed during upgrade: Run New Package % pre (2) install new file run
Shell wildcards and special characters 1. Wildcards are also very useful in the bash operating environment, that is, wildcards (wildcard )! We can use bash to process data more conveniently! Below we will list some common wildcard characters.
Execute scheduled tasks using shell scripts. 1. Execute multiple tasks concurrently without affecting each other. Use the lock mechanism to avoid overlapping execution of a single task. 2. Each task is saved as a separate script and is independent
Tips for using CVS and Maven tools in Linux Server 1. Create a Version properties file to control the location of the exported File Repository. VersionName = 2. Export the location information of the file warehouse loaded with build1.
In Linux, General open commands can be entered in Mac terminal to open any types of files. Is there a similar command in linux? Three commands can achieve similar results: see opens a file by finding the file type and application ing set in the
Environment Variable modification method 1./etc/profile: The first file used by the operating system to customize the user environment during logon. This file sets environment information for each user of the system, this file is executed when the
Shell script instance 1. Switch the working directory to the directory given by the location parameter, and send hello to each file or subdirectory in these directories in sequence. The number of various files and subdirectories under these
Using pidstat to view the usage of Process resources Introduction many tools provide you with methods to view the usage of system resources from the device perspective. For example, use iostat to view disk io statistics: linux :~ # Iostat-d 3 Device:
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