Guide
I believe the best and worst thing about Linux is the huge difference between kernel space (kernel spaces) and user space. Without this distinction, Linux may not be the most influential operating system in the world.
Linux
Find is one of the best commands in the command-line Toolbox.Lists the files and folders in the current directory and its subdirectories.[[email protected] webroot]# find.
Excerpt from: http://www.apelearn.com/bbs/forum.php?mod=viewthread&tid=7660&extra=page%3D1%26filter%3Dtypeid% 26typeid%3d361. Gzip ToolSyntax: gzip [-d#] filename where # is a number 1-9, the default compression level is 6, only files can be
Method:ftp+tftp+dhcp+kickstart+pxe1. Installation of various types of tools to start, need to configure Yum source, specifically no longer repeat2. After the preparation is completed, the configuration of Kickstart[Email protected] ~]#
The properties of a file or directory in a Linux system mainly include: Indoe, file type, permission attribute, number of connections, user and user group belonging to, last modified time.650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/86/
1, the Replication/etc/skel directory is/home/tuser1, requires/home/tuser1 and its internal files belong to the group and other users do not have any access rights.CP SRC DESTSRC is the directory: Use option at this time:-R if DEST does not exist:
1. List the user name of all logged-in users on the current system, note: The same user logged in multiple times, only once.[email protected] ~]# who | Cut-d '-F 1//Cut string,-D indicates the character is a space,-F, 1th column
1. View Vi/etc/udev/rules.d/70-persistent-net.rulesHere can see your network card information, find your corresponding network card nameFor example (this is the virtual machine where I add a new NIC that does not show its profile) # PCI Device 0x808
1. Command Prompt#: Root$: Normal User2. Command Format[command option parameter]Options:Short Options:-Multiple options can be combined:-a-b =-abLong options:--Parameters:Action object of the command3. User SwitchingCommand format:[SU user name]4.
//read function#include #include#include/*Stdin_fileno: Standard input, value is 0 Stdout_fileno: standard output, value is 1 Stderr_fileno: standard error, value is 2 header file is unistd.hread (file identifier, buffer, buffer size) function is
#include int getch (void) { struct Termios TM, Tm_old ; int fd = 0, ch; if (tcgetattr (FD, &TM) return-1; } tm_old = TM; Cfmakeraw (&TM);//Change terminal set to original mode, all input data
ObjectiveUse environment: CentOS 7 SystemFirst, view the maximum number of processes opened by the userUlimit-aMAX User Processes (-u) #系统限制某用户下最多可以运行多少进程或线程How are these values coming from?The value of MAX user processes, which appears under root
One, select cycleThe Select loop is primarily used to create menus, with the option to display menus numerically, and user input is saved in the built-in variable reply. Select is usually used with case and is a dead loop, note the option to set the
Excerpt from: http://www.cnblogs.com/hopeworld/archive/2011/04/08/2009252.htmlIn Windows, you can find files in some paths, or you can set the file to not be found in some paths, and use the Find command in Linux with its-path-prune parameter to see
Users and groups in Linux are used to control which resources and hardware the user or process can or may not use, which is the most basic way to control Linux permissions.Users and groups can take a look at the section in the previous chapter and
Linux sends mail to external mailboxes via SendMail
Recently in writing automated patrol scripts, thinking how to alert after automatic email alerts.First download the latest version mailx-12.4.tar.bz2# wget http://sourceforge.net/projects/heirloom/
IntroductionAwk is a powerful text analysis tool, with the search for grep and the editing of SED, which is especially powerful when it comes to analyzing data and generating reports. To put it simply, awk reads the file line-by-row, using spaces as
1. What are the file management commands on Linux, their commonly used methods and their related examples?Common commands: LS, CD, PWD, mkdir, CP, RM, MV, Touch, cat, more, less, head, tail, Du, WCLS:-A&NBSP: Lists all the files in the current
Configure the saltstack module for normal users.
Use client_acl1. Overview: enable special modules on the master for non-root system users. These module names can be expressed using regular expressions and cannot be specified for which minion
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