1, User and user group concept:1. File owner2. User groups3. UserAfter you log on to Linux as root, execute ls-al and see information about the properties of the file-rw-r--r--, The 1th character indicates that the file is "directory, file or link
103 Linux Important Sub-directory description/etc/sysconfig/net-scripts/ifcfg-eth01) Restart the NIC/etc/init.d/network restart2) ifdown eth0 && ifup eth0 only for Eth0 NIC, modified via setup network configurationdevice=eth0 Physical
Directory
1. Change the basic properties of a file
2. linux File and directory management
3. Linux User and User group management
4. Disk Management
5. Linux Vi/vim
6. Linux View firewall status and turn off command
BG and FG commands for LinuxAs we all know, on Windows, we either have a program running in the background as a service, or stop the service. Instead of allowing the program to switch between foreground and background. Linux provides FG and BG
System InformationThe processor architecture of the Arch Display machine (1)UNAME-M Display the processor architecture of the machine (2)Uname-r displaying the kernel version in useDMIDECODE-Q Display hardware system
There are 7 runtime run levels under LinuxRun Level 0 system shutdown state, the system default RunLevel cannot be set to 0, otherwise it will not start normallyRun Level 1 single user working status, root privilege, for system maintenance, remote
CentOS 7 system, does not differentiate between 32 bits and 64 bits.1.man Command tree structure displays command usage2. Command-help ibid., but not tree-shaped3.tree function: The tree structure displays subdirectories under a directory.Note: The
1.ls-l listing the details of a file-rw-r--r--1 root root 13572 zabbix-release-3.4-2.el7.noarch.rpm-rw-r--r--: Permissions1: Multiple files using the same inode (for example: 1 files using the same inode)Previous root: Indicates the owner.Post Root:
The OD (octal dump) and XD (hexdump) commands can display files or streams in decimal, octal, hexadecimal, and ASCII code, they are useful for accessing or visually checking characters in files that cannot be directly displayed on the
Best references:
1. Master from the Internet.
2. UNP V2 posix ipc chapter 12.
3. Linux man command.
Article 1: MMAP function Purpose
1. Map common files to the process memory space for memory ing Io.
2. Map special files to the process
ArticleSource: http://blog.csdn.net/chenglinhust/article/details/8667400
In the kernelCodeYou will often see some debugging functions, such as bugs and bug_on.
Before use, select "make menuconfig:" In Kernel configuration:
Kernel
Chmod: Change File Permissions
Symbol mode:
The general format of the CHMOD command is:Chmod [who] OPERATOR [permission] filename
Who indicates:U file owner permissionG. permissions of users in the same groupO other User PermissionsA All users
Netcat (NC) is known as the Swiss army knife in the network security field. I believe many people know it. It is a simple but practical tool that reads and writes data through a TCP or UDP network connection. It is designed as a stable backdoor tool
If possible, we recommend that you use the FAT32 format instead of NTFS for Windows partitions mounted on Ubuntu. Because of the confidentiality and lack of NTFS file system structure documents, UBUNTU does not support NTFS very well. If you have a
The biggest feature of Linux devices is that device operations are like file operations. In the application layer, a hardware device is just a device file. Applications can operate hardware devices like operating files, such as open (), close (),
Like SPI, after learning about the protocol, let's take a look at some I2C data structures in Linux kernel.
In include/Linux/I2C. h
The data structures are as follows:
struct i2c_msg;struct i2c_algorithm;struct i2c_adapter;struct i2c_client;struct
You need to write code under Win and debug it on Linux. Rsync is used for synchronization. The following is the deployment process.Win
1. Download and install cwrsycserver. The installation directory is dir.
2. Modify rsyncd. conf under DIR
uid =
[Environment] virtualbox 4.0.4, centos 5.5x64
Heartbeat [1] is one of the most common ha solutions in Linux. It is mainly used to solve the single point of failure (spof) Problem of the front-end server of the cluster. As the name suggests,
Development Environment In GNU/Linux
In the work environment, virtual machines are a major issue. Therefore, we will introduce them separately before this chapter. In addition to virtual machines, there are several important things, including the
As a matter of fact, the CP command is quite common for everyone. I don't have to be here. Until I found that CP is not simple enough for everyone to ignore.Here are two examples. You can pay attention to the following in the future study:1) 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