易截截图软件、单文件、免安装、纯绿色、仅160KB

转载:写得蛮好的linux学习笔记


linux目录架构
/   根目录
/bin    常用的命令
binary file 的目錄
/boot   存放系统启动时必须读取的档案,包括核心
(kernel) 在内
     /boot/grub/menu.lst   GRUB设置
     /boot/vmlinuz   内核
     /boot/initrd     核心解壓縮所需
RAM Disk
/dev    系统周边设备
    
/etc    系统相关设定文件
     /etc/DIR_COLORS   设定颜色
     /etc/HOSTNAME   设定用户的节点名
     /etc/NETWORKING   只有
YES标明网络存在
     /etc/host.conf 文件说明用户的系统如何查询节点名
     /etc/hosts 设定用户自已的
IP与名字的对应表
     /etc/hosts.allow 设置允许使用
inetd的机器使用

     /etc/hosts.deny 设置不允许使用
inetd的机器使用
     /etc/hosts.equiv 设置远端机不用密码
     /etc/inetd.conf 设定系统网络守护进程
inetd的配置
     /etc/gateways 设定路由器
     /etc/protocols 设定系统支持的协议
     /etc/named.boot 设定本机为名字服务器的配置文件
     /etc/sysconfig/network-scripts/ifcfg-eth0   设置
IP
     /etc/resolv.conf    设置
DNS 
     /etc/X11  X Window的配置文件
,xorg.conf 或
XF86Config 這兩個
X Server 的設定檔
     /etc/fstab    记录开机要
mount的文件系统
     /etc/inittab 设定系统启动时
init进程将把系统设置成什么样的
runlevel
     /etc/issue 记录用户登录前显示的信息
     /etc/group 设定用户的组名与相关信息
     /etc/passwd 帐号信息
  &n


相关文档:

实战Linux Bluetooth编程(六) L2CAP编程实例

例一:发送Signaling Packet:
Signaling Command是2个Bluetooth实体之间的L2CAP层命令传输。所以得Signaling Command使用CID 0x0001.
多个Command可以在一个C-frame(control frame)中发送。
 如果要直接发送Signaling Command.需要建立SOCK_RAW类型的L2CAP连接Socket。这样才有机会自己填充Command Code,Identi ......

linux patch 的一点用法

也许只是我一个人比较笨,每次碰到bug,虽然有人给出补丁(patch),但是却不知道怎么使用。Manual Page ( man patch
)也只给出 patch -p(num)
<patchfile这样的用法,具体也不知道怎样确定num,如果你也有这样的疑惑,请继续阅读:
建立patch文件:
diff -Naur olddir newdir > new-patch
- or -
diff -Naur ol ......

linux 修改 服务器名称

 [root@proxyo ~]#
而我要将中间的proxyo改成search
1. vi /etc/hosts
[root@proxyo ~]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1              ......

linux下获取用户基本信息


通过c语言基础库从获取linux用户的基本信息。
1、使用struct passwd管理用户信息。
struct passwd
{
  char *pw_name;                /* 用户登录名    */
  char *pw_passwd;      ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号