I. GENERAL format of commandsCommand option ParametersThe following command lists only the commonly used parameters.ls commandRole: Listing Directory contentsSyntax: LS (option) (parameter)LS-A listing all content (including hidden files) in the
1. Download the relevant kernel packageUbuntu website Linux kernel repository: http://kernel.ubuntu.com/~kernel-ppa/mainline/Download the following three Deb packages:$ wget-c
First, what is LVM :LVM (Logical Volume Manager) LVM is the short name of the Logical Disk volume management (Logical Volume Manager), which is a mechanism for managing disk partitions in a Linux environment, and LVM is a logical layer on top of
Function:Parent process creates a child process the parent process is responsible for reading the user terminal input and writing to the pipelineThe child process receives a character stream from the pipeline to write another fileCode:#include
grep is used to find strings
Case 1: Get the user's home directory
For example, if you have a user named Whuang, how do I get his home directory?grep"^whuang:" /etc/passwd |awk -F : {‘print $6‘}
Case 2: Get the user's ID
Like windows, when we use Linux, we also need to be logged in as a user, a process that needs to run as a user, which restricts the users or processes from being able to use them, and what resources are not available.When we use Linux, we are using
A few days ago in order to realize the Linux automatic landing method, on-line search for a lot of information, found that there are many ways, but some of the online methods of interpretation is not particularly clear, or outdated. Therefore,
File Edit Operation Command-----------------------------------------------------------------The methods for finding strings in VI are as follows:1, enter "/string" in command mode, for example "/section 3".2, if you find the next, press "N" can.To
wget Download, get the content on the networkgrep File Search ToolEverything is a file in the Linux systemInstalling Cowsaysudo apt-get install Cow-sayCowsay Ctrl + D to end the inputStdOut output file pointerThe previous content in cat file1>file2
#definePORT 1234#defineBACKLOG 5#defineMaxdatasize 1000typedefstructclient{intFD; Char*name; structSockaddr_in addr;//addr with client_addr more accurate Char*data; }; voidMain () {intI,MAXI,MAXFD,SOCKFD;inchnready; fd_set rset,allset;//Allset is
specified during installation./configure--prefix=/usr/local/memcached-1.4--with-libevent=/usr/local/libevent-1.4.2/When you start memcached#cd/usr/local/bin//Enter into the directory#./memcached-d-M 900-u root-l 192.168.100.186-p 11211-c
In a Linux environment, you can view the server hardware configuration information and the resource usage commands of the service.
View the machine model:
dmidecode | grep"Product Name"View Nic information:
dmesg | grep -ieth
View CPU
Linux-(10) users and groups in Linux, linux-linux
Like Windows, when we use Linux, we also need to log on as a user, and a process also needs to run as a user. Users can restrict the use of users or processes, resources cannot be used.
When we use
The mic bias cannot be automatically enabled during the recording of nau8822 codec driver. nau8822bias
Mic bias cannot be automatically enabled during recording of nau8822 codec driver
Problem description:
Kernel version: 3.10
When testing the
Use smartmontools in CentOS to view hard disk usage time
First install:[Python] view plaincopy
[Arm @ acer ~] $ Sudoyum-yinstallsmartmontools
Run:[Python] view plaincopy
[Arm @ acer ~] $ Sudosmartctl-A/dev/sda
The following result is displayed:
Use RPMforge installation source (software warehouse) on CentOS 6)
We have been engaged in Debian servers all the time. Today, we are about to get the CentOS of the RedHat system. The system is ready for useYum install htop: If you want to install
Build private cloud with owncloud on CentOS7
Today, I tried to build a private cloud in linux. Baidu has several tutorials. Only one of them is successfully installed. In fact, the process is quite simple. I feel that the features are similar to lan
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