10 2020 档案

摘要:‘’ 单引号。在单引号中的特殊符号,比如"$","`" (反引号)都没有特殊的含义。 “” 双引号。在双引号中特殊符号都没有特殊的含义,但是“$”,"`" 和“\” 是例外,拥有“调用变量的值”“引用命令”转义符“的特殊含义。 ``反引号。反引号括起来的内容是系统命令,再bash 中回先执行它,和$ 阅读全文
posted @ 2020-10-26 21:51 正霜霜儿 阅读(287) 评论(0) 推荐(0) 编辑
摘要:[root@localhost etc]# lls && echo yes || echo no bash: lls: command not found... Similar command is: 'ls' no [root@localhost etc]# cd /usr/src [root@l 阅读全文
posted @ 2020-10-26 20:32 正霜霜儿 阅读(130) 评论(0) 推荐(0) 编辑
摘要:1. 命令 >> 文件 2>&1 例子: ls >> abc 2》&1 则abc文件中就是ls 的输出, lll >> abc 2>&1 则abc 中也会有" bash: lll: command not found..."的输出。 2. 命令 &>> 文件 阅读全文
posted @ 2020-10-26 20:19 正霜霜儿 阅读(289) 评论(0) 推荐(0) 编辑
摘要:解压的时候遇到gzip: stdin: unexpected end of file,这表明你下载的文件包没有下载完整,请重新下载然后重新解压 阅读全文
posted @ 2020-10-17 14:54 正霜霜儿 阅读(5744) 评论(0) 推荐(0) 编辑
摘要:[root@localhost ~]# tar -I zstd -xvf libxcrypt-4.4.17-1-x86_64.pkg.tar.zsttar (child): zstd: Cannot exec: No such file or directorytar (child): Error 阅读全文
posted @ 2020-10-17 14:03 正霜霜儿 阅读(3717) 评论(0) 推荐(0) 编辑
摘要:1. check the kernel that has installed in the os : [root@localhost centos]# awk -F\' '$1=="menuentry " {print $2}' /boot/efi/EFI/centos/grub.cfg CentO 阅读全文
posted @ 2020-10-17 10:19 正霜霜儿 阅读(931) 评论(0) 推荐(0) 编辑
摘要:在测试的过程中遇到了/usr/lib64/libm.so.6: version `GLIBC_2.29' not found,于是就是需要安装GLIBC_2.29的包。 过程: 1. 去网站下载: cd /usr/local/ wget http://ftp.gnu.org/gnu/glibc/gl 阅读全文
posted @ 2020-10-13 22:17 正霜霜儿 阅读(62710) 评论(8) 推荐(1) 编辑
摘要:在改完自己的配置文件之后,运行source /etc/profile 的时候总是显示“ -bash: /etc/profile: line 88: syntax error: unexpected end of file ”的问题, 方法——> check profile 文件最后一行是没有什么问题 阅读全文
posted @ 2020-10-13 10:05 正霜霜儿 阅读(3035) 评论(2) 推荐(3) 编辑
摘要:方法一: . /etc/profile 方法二: source /etc/profile PS :方法一中的点后面有一个空格。 方法一和方法二其实是一个意思。 阅读全文
posted @ 2020-10-12 20:53 正霜霜儿 阅读(2038) 评论(0) 推荐(0) 编辑
摘要:机器重启后发现机器show“ warning: shell level (1000) too high, resetting to 1”,回想了一下之前做了哪些操作,在reboot前我对/etc/profile 文件进行了环境变量的改变,当时没有注意到我改完profile后有没有什么问题,提示了我“ 阅读全文
posted @ 2020-10-12 20:33 正霜霜儿 阅读(4456) 评论(0) 推荐(0) 编辑
摘要:在测试的过程中遇到了“ ” https://blog.csdn.net/dumeifang/article/details/2963223 上面的这个比较靠谱一些。 但是我目前的.so 文件都是在/usr/lib64.下,需要的文件可以在网上搜到,我的是在https://archlinux.pkgs 阅读全文
posted @ 2020-10-12 13:36 正霜霜儿 阅读(2986) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示