Input command: Head-n 4/etc/passwd
Output:
Root:x:0:0:root:/root:/bin/bashDaemon:x:1:1:daemon:/usr/sbin:/bin/shBin:x:2:2:bin:/bin:/bin/shSys:x:3:3:sys:/dev:/bin/sh
To: Separate, the corresponding field meaning is as follows:
Username: Password:
Original link: http://snailwarrior.blog.51cto.com/680306/153562
View the space occupied by a directory command: # du-sh Dirpath For example: Du-sh/home/snail See how many files are in a directory command: # find Dirpath-type F | Wc-l For example:
1.elinks-lynx-like Alternative role mode www browser
For example:
ELinks--dump http://www.baidu.com
2.wget This will download the homepage of the visit to the local
[Root@el5-mq2 ~]# wget http://www.baidu.com--2011-10-17
1. Introduction
The sort command sorts the rows in the files specified by the file parameter and writes the results to the standard output. If the file parameter specifies multiple files, the sort command connects the files and sorts them as a file.
If you want to view the detailed parameters of a process under Unix/linux, you can use the command:
Ps-axuww|grep
It should be noted, however, that under Solaris, there are two versions of PS: one is/usr/bin/ps; one is/usr/bin/ps.
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
Today in the school nine Star Forum to see a beginner want to learn Linux posts, and then back to the post, to the feast ...
/* Lsosa. BIT */
Sweat one, you don't deserve it. More communication, but learn Linux must have perseverance, and not I
Git#emerge git Gitosis-gentooGitosis is masked need to be added in/etc/portage/package.keyworldsDev-util/gitosis-gentoo (This method does not work.) To use the following method)
If you encounter an error such as the following:
Core2 ~ # emerge
The functions of the Arm-linux tool are as follows:
Arm-linux-addr2lineConverts the program address to the file name and line number. Give it an address and an executable file name on the command line, and it uses the debug information of the
Lsof (list open files) is a tool that lists the current system open file. In a Linux environment, everything exists as a file, and access to network connections and hardware can be accessed through files, not just regular data.Enter lsof under the
Linux system provides the input subsystem, keys, touch screen, keyboard, mouse and other input can use input interface function to achieve device-driven, so the 12.1~12.2 section of the button and touch screen device driver can be used as input
Show environment variables: #echo $PAHT
Summary of common methods for modifying Linux environment variables (red for Paths to add):
1, #PATH = $PATH:/etc/apache/bin, this method is only valid for the current, that is, when you log off the system
The company's test server, is also public, hanging on the test server domain name outside is accessible, recently found that the page access is very slow, sometimes, half a day can not open. Look for a reason.1, my first reaction is not the server
The recent colleague's program design process uses the Linux signal mechanism, thus has caused me to the Linux signal mechanism ponder. Signal mechanism is a very common interprocess communication mechanism in Linux, and many people do not consider
Turn from: http://os.51cto.com/art/201108/285239.htm
Ubuntu11.04 is the 14th release version of Ubuntu system. Ubuntu11.04 will support multi-touch technology, improve the user interface, better support hardware devices, and compatible arm
First, look at Man tar:
NAMETar-the GNU version of the tape archiver (TAR) utility Synopsis Tar [Options] Operations:[-] A--catenate--concatenate[-]c--create (packaged files)[-]d--diff--compare[-]r--append (Append)[-]t--list (listed)[-]u--update
First: Download, extract MongoDB files. Put the extracted files under the/opt/(storage directory to install their own habit of storing)
# wget Http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-2.0.4.tgz
# tar-zxvfmongodb-linux-x86_64-2.0.4.tgz
#
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