http://bamboo.72pines.com/2011/03/08/%E3%80%90%E8%BD%AC%E8%BD%BD%E3%80%91linux%E8%BF%9B%E7%A8%8B%E7%8A%B6%E6% 80%81%e8%a7%a3%e6%9e%90/
Several states of the Linux process
Linux is a multi-user, multitasking system, you can run multiple users at
The requirement is this:
#。 /usr/bin/bash
day=0
tmpday=0
tmp2=0
#for循环执行进程, the province of a manual run for
((day=1;day
The above is the content of a shell script, named 123.sh, the purpose of this script is to use Hadoop based on two input files
Install RedHat Linux AS4.0 on the virtual machine, because the choice of color depth is too high when the video is configured, the 16-bit color is configured to 24-bit color, which results in a flower screen when the graphical interface is opened,
Before we install, we have to install the dependent packages it needs first, or the installation process is bound to cause errors. First, install the dependency pack
#yum Install kernel-headers
#yum Install Kernel-devel
#yum Install make
Second,
1. Introduction
The GNU debugger (GNU Debugger, abbreviation: GDB) is the standard debugger in the GNU software system, and GDB is also a portable debugger, with the modification and recompilation of the removal requirements, and GDB is available on
A lot of the same rookie like me, in order to learn Linux in the original Windows based on the installation of Linux. But Windows virus is too much, it is not sure which day the virus can not be killed or even into windows will have to reload. After
1. Introduction
This command reads the input file and compares the adjacent rows. Under normal circumstances, the second and more repeated rows will be deleted, and the row comparison is based on the sort sequence of the character set used. The
Linux boot up 10 steps
Collection Share 2012-2-6 11:15| Posted by: Red and Black Soul | Number of Views: 1366| Number of comments: 0| from: Bit network summary: The boot process refers to from the power on the computer until the Linux display user
Modify Linux system firewall configuration need to modify
/etc/sysconfig/iptables
If you want to open which port, add a
-A rh-firewall-1-input-m state--state new-m tcp-p TCP--dport 3306-j ACCEPT
On it, where 3306 is the port number to open, and
Under Linux, when the corresponding package is removed with RPM, there are sometimes dependencies.
For example: Delete a,b rely on a, prompted not to delete, and delete B, said a dependent B, also do not let delete.
At this point, you can add
(i) View file system space usage: DF
syntax Format
DF [-h] File/directory name/omit displays the file or directory where the file system disk space usage
parameter explanation:-
H Display with a more readable capacity format rendering (g/m/k),
1.rename Command Batch modify file name, in fact, Linux can use other methods to batch modify file name, but rename is too convenient
For example, modify all the tables for cdb1_* to cdb_*.In this table of contentsJust need # rename ' cdb1 ' CDB ' *
1. Introduction
Sed is a good file processing tool, itself is a pipe command, mainly in the behavior unit, you can replace, delete, add, select and other specific work, the following first understand the use of SEDThe SED command line format is:sed [
1. Introduction
End the program or work in execution.
2. Format
Kill [S Signal |-P] [-a] [--] pid ...Kill-l [Signal]
3. Parameter
-S: Specifies the signal to send.-P: Analog send signal.-L: Specifies the name list of the signal.PID: The ID number of
1. Introduction
The Net_bridge structure is the data structure that represents the network bridge, and its contents are as follows:
struct Net_bridge{spinlock_t lock;struct list_headport_list;struct Net_device*dev;struct
1. Introduction
The specific methods are as follows:
1 Add swap via DD command:DD If=/dev/zero of=/var/swap.img bs=1024 count=512000We write the swap file in/var/swap.img.Parameters:If input of output BS block size count Total size2) sudo mkswap/var/
1. Introduction
Fuser is a command on Linux that is used by files or devices to identify processes that use files, or devices.
2. Option
-C contains reports about any open files in file system.
The-D hint uses the-C and-X flags. A report on any
Welcome to the Linux programming world.
If you're already a good programmer under Windows, then here, you will find a new world, although in Linux programming than in Windows programming there are all kinds of inconvenience, but her many charming
General pid_max=0x8000 (can be changed), so the maximum value of the process number is 0x7fff, that is, 32767.
Process number 0-299 is reserved for the daemon process.
Now the kernel does not seem to have this limitation, "Linux kernel design
1. Introduction
Strace is commonly used to track system calls and received signals when a process executes.
Strace can track system calls generated by a process, including parameters, return values, and time spent executing.
2. Parameter
-C counts
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