first, the Linux file structureFile, in addition to its own content, there is a management information, including the creation/modification date of the file and its access rights, these properties are stored in the file Inode (node).A directory is a
The iptables command is a common firewall software on Linux and is part of the NetFilter project. Can be configured directly or through many front-end and graphical interfacesIptables (option)-t-A: Add entries to the rule chain;-D: Delete entries
Disk and File System management Terminal type:Console: Control DeskPty: Physical Terminal (VGA)tty#: Virtual Terminal (VGA)ttys#: Serial Terminalpts/#: Pseudo Terminal Ln [-s-v] SRC DEST Hard Links:1 , can only create files, can not be applied to
Linux in getopt detailedThe Getopt function is used to parse the command-line arguments, with the argument "-'" or '--' as the option parameter, and the option parameter to remove '-' or '--' to the left of the option character . if the getopt
HeartbeatSystem environment:Firewall off,Seliux status is disabledAddress resolution for groups between serversnode3:172.25.44.3node4:172.25.44.4Physical Real Machine: 172.25.44.250vip:172.25.44.100The following content is configured on both NODE3
Boot is a generic term that indicates the process of initiating and so on.Uboot is a proper noun, which means a software called Uboot.AskI now have a project is like this, first burn boot.bin, and then burn write Uboot.bin, this is how Ah,
Practice One:Pass three parameters to the script, the first is an integer, the second is an arithmetic operator, the third is an integer, the result of the calculation is displayed, and the two-bit precision is required to be preserved. Shaped like:.
Question 1, sometimes we find the file properties in a directory is very messy, some are 777, some 755, some 644, for security purposes, use Xargs and exec to modify all the file permissions in the current directory to 644, please give the shell
In Linux, everything is file.In a Linux system, each file has an inode number that matches it, and each inode can match multiple files.and links have soft links, hard links of the points. A soft link is like a shortcut to Windows, and a hard link is
For loop: loop operation, for Loop statement1 . Command format: for variable in list; Loop bodyDone2 . Command function:Execute Loop statement3 . Command parameters:for variable in list;Loop bodyDoneThe list generation method for the For loop:{N.
Modify the NIC configuration file as follows:Onboot=yesipaddr=192.168.1.11netmask=255.255.255.0Nm_controlled=noTo restart the network card:Systemctl Restart NetworkTo view network card information:IP addReference Documentation:LINUX7 no ifconfig
I first paste the script here, convenient for everyone to watch, which is also borrowed from a lot of other big God things, this script is mainly used to monitor the server, users, logs, but also to create backups, and so on. Recently learned shell
useradd (option)-c-d-D: Change the preset value;-e-f-g-g-M: Automatically set up the user's log in directory;-M: Do not automatically set up the user's log in directory;-N: Cancels the creation of a group named after the user name;-R: Establish the
========================= Basic Knowledge =========================Linux System Basic startup process:1, the CPU from ROM(if any) of the 0x0 address start reading code, execute loader;2. Loader initialize Ram, copy uboot or kernel from ROM The
Rm command, mv command
Function: delete a file or directory.Syntax: rm [-dfirv] [-- help] [-- version] [file or directory...]Note: Be careful when using rm-rf. You are not prompted to delete the directory directly (the entire company may be
[Linux 004] -- user and user group and Linux permission management (2), linux004
To the permission. Users and user Master management in Linux are mentioned earlier. In fact, their nature (or the original intention of users and user groups) is
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