
ubuntu
文章平均质量分 55
L_jessica7227
这个作者很懒,什么都没留下…
展开
-
解决启动postgresql问题var/run/postgresql/.s.PGSQL.5432
解决启动postgresql问题var/run/postgresql/.s.PGSQL.5432原创 2022-12-05 16:04:44 · 10697 阅读 · 1 评论 -
安装PostgreSQL + 修改数据文件路径
postgreSQL的快速安装上手,以及更改数据文件夹路径原创 2022-07-27 18:40:53 · 2675 阅读 · 2 评论 -
ubuntu pip安装报错 which is not on PATH
首先看一下warnning信息 WARNING: The script normalizer is installed in '/home/llxy/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.配置环境变量gedit ~/.bashrc# 在文件原创 2022-03-21 14:21:21 · 8315 阅读 · 0 评论 -
简易上手的绘图工具--gnuplot--安装+应用
简易上手的绘图工具–gnuplot首先声明,ubuntu20.04的环境,linux版本5.4.0安装就两行,很简单sudo apt-get updatesudo apt-get install gnuplot应用gnuplotset output "test.png"test利用文件绘制把数据存放在 data.dat文件中,如下:#seg freen usedn0 0 8192 1 511 7681 2 189 8003 3 850 7342 4 842 7350原创 2022-03-11 18:01:54 · 1468 阅读 · 0 评论 -
如何在shell命令实现输入文件到main()函数+输出文件
在shell命令行 传文件到c语言中的main函数,函数的运行结果传输到文件中,excel也可以哦~方便画图原创 2022-03-11 17:31:29 · 1647 阅读 · 0 评论 -
use some functions from e2fsprogs
use argmentsWhen we want to use some argments from source program to our program, if the argment define to simple, like “int arg;” you just find and copy them from source program,custom data typeand if the argment have a custom data type such as “ext2_f原创 2022-03-11 16:16:59 · 1435 阅读 · 0 评论 -
linux中用c实现find命令
实现find shellstruct statstruct direntint res = stat(file_path,&st_buf)res == 0;successres != 0;faild,errno为错误信息S_ISDIR(struct stat st_buf)S_ISREG()map<string,int>mymapmymap.countDIR *d_info = opendir()struct dirent pdirent = readdir()原创 2022-02-10 09:48:03 · 1284 阅读 · 0 评论 -
解决ubuntu软件中心无法安装软件的方法
解决ubuntu软件中心无法安装软件的方法当用ubuntu软件下载中心安装某个软件的时比如我安装typora的时候报错“unable to install typora: status-code=409 kind=snap-change-conflict message=snap"typora"has "install-snap"change in progress不用担心,打开终端,查看当前的状态:~$ snap changesID Status Spawn原创 2021-09-24 15:02:58 · 14146 阅读 · 2 评论