About Linux Watchdog

/** 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

Problems with reading Windows files in Linux

1 # include 2 # include 3 int main (INT argc, char * argv []) 4 {5 char Buf [1024]; 6 file * FP; 7 file * dst_fp; 8 int I, J; 9 char * line; 10 char file_name [256]; 11 int space_line = 2; 12 INT skip_line = 3; 13 14 for (I = 0; I

View user login information in Linux

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 Linux on Windows is deleted directly, the grub startup screen is displayed.

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

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

Linux Device Model (Basic Principles)

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

Getting started with Linux-development environment Creation

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.

Linux Kernel upgrade LCD Driver replacement (Development Board)

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

Functions of "set-E" in Unix/Linux scripts

-----------------------------------------------------------#! /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

Linux Security Settings

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

Practice of creating a Linux Virtual Disk

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.

Linux Kernel startup Analysis

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

Collect Linux practical commands

  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

Linux gateway Retrieval

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

Linux Process life

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.

Set up a serial port in Linux

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

Add static routes in Linux

Static route modification commands in LinuxMethod 1:Add routeRoute add-net 192.168.0.0/24 GW192.168.0.1Route add-host 192.168.1.1 Dev 192.168.0.1Delete A routeRouteDel-net 192.168.0.0/24 GW 192.168.0.1 Add routeDel Delete route-NetRoute entry to a

Use of VI under Solaris .. Not the same as in Linux

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 │

Linux channel usage

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

Basic Emacs configuration in Linux

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

Total Pages: 5467 1 .... 3530 3531 3532 3533 3534 .... 5467 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.