Linux
u013445609
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Linux系统TCP传输文件示例
客户端代码 #include <stdio.h> #include <stdlib.h> #include <string.h> #include <errno.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <unistd.h> i原创 2020-11-12 18:37:15 · 235 阅读 · 0 评论 -
Linux清理缓存命令
sudo apt-get autoclean 清理旧版本的软件缓存 sudo apt-get clean 清理所有软件缓存 sudo apt-get autoremove --purge 删除系统不再使用的孤立软件 dpkg -l |grep ^rc|awk '{print $2}' |sudo xargs dpkg -P purge 清除残余的配置文件 dpkg --get-selec原创 2018-01-25 10:58:06 · 1747 阅读 · 0 评论 -
petalinux常用命令
配置环境变量启动petalinux source /home/userroot/os/petalinux/settings.sh 基于bsp文件创建 petalinux-create -t project -s xilinx-zc706-v2017.4-final.bsp -n myproject 从零开始创建项目 petalinux-create -t project --tem...原创 2018-09-06 18:01:20 · 4727 阅读 · 0 评论 -
Linux命令
查看默认shell,选择“否”切换bash ls -l /bin/sh sudo dpkg-reconfigure dash 查看WiFi/网络账号密码 cd /etc/NetworkManager/system-connections原创 2018-09-06 18:04:04 · 225 阅读 · 0 评论 -
Linux系统下C语言线程
先上代码 /* * gcc multiple_thread.c -lpthread -o multiple_thread */ #include <stdio.h> #include <pthread.h> #include <unistd.h> #include <signal.h> #include <sys/param.h> ...原创 2018-10-02 14:50:33 · 331 阅读 · 0 评论 -
Linux系统C语言计时
#include <stdio.h> #include <sys/time.h> #include <math.h> #include <time.h> void do_func(){ int k; for(int i=0;i<1000;i++) for(int j=0;j<1000;j++) ...原创 2018-10-08 18:33:44 · 1891 阅读 · 2 评论
分享