The following three methods are summarized for viewing the file created on a day of the week: 1. use the ls command in combination with grep: ls-l -- time-style & 039; & amp; 43; % A & 039; | grep-E & quot; Tuesday | Wednesday & quot; 2 use AWK
Both the fork function and vfork () function can be used to create a process fork (). an existing process can call the fork function to create a new process. A new process created by fork is called a child process ). The fork function is called once
1 first download the pptpd source code from sourceforge http: sourceforgenetprojectspoptopfiles? Source = navbar2: compile the source code configure & amp; make & amp; makeinstall3.
1. first download the pptpd source code from
Status quo: you can use YUM on RedHatEnterpriseLinuxServerrelease55, but you need to register with the Red Hat official account and spend money. Do not spend money: Build a RedHatEnterpriseLinuxServerrelease55
Status quo: YUM can be used on Red Hat
AWK introduction and usage awk is a powerful text analysis tool. compared with grep search and sed editing, awk is particularly powerful in analyzing data and generating reports. To put it simply, awk is to read files row by row, and slice each line
Group logical volume configuration 1, set lvm to cluster lock equivalent to 2, partition synchronization Partition 3, create cluster Volume 4, configure http File System 5, Web add HA-LVM freeze web service 6, view unfreeze web service View service
For programmers or Linux administrators, the most common way to operate Linux is to use command lines. Of course, Linux command line? Are there any problems ?? How can I bits in the baking environment? Around the world, I was wondering, why? When
Tmpfs introduces tmpfs as a virtual memory file system, rather than a block device. It is a memory-based file system. when you create a file system, you do not need to use mkfs to initialize it. The biggest feature is that its storage space is in VM
Yesterday, I changed the Chinese names of almost all folders to English, because it was very painful to switch back and forth between Chinese and English. I was shocked when I started today: the folders all came to the desktop and I was upset .. I
When writing a script, you may need to check whether the string is equal or not. you may also need to check the file status or perform a digital test. Further actions can be performed based on these tests. The Test command is used to Test strings,
Because there are a lot of servers, a simple version manager is created to facilitate the release of the version. However, when a common user executes the administrator permission, he always prompts sudocptmptestwaropttestisnotallowedtoexecute to
A shell script can contain one or more commands. Of course, you don't have to write a shell script for just two commands. you have to decide everything. A shell script can receive information in a command and use it as the input of another command.
1. what is rsyncrsync? remotesynchronize is a software that implements remote synchronization while synchronizing files, you can retain additional information such as the permission, time, and soft/hard link of the original file. Rsync uses the &
Authorization, allowingincreasedbandwidthandredundancyLet & 039; sassumewehavetwonetworkinterfaces (NIC channel bonding allows multiple network cards to act as one, allowing increased bandwidth and redundancy. let's assume we have two network
Enter ls-lxxxxxx (xxxxxx is the file name) in the terminal to view the permission. similar information appears, mainly including-rw-r -- where: the first-represents the three rw in the middle of the type-represents the owner (us
View
To add a user group and a user in Linux, run the following command (in this way, the added user has his/her own running environment and can add the same permissions as the root user in the etcsudoers file, ): sudoaddgroupusergroup.
To add a user
Chapter 2: compile a script utility to monitor the function du required by the disk space, display the disk usage of files and directories, and view the size of a directory. we can: $ du -- max-depth = 0-handroid-sdk61Gandroid-sdk $ du-shandroid-sdk
Chapter 2: shell script programming advanced monitoring system Statistical Data System Snapshot Report 1 run time The uptime Command will provide the following basic information: the number of days, hours, average number of users logging on to the
We have discussed how to use a specific variable $1 $9 to pass parameters to the script. $ Is used to count the number of passed parameters. You can create a usage statement to notify you how to call a script or function with appropriate parameters
1. modify the IP address configuration file path: etcsysconfignetwork-scriptsifcfg-ethx if the computer has only one network port, x is 0. if there are multiple network ports, modify the corresponding file according to the actual situation. The file
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.