If eth0 does not exist, the gateway and IP address are not configured.
I am a Linux redhat9 customized version installed on the Virtual Machine vmware workstation, with both a server and a graphical interface.
Graphic Interface
Menu> system
Today, my colleague is preparing to install rpm on The SuSE Cluster 2 + 4 system. However, the script in the spec file in this RPM needs to detect the ifconfig information of the current system. When the system is started, the IP interface is not
I searched the internet and found a lotArticle, Groups displays the user group of the currently logged-on user, and there is no user list of this user group. In practice, you can use the following method to view all users in a user group:
Debian2.6 is installed as a virtual system on the computer.
I have never debugged it in Linux.
ProgramBy the way, start to contact:
In VI, enter
Code: Vi gnm. c
# Include # include # include # include # include # include int main (INT
1. Run as root
2. Enter the bin directory of the installation directory.
3. asadmin create-Service
4. CD/etc/init. d/will find a glassfish_domain1 file.
5. VI glassfish_domain1
6. Press the I key to enter the editing mode. In the second line,
After vsftp is installed
Step 1: create a user post.
Useradd post
Create password post.
Passwd post
Step 2: grant the upload permission to a directory, for example, in/home/post
Chomd 700/home/post
Step 3: allow virtual users to upload files
From: http://blog.chinaunix.net/u/30648/showart_261928.html
Sudo is a tool that allows the system administrator to allow common users to execute some or all of the root commands, such as halt, reboot, and Su. This not only reduces the login and
From http://shundacao.blog.163.com/blog/static/1340404812010102123259108/ (people are also transferred)
The method is:1. Download the PC-side USB driver and write tool for dnw in Linux
Dnw_linux.zip ~)
After the download, change the suffix to. tgz (
Prerequisites: correctly configure the serial port and connect the tq2440 USB download line, and use dnw for installation.
First, start nor flash to enter the USB one-click menu command download mode.
1. Command 9-> Y-> press enter to format
Read () function
The READ function reads data from open devices or files.
#include
ssize_t read(int fd, void *buf, size_t count);
Returned value: the number of bytes read successfully. If an error occurs,-1 is returned and errno is set. If
Go to http://blog.sina.com.cn/s/blog_5f84dc840100n2hb.html//source code sources include # include # include # include # include char buffer [4096]; int main (INT argc, char ** argv ){
Int delay = 1, n, m = 0;
If (argc> 1)
{
I have tested this method myself.
Udev is configured to enable udev to automatically mount the disk after receiving the message from the kernel. First, make sure that your system supports udev, if you have set udev directly, port udev first. The
Many people know that v4l2 can be used to collect camera images on Linux, but v4l2 has more functions. Its main function enables the program to discover devices and operate devices. It mainly uses a series of callback functions to implement these
Explain the output of the free command on Linux.
The following is the free running result. There are 4 rows in total. For convenience, I added the column number. In this way, we can regard the free output as a two-dimensional array fo (free output ).
RS232 is a three-core communication, that is, DB9 2nd pin rxd (receive), 3rd pin txd (send data), 5th pin DG (signal location ).
RS232 is three-core communication, 485 is two-core communication, RS-232 serial line is usually DB9--DB9 serial
Find which files in the directory contain a certain string
Find. | xargs grep-ri "IBM"
Check whether all files in the directory contain a certain string and print only the file name.
Find. | xargs grep-ri "p3_40_16_16/graduation"-l
Grep-LR
1. Locate command.
This command is faster than the find command, because she first created a database that contains all file names and paths in the system, and then only needs to query this database when searching.
An example is as follows:
Bytes --
From the perspective of objective development, both Windows and Linux are successful systems.The biggest comparison in the open-source community was that the Linux kernel is better than windows. This argument suddenly went off, because since we
UNIX/In Linux, you generally want to run a program in the background. Many of them use & at the end of the program to run the program automatically. For example, to run MySql in the background:/Usr/local/MySQL/bin/mysqld_safe -- user = MySQL
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