摘要: ubuntu版本:ubuntu-gnome-16.04-desktop-amd64,gnome版 本文主要介绍如何在内核外编译内核模块,即: how to build an out-of-tree kernel module. 1. 代码hello.c #include <linux/module. 阅读全文
posted @ 2022-02-24 15:00 redrobot 阅读(301) 评论(0) 推荐(0) 编辑
摘要: grep -rn '' //单引号 ps -ef | grep hello | grep -v grep grep -E 扩展正则 grep -i 不区分大小写 grep -w 精确匹配 grep -A5 after 后面再加5行 grep -B5 grep -C5 前后 各加5行 alias gr 阅读全文
posted @ 2022-02-24 10:17 redrobot 阅读(33) 评论(0) 推荐(0) 编辑