Obtain hard disk space:
# Include # include ... { struct statfs Buf; long lfreespacesize; /*********************************** * ************* * enought space on flash for update application? ************************************ * *********
Linux driver manual loading insmod manual uninstall rmmod
Test Environment fedora10
Linux Device Driver Version 3:
/*************************************** ******/
Hello. c
# Include # Include
Module_license ("dual BSD/GPL ")
Grouping users is a way to manage users and control access permissions in Linux. Each user belongs to a user group. A group can contain multiple users, and a user can belong to different groups.
=== Explanation/etc/group file ===
Command: More/etc/
IFUP-Start a preconfigured net interface.
Ifdown-Stop A (preconfigured) net interface.
Ifstatus-Show the state of a (preconfigured) net interface.
Ifrenew-Renews the DHCP lease on a net interface.
Ifprobe-Checks if the configuration for the
FIFO, Also knownNamed PipeIt is a mechanism for inter-process communication in Linux (UNIX environment) and is widely used.
FunctionMkfifoUsed to create a named pipe and use commandsMAN 3 mkfifoYou can view the function information.
After a FIFO
/** Yao. guet* Http://blog.csdn.net/Yao_GUET* A Simple Virtual Platform driver in Linux*/
In Linux, if a device does not belong to any bus, you can register it as a virtual platform device.
The following describes how to create a simple platform
1. Install the vsftpd ServerVsftpd is currently one of the best FTP server tools in Linux. Among them, VS is short for "very secure" (very secure). It can be seen that its biggest advantage is security. In addition, it also has the advantages of
Http://mirrors.cn99.com/.help/ubuntu.html
Take precise (12.04) as an example. Edit the/etc/APT/sources. list file and add the following entries at the beginning of the file (back up the files before the operation)
deb
First, we need to use another ps command in Linux to find the process-related PID Number: PS aux | grep program_filter_word
Ps a shows all programs under the current terminal, including those of other users.PS-A shows all programs.When listing
Linux Kernel upgrade
An important feature of Linux is its open source code. Any software engineer in the world can add code that he thinks is excellent, one obvious benefit of this is the fast fixing of Linux vulnerabilities and the use of the
Suddenly, from the Windows world to the Linux World, it may be a little uncomfortable at the beginning. Slowly, you may find that Linux is profound and profound, and most importantly, many things in the Linux World are free license, next, let's list
Use Yum install Java
Yum install JDK
The Java environment is installed.
Use a text editor to write a Java program for verification and save it in the/search/bin directory. File Name: helloworld. java. Enter the following content:Public class
Linux OS classifies the operating environment into the following seven levels:
0: boot (please do not switch to this level)1: text interface in Single User Mode2: multi-user text interface, does not have the Network File System (NFS) Function3:
In Linux, Snort is a free lightweight network intrusion detection system based on Libpcap. It supports cross-System Platform operations and comes with a lightweight intrusion detection tool that can be used to monitor small TCP/IP networks. During
From: http://hi.baidu.com/dog_freedom/blog/item/94744f1337026c59f819b843.html
Smartmontools for SCSI hard drive: http://smartmontools.sourceforge.net/smartmontools_scsi.html
Smartctl command parameter list:
The following options are currently
I learned the application of the Cluster two days ago. To sum it up, the cluster is not very difficult to understand. As long as I master its principles, it is not very difficult to implement it. Next, let's take a simple look at the
Now that we understand the functions of these files and directories, let's look back at the flowchart:
1. linux boot starts from post power-on self-check. When the self-check is completed, read the first 0th bytes in the first 446 heads of the
# Show your mercy... If you step on me, please tell me the reason. (2) You just sent it up for 10 times in the morning...
# Build your own dedicated Linux (2) link http://blog.csdn.net/deansrk/article/details/6664558
It's almost a month since I
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