In Linux (RHEL), when I use the whatis command, for example, I want to find the meaning of the LS command, shell prompts:
But I remember it was easy to use. What happened now? I searched for the Internet and did not find any good solution.
In the 2.6 series version, you can easily create device nodes by using udev to manage device files. You do not need to use mknod to create device nodes. In this article, we use the minimum encoding to describe how to create a device node.
//
1. Close removes the reference count of the descriptor by one. The socket is closed only when the count is changed to 0. The shutdown function can activate the TCP connection termination sequence regardless of the reference count.2. Close terminates
The lab server uses Redhat as its operating system, but one of the biggest problems is that it cannot be shut down normally, or the power cannot be shut down after shutdown. You need to manually shut down the server. So that we have always been
Some of the basic rules of makefile are not mentioned. Some makefiles use a mix of Linux commands and functions, sometimes confusing.
The following is an example:
Example 1 (using Linux commands ):
# SDK makfile 1.0
Dir: = ../..Object: = $
1) solve the inconsistency between version magic
Original article: http://blog.sina.com.cn/s/blog_7d638eda010118rh.html
Http://tldp.org/LDP/lkmpg/2.6/html/x380.html
After compiling a kernel module, if the machine that installs the module
1. Learn to write simple makefile
2. Compile an applicationProgramCan be run with makefile
3. Learn to write the driver makefile
4. Write a simple char driver. The makefile is compiled and can be insmod, lsmod, or rmmod. Print Hello world in the
Function Description:Displays the user information currently logged on to the system.
Syntax:W [-fhlsuv] [user name]
Note:When you run this command, you can find out who are currently logged on to the system and the programs they are running. Run
Common Operation Problems and Solutions in Linux
1. Set the self-configured environment variables at startupIn the Linux terminal environment, the Export command can be used to set environment variables, but the variables it sets disappear
This is the font I wrote for rh8. properties, rh8, simsun, And put simusn in/usr/x11r6/lib/X11/fonts/TrueType. You can copy the code to the text editor and save it as font. properties. zh. copy RedHat directly to the Lib in the j2re installation
Count the number of file lines (single file ):
WC-L file
For example:
Homer @ Ubuntu :~ /Workspace/Android/Game $ WC-l main. Java906 main. Java
Count the number of rows of all files in the directory (all directories ):
Find.-Name *. Java | xargs WC-
Use Files
In this section, we will discuss Linux Files And Directories and how to manage them. we will learn how to create, open, read, write, and close a file. we will also learn how programs manage directories (such as creating, scanning, and
Posted th, 2006 by North-South-North
Author:North SouthFrom:Linuxsir. orgAbstract:There are several methods to guide the installation process in Linux, one is to install through loadlin in DOS, and the other is to boot through the Lilo System Boot
1. TCP Wrapper is an access control tool based on tcpd access. It can access most TCP-based services. Generally speaking, it can only implement the acceptance of tcpd management explicitly during compilation.
Their working principle is similar to
I can't remember it every time. I 'd like to take a note here.
Add User
Both useradd and adduser can add users. The difference is:
1. adduser will prompt you to set the password, but useradd will not.
2. adduser creates a user directory. For example,
I. DHCP Overview 1. necessity of using DHCP In TCP/IP networks, before each workstation can access resources on the network, basic network configurations must be performed. Some main parameters, such as IP addresses, subnet masks, and default
Linux Kernel compilation learning notes
Author: laomai
Home: http://blog.csdn.net/laomai
I. experiment environmentAn industrial computer with an optical drive. The RedHat Linux ES3 operating system is installed. Minimum installation,That is, when
I. Rsync Overview
Rsync is a data image backup tool in Unix-like systems. It can be seen from the software name-remotesync. Rsync is a file synchronization and data transmission tool in Linux. It uses the "rsync" algorithm to synchronize files
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