yyyyyyyyyyyyyyyyyyyy

博客园 首页 新随笔 联系 订阅 管理

2015年6月10日 #

摘要: Linux中.a,.la,.o,.so文件的意义和编程实现 Linux下文件的类型是不依赖于其后缀名的,但一般来讲: .o,是目标文件,相当于windows中的.obj文件 .so 为共享库,是shared object,用于动态连接的,和dll差不多 .a为静态库,是好多个.o合在一起,用于静态连... 阅读全文
posted @ 2015-06-10 23:14 xxxxxxxx1x2xxxxxxx 阅读(313) 评论(0) 推荐(0)

摘要: man, info, help, date, hwclock, cal, shutdown, reboot, halt, poweroff, type, cd, which, dirname, basename, who, which, whatis, makewhatis, echo, hash,... 阅读全文
posted @ 2015-06-10 00:47 xxxxxxxx1x2xxxxxxx 阅读(121) 评论(0) 推荐(0)

摘要: tail FILE -n 4,查看文件最后4行内容head FILE -n 10,查看文件最前4行内容使用cat more less都可以查看文本内容,但是它们三者有什么区别呢?more和less的功能完全重复吗?以下是我个人的总结,欢迎大家一起来分享cat 连续显示、查看文件内容more ... 阅读全文
posted @ 2015-06-10 00:32 xxxxxxxx1x2xxxxxxx 阅读(330) 评论(0) 推荐(0)

摘要: centos6.5/centos7系统中,alias定义在/etc/bashrc,分别写在/etc/profile.d/*.sh中,可以在此目录添加my.sh,或者~/.bashrc,或者~/.bash_profile alias cp='cp -i'alias ll='ls -l --color= 阅读全文
posted @ 2015-06-10 00:17 xxxxxxxx1x2xxxxxxx 阅读(1461) 评论(0) 推荐(0)