![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Linux学习
文章平均质量分 55
琰婧
努力学习。
展开
-
mobaXterm
1、mobaXterm远程用root用户打开图形化界面报错,但普通用户不报错:root@lzy-virtual-machine:/opt/Qt5.12.9/Tools/QtCreator/bin# qtcreatorMoTTY X11 proxy: Unsupported authorisation protocolqt.qpa.xcb: could not connect to display localhost:10.0qt.qpa.plugin: Could not load the Qt p原创 2021-12-26 20:29:37 · 653 阅读 · 0 评论 -
ubuntu-安装系统&安装、卸载与切换内核
2 卸载内核查看当前PC下的内核版本uname -r。f410-server@f410server-MS-7C37:~/lzy/usercode$ uname -r4.15.0-142-generic通过dpkg查看自己安装了哪些内核。sudo dpkg --get-selections | grep 'linux'f410-server@f410server-MS-7C37:~/lzy/usercode$ sudo dpkg --get-selections | grep 'li原创 2021-12-02 11:32:54 · 2051 阅读 · 0 评论 -
linux-find、grep和xargs指令
1.find命令按文件名查询:使用参数 -name命令:find 路径 -name “文件名”示例:find /home -name “*.c”按文件类型查询:使用参数 -type命令:find 路径 -type 类型普通文件类型用f表示而不是 -d -> 目录l -> 符号链接b -> 块设备文件c -> 字符设备文件s -> socket文件p -> 管道文件查找指定目录下的普通文件: find 路径 -type f原创 2021-07-16 10:49:45 · 1099 阅读 · 0 评论 -
linux-命令解析器(shell)
shell就是命令解释器命令解析器的作用:对用户输入到终端的命令进行解析,调用对应的执行程序。用户在终端输入命令, 由shell命令解释器对命令进行解析(按照$PATH环境变量搜索命令), 解析成内核能够识别的指令, 然后由内核执行命令, 最后由终端显示命令执行的结果给用户.注意:shell在寻找命令的时候是按照$PATH环境变量去查找的,如果找到了就执行对应的命令,若找不到就报错, 执行echo $PATH可以查看PATH环境变量的值.常用的命令解析器:shell – Bourne S.原创 2021-07-16 10:39:57 · 1668 阅读 · 0 评论