分类: linux
File format not recognized, treating as linker script
问题: 将地平线x3 sdk在windows下解压后,在wsl ubuntu下出现文件软接失效,将解压后文件拷…
Run Alias as Sudo in Linux
使用alias时如果某个指令需要sudo权限,则运行alisas会报这个指令not found,解决方法是 在…
Tips: Linux下文件查找常用命令总结
find 命令主要为对文件的查找以及部分操作 find [路径地址] -name ‘[文件名(支持…
Tips: Ubuntu删除DNS缓存
sudo /etc/init.d/dns-clean start
Linux虚拟视频驱动vivi
/* * Virtual Video driver – This code emulates a real v…
Linux 工业 I/0 子系统
usage-model (from linux kernel)
Linux and the Device Tree The Linux usage model for dev…
linux 内核 platform_match
/** * platform_match – bind platform device to platform…
Linux kernel coding style
Linux kernel coding style This is a short document desc…
error: implicit declaration of function ‘copy_from_user’
编译内核模块出现以下错误: error: implicit declaration of function ‘…
shell脚本运行中自动输入密码
需求:有一个shell脚本autoload.sh 需要运行过程中自动输入密码,而不用手工。 解决方法: 使用管…
使用dmesg 查看linux系统启动信息和处理硬件故障
最近,使用Nvida TX2的时候,USB 和 以太网口识别不了,上网查了一下如何使用dmesg查看内核信息和…
解决 Ubuntu 下 “Encountered a section with no Package header” 或者 “The package lists or status file could not be parsed or opened” 错误
Ubuntu的一个历史bug。
linux下c/c++ 编译器:gcc/g++ vs clang/clang++
以前一直使用gcc/g++,从知乎发现了关于clang的讨论,发现clang的错误提示比gcc好多了,还能兼容…