
Linux
文章平均质量分 65
amaowolf
这个作者很懒,什么都没留下…
展开
-
Linux相关命令
--------------------------------------[cao@multicore ~]$ cat .exrcset autoindentset number--------------------------------------vi中块文字选择: v,然后用箭头选定, y表示复制,p表示paste-------------------------原创 2011-12-05 10:31:30 · 543 阅读 · 0 评论 -
Cgroup
目录Cgroups是什么?Cgroups可以做什么?Cgroups相关概念及其关系相关概念相互关系Cgroups子系统介绍展开Cgroups是什么? Cgroups是control groups的缩写,是Linux内核提供的一种可以限制、记录、隔离进程组(process groups)所使用的物理资源(如:cpu,memory,IO等等)的机制。最初由转载 2012-11-07 11:17:15 · 872 阅读 · 0 评论 -
Linux cgroup机制分析之框架分析
https://wiki.archlinux.org/index.php/Linux_Containers------------------------------------------ 本文系本站原创,欢迎转载!转载请注明出处:http://ericxiao.cublog.cn/------------------------------------------转载 2012-11-07 11:20:43 · 1141 阅读 · 0 评论 -
dd
打印SEGY数据3200字节文件头: dd if=segy.data bs=3200 count=1 conv=edcdic打印SEGY数据400字节二进制文件头:dd if=segy.data bs=400 skip=8 count=1 conv=swap | od -d说明,conv=swab只能对付两字节的short类型数据转载 2012-10-23 11:26:13 · 1094 阅读 · 0 评论 -
Linux modprobe Command Examples to View, Install, Remove Modules
modprobe utility is used to add loadable modules to the Linux kernel. You can also view and remove modules using modprobe command.Linux maintains /lib/modules/$(uname-r) directory for modules and转载 2012-10-17 17:28:51 · 791 阅读 · 0 评论 -
Update a driver in an initrd file
Update a driver in an initrd fileRecently I found myself wanting to put SUSE Linux Enterprise Desktop 11 SP1 on to machine with a Sandybridge chipset. This was a problem as the e1000e driver in SL转载 2012-10-18 07:45:18 · 665 阅读 · 0 评论 -
demod -a
The driver should have come with an installer script, that copies themodule to the correct directory your runtime kernel is using formodules. If the driver download is nothing but a .ko file, do yo转载 2012-10-17 17:35:13 · 905 阅读 · 0 评论 -
link: hard link vs. symbolic link
一 链接文件 链接有两种方式,软链接和硬链接。 1 软链接文件 软链接又叫符号链接,这个文件包含了另一个文件的路径名。可以是任意文件或目录,可以链接不同文件系统的文件。 链接文件甚至可以链接不存在的文件,这就产生一般称之为"断链"的问题(或曰“现象"),链接文件甚至可以循环链接自己。类似于编程语言中的递归。 用ln -s 命令可以生成一个软连接,如下:转载 2012-10-17 14:33:33 · 753 阅读 · 0 评论 -
modprobe 命令
1、modprobe 命令是根据depmod -a的输出/lib/modules/version/modules.dep来加载全部的所需要模块。2、删除模块的命令是:modprobe -r filename3、系统启动后,正常工作的模块都在/proc/modules文件中列出。使用lsmod命今也可显示相同内容。4、在内核中有一个“Automatic kernel modu转载 2012-10-16 07:21:31 · 4505 阅读 · 0 评论 -
inux添加用户(user)到用户组(group)
将一个用户添加到用户组中,千万不能直接用: usermod -G groupA 这样做会使你离开其他用户组,仅仅做为 这个用户组 groupA 的成员。 应该用 加上 -a 选项: usermod -a -G groupA user-a 代表 append, 也就是 将自己添加到 用户组groupA 中,而不必离开 其他用户组。 命令的所有的选项,及其含义: O转载 2012-10-12 18:06:37 · 847 阅读 · 0 评论 -
Kill -9 Why You Should Not Use It Unless Absolutely Necessary
It has come to my attention that there is a great wave of people out there that think using kill -9 on everything is a great idea. Who are these people and how did they acquire such an insidious habit转载 2012-10-11 13:47:35 · 984 阅读 · 0 评论 -
find
This article lists some of the more useful ways of utilizing the find command.These commands will work on most Linux distributions, and have been tested on recent versions of Fedora.To find a转载 2012-10-11 13:53:20 · 553 阅读 · 0 评论 -
/proc/cpuinfo
此文件提供有关系统CPU的多种信息,是从内核里对CPU的测试代码中得到的。文档列出了CPU的普通型号(386,486,586,686等),连同能得到的更多特定信息(制造商,型号和版本)。文档还包含了以bogomips表示的处理器速度,而且假如检测到CPU的多种特性或bug,文档还会包含相应的标志。在Linux系统中执行命令 cat /proc/cpuinfo,则返回以下CPU信息参数列转载 2012-07-20 08:34:49 · 1121 阅读 · 0 评论 -
Linux下patch的制作和应用
1、diff -------------------- NAME diff - find differences between two files SYNOPSIS diff [options] from-file to-file -------------------- 简 单的说,diff的转载 2012-03-20 17:59:53 · 399 阅读 · 0 评论 -
linux modprobe命令参数及用法详解--linux加载模块命令
modprobe(module probe)功能说明:自动处理可载入模块。语 法:modprobe [-acdlrtvV][--help][模块文件][符号名称 = 符号值]补充说明:modprobe可载入指定的个别模块,或是载入一组相依的模块。modprobe会根据depmod所产生的相依关系,决定要载入哪些模块。若在载入过程中发生错误,在modprobe会卸载整组的模块。转载 2012-03-16 17:56:45 · 718 阅读 · 0 评论 -
linux程序开发入门
前一阵子在QQ上和朋友聊天的时候,总会看到有人说Linux上的应用程序开发是高手才可以完成的,而且这种“迷信”在目前似乎还很普遍。然而,情况并不是这样的,从程序库的支持方面,Linux平台为用户级应用程序的开发提供了很多功能强大且丰富的程序库,而且它们大部分是跨平台的(Boost、OpenGL、STL、Qt、Java等)和基于POSIX标准的(glibc等),同时Linux内核还为驱动程序的开发提转载 2012-03-15 10:29:58 · 677 阅读 · 0 评论 -
How to add a user to a group
This small how-to is to show you how to add users to existing groups, either new or existing users may be added to one or more groups at once.In all examples I will use:user: go2linux groups:转载 2012-11-29 16:24:35 · 877 阅读 · 0 评论