会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
靖意风
CnBlogs
Home
New Post
Contact
Admin
Subscription
上一页
1
···
8
9
10
11
12
2018年11月13日
对线程发送signal
学习对线程 发送 signal
Read More
posted @ 2018-11-13 20:13 靖意风
Views(769)
Comments(0)
Diggs(0)
2018年11月12日
ubuntu14.04下开启ssh服务
1. 安装 sudo apt-get update sudo apt-get install openssh-server 2.开启服务 查看查看ssh服务是否启动 打开"终端窗口",输入"sudo ps -e |grep ssh"-->回车-->有sshd,说明ssh服务已经启动. 如果没有启动,
Read More
posted @ 2018-11-12 19:40 靖意风
Views(3153)
Comments(0)
Diggs(0)
安装 Samba服务
参考摘录的是博客园的文章:https://www.cnblogs.com/zhaopengcheng/p/5481048.html ubuntu系统:16.04 1. 首先用管理员权限创建一个新用户,按照提示设置password以及其它 sudo adduser wwj 然后在可查看 /etc/pa
Read More
posted @ 2018-11-12 19:38 靖意风
Views(183)
Comments(0)
Diggs(0)
fopen 的使用
1, fopen() 的使用,在linux环境下,我们可以使用man fopen查看使用说明: #include <stdio.h> FILE *fopen(const char *path, const char *mode); path 是指文件路径。 mode 含义如下: r 只读方式打开一个
Read More
posted @ 2018-11-12 18:29 靖意风
Views(653)
Comments(0)
Diggs(0)
linux内核态和用户态的信号量
在Linux的内核态和用户态都有信号量,使用也不同,简单记录一下。 1> 内核信号量,由内核控制路径使用。 内核信号量是struct semaphore类型的对象,它在<asm/semaphore.h>中定义 struct semaphore { atomic_t count; int sleepe
Read More
posted @ 2018-11-12 18:23 靖意风
Views(992)
Comments(0)
Diggs(0)
shell下的几个命令
参考博客: https://www.cnblogs.com/-zyj/p/5760484.html 1. 批量删除筛选的文件夹 ls -l | grep ^d | xargs rm -rf 批量mv一批文件到 某个文件夹下 find ./* -type f -name "*.c" | xargs -
Read More
posted @ 2018-11-12 18:12 靖意风
Views(163)
Comments(0)
Diggs(0)
2018年11月2日
学习UDP
参考博客:https://www.cnblogs.com/skyfsm/p/6287787.html 简单编写了 udp的小程序,udp_client 端通过终端输入字符,然后发送给udp_server。udp_server 接收到后,给udp_client一个响应。 //socket udp 客户
Read More
posted @ 2018-11-02 10:43 靖意风
Views(340)
Comments(0)
Diggs(0)
2015年8月19日
SVN 使用的简单整理
1. 在SVN服务器上创建存储Dir,并和个人主机建立联系。 现在SVN服务器上创建一个存储文件夹svn_storeDir.然后在个人电脑上建立一个本地文件夹local_Dir. 进入到local_Dir文件夹下,使用svn软件的checkOut功能,将svn_storeDir的内容检出到本地文件夹
Read More
posted @ 2015-08-19 15:06 靖意风
Views(248)
Comments(0)
Diggs(0)
上一页
1
···
8
9
10
11
12
公告