Locate all the files in the root directory that begin with test and pass the lookup results as parameters to the RM-RF command for deletion:1, Find/-name "test*" |xargs RM-RF2, Find/-name "test*"-exec rm-rf {} \;3, RM-RF $ (Find/-name "test")If you
Anywhere on the web can find how to put the application's icon on the desktop, I just use Ubuntu is also in accordance with the online practice, step by step, and now the online approach to copy down:Desktop profile brief \label{sec:desktop file}A
First, open the network communication port, choose the TCP protocol
LISTENFD = socket (af_inet,sock_stream,0);
Second, initialize the SERVADDR, and make the network byte sequence conversion
Bzero (&servaddr,sizeof (SERVADDR));
In the Linux system environment, whether it is the root user or other users only after logging on the system with the access to the operation we can see history through the command, but if a server many people landing, one day because someone
Linux is a very automatic file generation system, log, mail, backup and so on. Although now hard disk cheap, we can have a lot of hard disk space for these files wasted, so that the system regularly clean up some unnecessary files there is a
Three servers, (1) Do the routing, (2) (3) Do RealserverIP: 192.168.196.121 (1)192.168.196.122 (2)192.168.196.123 (3)To install the Ipvsadm software on the (1) Load banlance machineCan be found in the cluster directory, source code compiled
Introduction to basic concepts and operating experimentsThe main experiments in this section are:1, experimental building environment Introduction 2, Common shell commands and shortcut keys 3, Linux use tipsI. Introduction to LINUX Desktop
11.4.1 send signal the process can send a signal to other processes, including itself, by calling the kill function. If the program does not have permission to send the signal, the call to the KILL function will fail. A common cause of failure is
Groups viewing the members of the currently logged on user groupGroups Gliethttp View the group that the Gliethttp user is in, and the members in the groupWHOAMI View the currently logged in user nameInformation about groups within the system is
After using fork, you may need to get the health of the fork's process, such as there is no exception, crash.The key description of wait in man is as follows:All of these system calls is used to wait for state changes in a child of the calling
1. Using a regular match file name# # grep-n ' [^\/][a-za-z0-9]*[.a-za-z0-9][a-za-z0-9]*$ ' Regular_express.txt/etc/init.d/hello.h/etc/init.d/hehe2. Using SED to extract the NIC IP(1)# ifconfig eth0 |grep ' inet addr 'inet addr:192.168.211.129 bcast:
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
Mutual exclusion LockIn multithreaded programming, (multithreaded programming) can be used to protect critical sections of code by using mutexes (also known as mutexes) to ensure exclusive access, which is somewhat like a binary semaphore. The POSIX
Linux Kernel 3.11 socket busy poll mechanism to avoid sleep switching, 3.11 pollThe network protocol stack of Linux is very independent. The upstream and downstream interfaces are connected to the user State and devices respectively. They can also
[Practical commands] Linux users, user groups, and linux User Groups
Change file owner-R indicates recursion.
Chown [-R] root. work test changes the test file to the owner root, and the user group works. Chown [-R] work test: Change the test file
Update the Python version of CentOS
Because a program installed in the CentOS system requires a high version of Python, you must upgrade the Python that comes with the system.
First, query the Python version of the system.
# Python-V
Show is 2.4.3,
Install screen in CentOS
When you use SSH to log on to VPS to download large files, such as 10 Gb files, you cannot sit on your computer or start the system to download them. When you compile the source file, the network is suddenly disconnected,
Ubuntu failure in resolv. conf restart
In general, we can use resolv. conf in Ubuntu to set the DNS address. After restart, the address in resolv. conf will still return the original content.
This is because the resolv. conf file is actually a
Centos6.6 install rsync server, centos6.6rsync
I. Introduction
Rsync is often used for code distribution or data backup at work. The configuration is not complex and only recorded. The installation environment is as follows:
1) Centos6.6
2) rsync-3.0
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