Recently learning Linux, like many beginners, there are a lot of operational commands to be familiar with and mastered, because of Linux adhering to the "all documents" idea, so we often use in the operation of the file to find the command, the
A detailed description of DHCP server and deployment Relay Agent under Linux
Build DHCP server, native eth0 network card IP is 1.1.1.18/24, gateway is 1.1.1.20Yum install-y DHCP Install DHCP RPM packageCp/usr/share/doc/dhcp-3.0.5/dhcpd.conf.
1:/etc/passwdOpen the file and you can see that each line is divided into 7 fields such as: Root:x:0:0:root:/root:/bin/bashThe first field indicates that the user name is the root userThe second field holds the password for the account, the early
1. Introduction to Linux CommandsLinux commands are commands for managing a Linux system. For Linux systems, both the CPU, the memory, the disk drive, the keyboard, the mouse, and the user are all files. Linux System Management commands are the core
What is a libraryIn essence, a library is a binary form of executable code that can be loaded into memory by the operating system. Because of the different nature of Windows and Linux, the binary of the libraries is incompatible. The library
Locate allows users to quickly search the file system for specific files.(1) Usage:Usage: Locate [Options] [parameters](2) Function:Features: Search for entries in the Mlocate database to quickly find files or directories(3) Option parameters:1)-d
There are many search commands under Linux:
Locate
Whereis
which
Find
The most powerful of these look-up commands is the Find command . The Find command searches the directory structure for a file and performs the
the which command is used to find and display the absolute path of a given command. environment variable The directory that you need to traverse when you save the Find command in path. The which directive looks for eligible files in the directory
chmodFeatures: Set access permissions for filesThe format of the command permission value: user identifier +-= permission character+/-/=: Increase the scope of permissions, Cancel, give permission to the permissions represented by the code nameUser
http://zhuqiuxu.iteye.com/blog/2116023http://zhuqiuxu.iteye.com/blog/2116168Understanding the Inode to start with the file, the file is stored on the hard disk, the smallest unit of hard disk is sector, generally a sector of 512 bytes, but if the
Linux Scripting Learning
D: Delete rows that match the criteria
Sed ' 1,2d '/etc/fstab delete 1, 2 lines, show other rows
P: The line that displays the print fit condition
Sed '/^\//p '/etc/fstab matches the display,
Last-a the host name or IP address from which to log in to the system, displayed on the last line. -d Specifies the record file. Specifies the record file. Converts an IP address into a host name. -F
Specifies the record file. -N
Or
Daemon (daemon) is the process that is running in the background (daemon).This article describes how to start a Web app as a daemon.First, the origin of the problemAfter the Web application is written, the next thing to do is to start it and keep it
Intro-----Usually when we write server code, we can improve the efficiency of the system scheduler by binding the current process to a fixed CPU core or thread binding to a fixed CPU core, and then paste the complete code below.```/******************
web:192.168.1.10 nfs:192.168.1.111 Configuring Server for NFSInstalling the SoftwareYum Install RpcbindYum Install NFSCreate a shared directoryMkdir/tmp/rwMkdir/tmp/roChange of genus Swine GroupChmod-r nfsnobody.nfsnobody RWChmod-r
Crlf lf cr, crlflfcr
The Carriage Return (CR) character (0x0D, \ r) moves the cursor to the beginning of the line without advancing to the next line. this character is used as a new line character in Commodore and Early Macintosh operating systems (
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