In Linux, clear the history and change histsize = 1000 to 0 or 1 in/etc/profile to execute Rm-RF. bash_history clear historyhistory-C when executing the command, do not write the command name into the history file, put it in the buffer, and then
1. Run Yum: in/etc/yum. repos. d/create a DAG below. enter the source address in the repo file: [root @ hm2 yum. repos. d] # Cat Dag. repo [Dag] name = Dag RPM repository for Red Hat Enterprise Linux baseurl = protocol gpgcheck = 1 gpgkey =
After fork, the child process and the parent process will continue to execute the commands after the fork call. A child process is a copy of the parent process. It will obtain the data space, heap and stack copies of the parent process. These are
Solution to slow startup of Sendmail and sendclient in Linux
Method 1:
1. First open the file/var/log/message to see if there is something similar to the following:Unable to qualify my own domain name2. If yes, it is a DNS issue. Add a domain
Reprinted: http://www.php-oa.com/2010/01/03/linux-io-elevator.html
I/O Scheduling Algorithms compete for disk I/O by each process. he requires optimal processing of the request order and timing to achieve the best overall I/O performance as
Error Code 88 enotsock _ socket operation on Non-socket
Cause of error: the error code is as follows:
If (sockfd = socket (af_inet, sock_stream, 0)
The correct code should be to enclose sockfd = socket (af_inet, sock_stream, 0) in parentheses.
Unix has several input and output streams, which correspond to numbers as follows:
0-standard input stream (stdin)
1-standard output stream (stdout)
2-standard error stream (stderr)
Command results can be defined in the form of>.1./dev/null
/Etc/profile: This file sets the environment information for each user in the system. When the user logs on for the first time, this file is executed.And collect shell settings from the configuration file in the/etc/profile. d directory.
/Etc/bashrc:
A new PDF guide written from scratch it's available on the Main Page
Follow the instructions from the winpe RIS Guide (remember to patch the atftpd server), then you can setup a multi RIS to installWindows XP, 2003, and 2000.
You can skip some of
1. Service Query
By default, a part of the samba service package has been installed in Linux by default. To have a complete understanding of the entire process, uninstall this part first. Use commands
Rpm-Qa | grep Samba. By default, two existing
In Linux,/dev/loop is often used to create the file system image file rootfs. IMG, so that it can be downloaded to the kernel for mounting;
Http://zh.wikipedia.org/wiki//dev/loop
We have daily access to a large number of image files *. ISO, which
Also, let's take a look at my Linux toys list.
By:
Wu Yin
Date:
2008-01-31
Homepage:
Http://blog.csdn.net/wooin
Email:
Lazy_fox # msn.com
Copyright information:
This article is copyrighted
The process Kernel stack of Linux kernel 2.4 and 2.6 is not the same as the task descriptor storage. Here we will summarize it.
In kernel 2.4, the stack is defined as follows:
union task_union { struct task_struct task; unsigned long
One cursor move
CTRL + A: move the cursor back to the beginning of the command line. (A: ahead)CTRL + E: move the cursor back to the end of the command line. (E: end)CTRL + B: move the cursor to the first character of the line. (B: backwards)CTRL +
We usually encounter unfamiliar commands or functions during development. With man's help, we can see more in-depth information about commands or functions by adding numbers to man.
You can also use comparison commands and functions to learn more
Http://blog.chinaunix.net/u2/66903/showart_1902477.html
1. About tr
By using TR, you can easily implement many basic sed functions. You can use tr as the (extremely) Simplified variant of SED: it can replace another character with one character, or
Grep: G (globally) Search for a RE (Regular Expression) and P (print) the results.
1. parameters:-I: case insensitive-C: print the number of matched rows.-L: searches for matching items from multiple files.-V: searches for rows that do not contain
There are five processes in Linux:1. Run (running or waiting in the running Queue)2. interruption (in sleep, blocked, waiting for the formation or receipt of a signal of a condition)3. Do not interrupt (do not wake up when receiving the signal or do
Scripts/kconfig/lxdialog/dialog. h: 32: 20: Error: Curses. h: no such file or directory
In file already ded from scripts/kconfig/lxdialog/checklist. C: 24:
Scripts/kconfig/lxdialog/dialog. h: 97: Error: Expected specifier-qualifier-list before
Mplayer installation records in Linux
Mplayer installation experience:
1. Download three files from the official website: main program + decoder + skin
Http://www.mplayerhq.hu
Http://www.mplayerhq.hu/design7/dload.html
2. Check whether the following
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