1, in your own terminal grub-md5-crypt, in the emergence of passwd: prompt enter your password (note, in Linux input password is not displayed), retype password: enter the password again. Here we will use 123456 for demonstration.[ ZYJ @ Fedora13 ~]
Main directory (that is ~) There are. bash_profile and. bashrc.
. Bash_profile is used by the login shell. It seems to be a pure command line (not a GUI console) and a remote logon shell.
. Bashrc is used by the non-login shell. Generally, the
# Include # include # include # include # include # include int main (INT argc, char * argv []) {If (argc! = 4) {printf ("Please input % S and port \ n", argv [0]); Return 0 ;} int sport = atoi (argv [2]), eport = atoi (argv [3]); int
Ll_re_block () function: This function applies to all kernel Block devices for read/write requests. This function first creates a request item and inserts it into the request queue of the specified block device. The actual read/write operation is to
1. System Log Maintenance
◆ Syslog
This service program is so important that most system maintenance systems will use it, that is, the log files frequently used by network or system administrators. Daemon actually runs two programs: syslogd and
1. The RedHat system profile file contains the following content:
# Path manipulation
If ['id-U' = 0]; then
Pathmunge/sbin
Pathmunge/usr/sbin
Pathmunge/usr/local/sbin
#
(9) Call the decompress_kernel () function of the file Misc. C to decompress the kernel at the end of the cache.(After the R2 address ). The register values are changed as follows:R0 indicates the size of the extracted kernel.R4 is the address when
21 special symbols in Linux1.> redirect output symbols. 2.> the redirection output symbol, but the append function is available. 3. 2> the error redirection output symbol overwrites the content of the original file. 4. 2> error redirection output
The simplest code is Swapon/swap partition, which can be viewed using fdisk-L,
I learned that my swap partition is in/dev/sda12,
Enter Swapon/dev/sda12 in the command line and press Enter.
------------------------------------------------------------
Directory
1. Introduction to grub;
2. Grub version introduction;
3. Grub-related documents:
4. Use grub to guide Linux installation;
4.1 extract the vmlinuz and initrd. imgfiles from the Linux installation disk;
4.2 The installation
Lab environment: VMWare 7.0.0 build-203739
Operating System: Ubuntu 10.10
The ps command is used to display the process information at a certain time point, which is static. If you want to dynamically view the program information running in the
I,W commandThis command is used to display the users logged on to the system. W command is powerful. It not only shows who logged on to the system, but also shows the current work of these users, the statistical data is more detailed and scientific
Introduction: as the theoretical basis, this article describes the basic principles of TCP/IP and important protocol details, and introduces the implementation of TCP/IP on Linux.
OSI reference model and TCP/IP Reference ModelThe Open System
NTFS partitions are supported.
To enable Linux to support the NTFS format, you can compile the kernel, but the simplest method is to install the RPM package that supports NTFS.
Enter uname-A in the terminal to view the kernel version.
Code for
1. Definitions of dma_mask and coherent_dma_mask
In the Linux kernel, platform_device and platform_driver are introduced to facilitate the platform devices and drivers. Under include \ Linux \ platform_device.h:
Struct platform_device {Const char *
I. process switching and hardware context
1. process switching: to control the execution of processes, the kernel must be able to suspend processes running on the CPU and resume a previously suspended process, this capability is called process
1. Description of the camera (webcam) driver;
It is extremely easy to drive a camera on windows. It can be a few mouse clicks at most, so there is no great difficulty. But in Linux, it is a little difficult to drive, which does not mean that Linux
Cgroups is short for control groups. cgroup patches are included in kernel 2.6.32 of rhel6. We strongly recommend that you install rhel6 (centos6) to use cgroups. If not, you can only upgrade the kernel (> 2.6.26)
The following example demonstrates
I. Column file list1. List(GDB) List line1, line2
Ii. Execution ProgramTo run the program to be debugged, run the Run Command, followed by any parameters sent to the program, including standard input and standard output specifiers () and shell
Document directory
Processor types and features -->
This is my first time to fully compile the Linux kernel ...... However, starting from the higher version, many problems in the old kernel have been fixed by developers, but they are easier.
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