
Linux
博观而约取,厚积而薄发
这个作者很懒,什么都没留下…
展开
-
ubuntu dlib的cpu编译
【代码】ubuntu dlib的cpu编译。原创 2024-07-05 14:29:37 · 209 阅读 · 0 评论 -
关于向Linux上传文件状态错误问题
原因是传向的目录权限不够应该修改权限# chown -R hadoop:hadoop /opt/modules/ /opt/software/注意如果已经修改 /etc/sudoers 文件#意味着提醒你要在执行命令前面加sudo,如果没有就要在root下执行...原创 2018-05-13 20:25:54 · 5483 阅读 · 0 评论 -
编写Liunx环境下的多线程程序
pthread_create函数int pthread_create((thread_t *thread,constpthread_attr_t*attr,void*(*start_routine)(void *), void *arg)需要头文件#include <pthread.h>功能:创建线程(实际上就是确定调用该线程函数的入口),在线程创建后...原创 2019-02-27 23:01:22 · 187 阅读 · 0 评论 -
Linux笔记 系统目录结构
/bin bin是二进制缩写,存放常用命令/boot 启动Linux时使用的一些核心文件,包括一些链接文件以及镜像文件/dev存放外部设备,Linux中访问外部设备的方式和访问文件的方式一样/etc目录用来存放所有的系统管理所需的配置文件和子目录/home用户主目录/lib 存放系统中最基本的动态链接共享库,类似DLL/lost+found 当系统非法关机后,这里会存放一些文件/me...原创 2018-04-26 09:56:15 · 178 阅读 · 0 评论 -
linux学习笔记 关机
shutdown -h now 立马关机shutdown -h 20:25系统会在今天20:25关机shutdown -h +10十分钟后机shutdown -r now系统立马重启shutdown -r +10系统十分钟后重启reboot ==shutdown -r nowhalt ==shutdown -h now ==poweroff...原创 2018-04-26 09:26:24 · 171 阅读 · 0 评论