/** Watchdog usage. * Author: serval li * Date: Jun 27th, 2012 **/# include # include # include # include # include # include # include # include # include # include # include int main (void) {int FD; int timeout, flag; char cmd [256]; If
W command
Directly run the W command to list all users logged on to the current system and their details, such as user, login @, and from ), and how to log on (what)
The WHO command can also be viewed, but there is no such detailed information.
After I try centos on windows, I will format centos directly. The grub startup screen will appear on the startup system. There are two solutions.
1: fdisk/MBR can be used to repair MBR in DOS environment.
2: If there is no DOS disk, run the
ARM Linux kernel Startup Process
Let's take a look at the process of generating vmlinux from the compilation link, which is composed of a lot of. o file links. The first one isKernel/ARCH/ARM/kernel/head-armv.o, and we also seeLDS link file
LinuxDevice Model (Basic Principles)
According to ldd3, the Linux device model can be considered as an advanced textbook, which is unnecessary for most program authors. But I personally think: For an embedded Linux underlying programmer, this part
Document directory
I. Overview
LinuxGetting started
Keywords
LinuxDevelopment Environment
OverviewDescription
This article is an entry-level document for Linux development. It describes how to establish and compile the environment.
I.
Document directory
I. Overview
LinuxKernel upgradeLCDDriver replacement (Development Board)
Keywords
Kernel upgrade, Change driver, LCD
OverviewDescription
This document describes how to add an existing LCD driver to a new Linux
-----------------------------------------------------------#! /Bin/bash
Set-e
Command 1Command 2...
Exit 0----------------------------------------------------------
Every script you write shoshould include set-E at the top. this tells bash that it
This article describes how to set in Linux to make your Linux system more secure.1. You must set the BIOS password to prevent others from entering your system by modifying the first boot device (such as the boot disk. 2. set the password of the
Document directory
I. Overview
LinuxPractice of creating a virtual disk
Keywords
Ramdisk VFSVirtual Disk busybox
OverviewDescription
How to Use busybox to create a Linux Virtual Disk and how to integrate the andoid Virtual Disk
I.
Document directory
1. kernel startup address
2. kernel Startup Process Analysis
Linux Kernel startup Analysis1. kernel startup address 1.1. Glossary
Ztextaddr
Extract the start address of the Code. There is no physical address or virtual
Help man
There may be multiple man pages.
If passwd has two man pages:/Usr/share/man/Man1/passwd.1And/Usr/share/man/man5/passwd.5
Man passwd displays the first one by default./Usr/share/man/Man1/passwd.1
MAN 5 passwd will display/Usr/share/man/man5
Use commands
Route command to obtain the route table
As follows:
> Route
Kernel IP routing tableDestination gateway genmask flags metric ref use iface10.70.0.0*255.255.0.0 u 0 0 0 eth0169.254.0.0*255.255.0.0 u 0 0 0 eth0Default 10.70.10.252 0.0.0.0
With a fork statement, a new process is born, but it is only a clone of the old process.
Then, with exec, the new process was reborn and independent from home, and started a career serving the people.
A person is dead, and the process is the same.
In some cases, you need to configure the serial port console for Linux for debugging purposes, or if Linux does not have a video card at all, you also need to configure the serial port terminal. One serial port console will send all terminalsThe
1. Insert text┌ ── ┬ ── ─ ┐│ Command │ description │├ ── ┼ ── ─ ┤│ I │ insert text before the current character │├ ── ┼ ── ─ ┤│ I │ insert text at the beginning of the line │├ ── ┼ ── ─ ┤│ A │ add text after the current character │├ ── ┼ ── ─ ┤│ A │
The use of channels is important in Linux systems. channels are similar to the connectors between different commands, which greatly facilitates the expansion of system functions. Below we will briefly introduce several examples of channel usage and
It is really difficult to get started with Emacs. After the two days of use, we will summarize the following:
1: Install. Run the sudo apt-Get install Emacs command in Ubuntu. I am using Ubuntu 10.04 and use two sources that are said to be 163.
1.1
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