![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux
混z
混子一个
展开
-
linux下git的简单使用
参考https://www.bootcss.com/p/git-guide/安装gitsudo apt install git使用git初始化,在你选定的文件夹下运行以下命令git init原创 2021-03-20 17:12:57 · 80 阅读 · 0 评论 -
ubuntu安装并配置ssh服务
ssh服务在Linux操作系统中时常用到,因此有必要知道如何简单配置ssh服务。安装命令:sudo apt-get install openssh-server修改ssh服务配置vi /etc/ssh/sshd_config一般来说ssh自下载起好不能直接使用,需要修改的选项如下:将passwordauthentication后的no改为yes,不改则表示需要公钥登录,改后表示可以使用用户密码登录(可选)允许以root身份登录则将permitrootlogin 后的prohibit-p原创 2021-03-19 22:04:41 · 771 阅读 · 0 评论 -
Linux 进程及进程之间的通信机制——管道
linux 进程简介linux是一个多用户多任务的操作系统原创 2020-11-30 20:57:37 · 162 阅读 · 0 评论 -
linux c 操作Frame Buffer实现基本的图形API(画点、画线、画圆)
#include<stdio.h>#include<stdlib.h>#include<math.h>#include<string.h>#include<unistd.h>#include<fcntl.h>#include<sys/mman.h>#include<sys/ioctl.h>#include<linux/fb.h>#define pi 3.1415926typed原创 2020-11-24 19:59:46 · 2390 阅读 · 1 评论 -
Linux gcc 制作动/静态链接库
gcc 静态链接库以 math.c为例gcc -c math.car rcs libmath.a math.oar命令 将多个文件打包成一个备份文件参数r:用来替换库中已有的目标文件,或加入新的目标文件参数c: 表示创建一个库,不管库是否存在,都将创建参数s:用来创建目标文件的索引,这在创建较大的库时能够提高速度静态链接库制作好之后的使用gcc main.c -lmath -o maingcc 动态链接库以math.c为例gcc -fPIC -c math.c # -fPI原创 2020-11-28 22:57:46 · 185 阅读 · 0 评论 -
kali2020安装中文输入法(切换中文输入法)
修改镜像源(以阿里云为例)。https://mirrors.aliyun.com/kali切换为root,更新系统,然后等待sudo apt-get updatesudo apt-get upgrade安装ibussudo apt-get install ibus进入ibus preference,添加中文输入法修改~/.bashrc文件,加入以下几行,如果没加的话需要手动启动ibus,而且每次启动都会提醒你加的。export GTK_IM_MODULE..原创 2020-11-18 10:39:58 · 7303 阅读 · 2 评论