嵌入式linux基础知识大纲
嵌入式linux基础知识大纲
其实这段时间非常的忙,忙到连做饭吃的时间都没有了。但是今天我特意抽空,来给关注我的朋友们一点点交代。(因为今天发现关注的人还蛮多的,有点受宠若惊啊!哈哈....)如题我暂时只能给大家一些大纲,很详细的学习过程要等大概半个月的时间,我有了空闲时间才能给大家提供)。因为我现在“真没时间”...呵呵O(∩_∩)O~
好了,言归正传。在学习嵌入式linux的学习过程中,需要学习者必须掌握好以下几门必备课程:
《C语言程序设计语言》——重点明白函数指针的概念
《数据结构》——C语言版的
《操作系统原理》——最好是linux操作系统原理
《微机原理》或者《计算机体系结构》——重点在于对芯片的理解
以上的我给大家推荐几本参考书吧!c语言程序设计——谭浩强著,数据结构——严蔚敏著,其他的你就找最新版本的就可以了。
关于C语言编写,请大家在linux环境下实现。
如果以上的东西你都学好了,那么你接下来就开始学习:
《嵌入式系统原理于应用》
先到这里吧!估计够忙活大家一阵子了。
linux的学习最好是安装在物理机上,学习过程中,多注意google,baidu。linux系统最好用最流行的,资源多的。
希望对您有帮助!有问题请留言。
相关文档:
/*
* linux/fs/fcntl.c
*
* (C) 1991 Linus Torvalds
*/
#include <string.h>
#include <errno.h>
#include <linux/sched.h>
#include <linux/kernel.h>
#include <asm/segment.h>
#include <fcntl.h>
#include <sys/stat. ......
/*
* linux/fs/inode.c
*
* (C) 1991 Linus Torvalds
*/
#include <string.h>
#include <sys/stat.h> // 文件状态头文件
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/mm.h>
#include <asm/system.h>
......
Linux文件查找命令find,xargs详述
一、find 命令格式
1、find命令的一般形式为;
find pathname -options [-print -exec -ok ...]
2、find命令的参数;
pathname: find命令所查找的目录路径。例如用.来表示当前目录,用/来表示系统根目录。
-print: find命令将匹配的文件输出到标准输出。
-exec: find命令对 ......
查看系统的磁盘信息:
fdisk -l
[root@localhost home]# fdisk -l
Disk /dev/hda: 8589 MB, 8589934592 bytes
255 heads, 63 sectors/track, 1044 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 979 7759395 ......