摘要: 1、目录的权限:r表示可不可以显示目录。w表示能否对目录下档案进行新建、删除、重命名等操作。x表示能否进入该目录,即将该目录变为当前的工作目录。2、linux档案没有所谓的扩展名,linux档案的扩展名只起提示作用(用以表示档案的内容等信息)。3、linux下档案能否被执行与档案的扩展名无关,只要档 阅读全文
posted @ 2017-11-07 10:08 suphgmhh 阅读(171) 评论(0) 推荐(0) 编辑
摘要: 编译命令:gcc -static -o test test.c 出错信息:/usr/bin/ld: cannot find -lccollect2: error: ld returned 1 exit status 原因&解决方法:静态链接需要静态库,系统没有安装静态库导致报错。yum instal 阅读全文
posted @ 2017-11-07 10:05 suphgmhh 阅读(369) 评论(0) 推荐(0) 编辑