$ (./test.sh &)$ setsid ./test.sh &$ nohup ./test.sh &Specific transfer from: http://digdeeply.org/archives/06281192.htmlIn Linux, if you want the process to run in the background, in general, we'll add & after the command, in fact, this is putting
Some common shutdown/Restart commands under Linux are shutdown, halt, reboot, and Init, all of which can be used to reboot the system, but each command has a different internal working process.Linux CentOS Restart command: 1, reboot2. shutdown-r now
cd/usr/src/wget http://www.linuxvirtualserver.org/software/kernel-2.6/ipvsadm-1.24-6.src.rpmRPM-IVH ipvsadm-1.24-6.src.rpm #会有Header V3 DSA signature:nokey, key ID warning, ignore it is, directory it automatically can not become the words to help it
Git is a distributed versioning system (distributed version control systems, or DVCS) clients that do not only extract the latest version of the file snapshot, but instead completely mirror the original code repository. As a result, any server that
Arrays: You use an index to store multiple data as a collection.Normal array: The index of an array can only use integersAssociative arrays: Array indexes can use integers and strings (associative arrays are supported for versions above
First I set up a folder under the/root/backup directory,#mkdir/root/backup/mysqlbackupAfter five o'clock every day, a file will be saved here.Then create a new file#vim/root/mysqlautobakInput:Filename= ' Date +%y%m%d
Linux shutdown Command Xiang solution1. Direct Power off2. Init 03, Telinit 04. Shutdown-h Now5, halt6, Poweroff1.shutdown shutdown command to safely shut down the system. It is dangerous for some users to turn Linux off using a direct power-off.
Voting system1.Descriptionwrite a voting system, the process is to configure the server first, in writing an online voting function, to achieve online voting function. In fact, the implementation of the function is very simple, the trouble is that
"title"Original:2.2 Implement an algorithm to find the nth to last element of a singly linked list.PresidentImplements an algorithm that returns the nth-lowest element from a single-linked list."Analysis"(1) Create two pointers P1 and P2, pointing
This is not a detailed description of each Linux command, just a few of the more basic commands and related parameters that people often use in their usual work, as well as some simple examples to illustrate the purpose of these commands and how to
In different versions of the kernel source code, the location of the header file is different, for example, in#include #include Also Regs-gpio.h, is located in Arch/arm/include/asm in a relatively low version (e.g. 2.6.25), and mach/ Regs-gpio.h is
Linux built-in support keepalive mechanism, in order to use it, you need to enable TCP/IP network, in order to be able to configure the kernel at runtime parameters, you also need PROCFS and sysctl support.This process involves three user-driven
I wrote a quick training material for my wife-the most common command and explanation. Of course, each person's work content is different, and Common commands are also different. This is only my personal experience and the basis of the recipient
I. Preface
Obviously, we can know from the name that vmstat is a tool for viewing the usage of Virtual Memory. But how can we identify bottlenecks in the system through vmstat? Before answering this question, let's review the virtual memory related
1. view detailed linux Version Information
File/sbin/init
2. Download the corresponding nmon version
Http://pkgs.repoforge.org/nmon/
3. Install
Rpm-ivh nmon-14f-1.el5.rf.i386.rpm
4. Collect data
1)./nmon_x86_rhel52-s10-16A-f-m.
-S10 collects data
[Grep introduction:]Grep is used to filter rows containing specific characters. It can use regular expressions to search for text. When searching for a string in data, it selects data in the unit of positive behavior. usage: grep [cinvs] 'pattern'
When sendmail is sent on a new server, the system finds that the email is not successfully sent, and checks the log file to find the following error (Notice: due to the involvement of the company server, mailbox, etc, the following hostname, email
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