User, user group management commands useFirst, the user, user group to do a brief introduction:Linux is a multi-user multi-tasking time-sharing operating system, all users who want to use the system resources must first request an account from the
A wildcard is a special statement that has an asterisk (*) and a question mark (?), which is used to make a fuzzy match to a string (such as a file name, parameter name). When you look for a folder, you can use it instead of one or more real
Recently I went back to the linux~ wave and came back. But Emacs is really good, looks big on (haha), today, put my configuration file on it To modify the. Emacs configuration file, simply press and hold the control+x in the Emacs interface, release
1. Manually configure the static NIC address does not take effect2. The NIC name becomes ETH1[email protected] network-scripts]# ls |grep ifcfgIfcfg-eth0Ifcfg-lo[Email protected] network-scripts]# ifconfigeth1 Link encap:ethernet HWaddr 00:0c:29:3a:8
First, installationCreate the installation directory, set up the installation path under/usr/java, and test the file under this path: # Mkdir/usr/java1, Jdk-6u11-linux-i586.bin This is self-extracting files, installed on Linux as follows: # chmod 755
All programs end with a numeric value, return value, or error numberSpecial variable environment $? Save the previous program's return valueecho $?0 indicates that the program executes successfully, not 0, which indicates an error occurred during
Project
Command
Command explanation
Example description
Text View commands
Cat
View the file as text, from the first line to the last line
Command format: Cat [OPTION] ... [FILE] ...-N option with line
#include #include #include #include #include void init_daemon (void) { int pid; int i; /* when:step 1; * what: Put daemon into the background run; * What: To avoid suspending the control terminal;
The Bootsect and setup assembly uses Intel's assembler style, while in the head, it is now in the 32-bit protection mode, the assembly of the AT-T assembly language, the compiler will of course become the corresponding compiler and connector.Concept:
In many cases, we need to do something at a given time, such as a system backup between 2:00-3:00. At this point, we need to use the task scheduling instructions.Specifies that the system completes the specified task during the specified event by
6. Shutting down and restarting the Linux systemThis section focuses on the commands commonly used to shut down/restart systems under Linux systems, such as shutdown, halt, reboot, Poweoff, and init.6.1 Shutdown: Used to shut down the program, and
Reference Blog: http://www.cnblogs.com/qytan36/archive/2010/05/25/1743955.htmlGCC compiled c source code has four steps: preprocessing-----> Compiling----> Assembly----> LinksFour-stage function: (the corresponding file suffix is in sequence:. I>.s>.
Access mode of the file:1. Standard mode:2. Synchronous mode:3. Memory Mapping Mode:4. Direct i\o mode5. Asynchronous mode:Memory-Mapped mode:1. Shared type: Any write operation on the linear Zone page modifies the files on the disk, and this
User-side Kernel memory parameter tuning/proc/sys/vm/(needs to be adjusted according to kernel version) Exchange related Swap_token_timeoutThisfile contains valid hold time of the swap out protection token. The Linux VM Hastoken based thrashing
Install Apr Get the latest APR installation package: wget http://mirrors.hust.edu.cn/apache//apr/apr-1.5.2.tar.gz Unpacking: TAR-XZVF apr-1.5.2.tar.gz To configure the installation path: ./configure--prefix=/opt/local/apr Installation: Make Make
/etc/profile,/ETC/BASHRC, ~/.bash_profile, ~/.BASHRC are easily confused, what is the difference between them? What is their role in the end?/etc/profile: Used to set system environment parameters, such as $path. The environment variables are in
The company's servers are Linux, there is no way, you have to understand the system. Haha, these days apart from overtime is charged. Good tired and tired ah.But the egg, it will not or not, hehe.Recommended Bird brother's Linux private dishes, I
The DD command is a very powerful command, as described below:DD is a very useful command under Linux/unix, which is to copy a file with a block of the specified size and make the specified conversion at the same time as the copy.Main options for DD:
First, Introduction The Ag is written in C + +, and the search is faster and more efficient than grep. Second, installation rhel7+ RPM-UVH http://download.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm YumInstall
1, start the virtual machine, network selection: host-only mode2, command line input rm-rf/etc/udev/rules.d/70-persistent-net.rules3. Modify the network configuration in the virtual machine>>vim/etc/sysconfig/network-scripts/ifcfg-eth0Modify the
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