Du-h--max-depth=1 work/testing Viewing the size of a file Df-h viewing the size and usage of your hard disk DF probably ibid. Rm-f Force Delete RM-RF forced recursive deletion Cp-rp./top/*./sharm/recursive replication Mysql-u database name-p
1. Use commands with absolute paths, such as $/bin/ls 2. View the user's preset path $ echo $PATH $/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games Multiple paths separated by colons, if a command has two versions of the path
Recently in learning LinuxHere is a small step of your own writingFootstep content to compare three numbers to get the largest numberFootstep statements are as follows:#!/bin/bashRead-p "Input A:" ARead-p "Input B:" bRead-p "Input C:" CIf [$a-ge $b]&
The original is here http://doophp.sinaapp.com/archives/linux/yum-setting-parameter.htmlBecause it is the programmer's origin, usually although often contact with the server, occasionally will have to install some software, configuration
Copy your local host user's SSH public key file to the remote host user's ~/.ssh/folder1. The user on the local host can be (Root,cusadmin, and users ready to use SCP)Run:[[email protected] ~]# ssh-keygen-t RSAGenerating public/private RSA key
Monitorix Monitoring Linux Host graphic detailedMonitorix IntroductionMonitorix is a free and open source lightweight system monitoring tool. With Monitorix you can always control CPU load and temperature, memory consumption, active process, disk
Coreseek-3.2.13 compatible with sph0000- 0.9.9 Configuration
The coreseek-3.2.13 is compatible with the sph0000- 0.9.9 configuration and can be directly used without modification.However, to better search for Chinese characters, you need to use the
Installing VMware Workstation 8 on Ubuntu 12.04
Actually, I have taught the following methods:
However, someone in Ubuntu asked:
Www.bkjia.com @ ubuntu :~ $ Sudo sh./patch-modules_3.2.0.sh
/Patch-modules_3.2.0.sh: 27: [: workstation8.0.2: unexpected
Summary of Linux Command for filtering Empty files
In Linux, file operations are often performed. Today, a colleague collects statistics in the production environment and finds that many log files are empty and there are too many files, he wants to
Linux ln command details and usage
Ln is a very important command in Linux. Its function is to create a different link for a file in another location. The most common parameter of this command is-s, the specific usage is the target file of the ln-s
Create and mount a CD image in CentOS
In Centos, you can easily package the content of multiple files or folders into a CD image. We can use:
Mkisofs-r-v-o xxx. iso/root/home
Run the following command to package files in the/root and/home
Instructions on how to install FlashPlayer for firefox in centos
Environment: CentOS6.5
Browser: Firefox
Flash Player: http://get.adobe.com/cn/flashplayer/
Download the compressed package install_flash_player_11_linux.i386.tar.gz
// There
Detailed explanation of special permissions of the CentOS System
1. What are special permissions?
We know that the permissions include r, w, and x. In fact, in addition to these three, there are also special permissions. For example:
[Root @
CentOS command and method for viewing system information
Collect and organize commands and methods for viewing system information in linux:1. How to view server system information in linux:
1. Check the host name, kernel version, and CPU
Configure a fixed ip address for centos in vmware
1. clone a centos from vmware
2. Go to centos and open the command line and enter ifconfig. After the command is executed, no eth0 is found.
3. Execute the NIC startup command ifconfig eth0
CentOS manages user and File Permissions
1. Manage Users and group accounts
1. linux users and group accounts
User Account:
Super User (0)
Common users (500 ~ 60000)
Program user (1 ~ 499)
/Etc/login. defs
/Etc/defaults
GROUP:
Basic group (private
CentOS test hard disk read/write speedTime is used for timing. dd is used for copying, reading from if, and writing to. If =/dev/zero does not produce IO, so it can be used to test the pure write speed. Similarly, of =/dev/null does not generate IO
View and modify file read/write permissions in CentOS
Statement for viewing file permissions:
Enter at the terminal:
Ls-l xxx. xxx (xxx. xxx is the file name)
Then similar information will appear, mainly including:
-Rw-r --
A total of 10 digits
The
Configure multiple IP addresses in linux
The Red Hat Linux is used as an example. Assume that the original system has configured an IP Address: 192.168.0000140, the configuration file path/etc/sysconfig/network-script/ifcfg-eth0. Now you need to
Uninstall, install, and test mysql in CentOSMysql uninstallYum remove mysql-server mysql-libs compat-mysql51Rm-rf/var/lib/mysqlRm/etc/my. cnfCheck whether there is any mysql software:Rpm-qa | grep mysqlIf yes, continue to deleteInstall Mysql1> if
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