Shell Command>/dev/null 2> & 1 &
The last symbolProgramRun in the background.
>/Dev/null is used to convert the standard input to null, so that the standard output of the current script is ignored.
2> & 1 is used to connect standard errors to
We often install a lot of software on the computer. If we like surfing, we will inevitably use software communications, including web development and more applications, it is inevitable that you will not be careful when using the port. At this time,
When the RPM package provided in Linux cannot meet the requirements, modification is required.
Source codeCompile and install.
However, the compilation process in Linux is quite slow ~
It took nearly an hour to compile OpenSSL yesterday, mygod ~
The following error occurs when compiling the Linux kernel in ubuntu12.04:
Root @ Ubuntu:/home/liuhui8989/Information # Make menuconfig* ** Unable to find the ncurses libraries or* ** Required header files.* ** 'Make menuconfig' requires the
Touch a file. screenrc to $ home, then copy the following configuration to. screenrc file.
Try the affects by command 'screen ':
> Screen
##~ /. Screenrc # Show time and list of windows within the last linehardstatus onhardstatus
Objective: To Format/dev/sda4 (formerly ext3 file system) on the original server into an ext4 file system.
1. Check the status of the original system: fdisk-l
/Dev/sda4 3253 3259 56227 + 83 Linux
2. Check the original mounting status:
Network Layer attribute configuration for Linux Hosts:
Method 1: Configure related configurations in the graphic interface. Enter the command "system-config-Network-Gui" in the terminal and run it in the background. on this page, you can set the
I told a friend that I have been using LinuxHe asked me why LinuxThe memory used is so high. He told me that the internal free space of 1 GB is mb. Windows XP only uses MB.
Actually, the Linux memory is very informative.The following shows the usage
Watch is a very practical command. Basically all Linux distributions have this tool, just like the name, watchIt can help you monitor the running results of a command, saving you the need to manually run it over and over again.
Directly following
Three methods to temporarily disable a normal account to log on to Linux
1. Modify the password column in/etc/shadow and add an exclamation point (!), With! No! Enabled2. Use the usermod command (enable usermod-L and enable usermod-U)3. Use the
1. Write the driver and makefile
2. Compile the make driver
3. Compiling and compiling applications
4. Use of the driver by the application
A. Mount the driver insmod *. Ko.
B. Obtain the driver device number ls-L/proc/devices.
C. Create a device
From: http://blog.csdn.net/rootsongjc/article/details/7062694
The following is a list of Linux system calls, including most common system calls and functions derived from system calls. This may be the only Linux system call list with Chinese notes
I. Use the iconv function family for encoding and conversionThe header file of the iconv function family is iconv. H, which must be included before use.# Include The iconv function family has three functions. The prototype is as follows:(1) iconv_t
/Etc/Hosts. Allow and hosts. Deny.
Check hosts. Deny first, then check hosts. allow,
The latter can be set beyond the former limit,
For example:
1. restrict all Telnet requests,
Unless it is from 202.115.64.0 -- 127.
Hosts. Deny:
In. telnetd:
1. Start the system
Generally, Lilo is installed on MBR. After the computer is started, the Program on MBR is executed, and a non-pretty figure will appear: A Red Hat image on the left, the operating systems that can be started are listed on the
LINUX serial programming experience
I have just completed a serial port project, and I have a little bit of experience. Let's talk about the experience during this time!
At the beginning, I searched for information on the Internet, which was
Most Linux drivers may have read LDD (Linux Device Driver. From version 1st to version 2nd and 3rd. After all, there are few such books. In the past two years, there have been an increasing number of domestic-developed books, but the number of books
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