发布于 2021-08-19
Warning: Invalid argument supplied for foreach() in /www/wwwroot/myblog/wp-content/themes/Sakurairo-2.7.2/tpl/content-thumbcard.php on line 12
摘要
1.Linux的帐号与用户组 (1)用户标识符:UID与GID 每当我们登陆一个Linux系统时,我们会至少获得两个ID,分别是U …
发布于 2021-08-13
Warning: Invalid argument supplied for foreach() in /www/wwwroot/myblog/wp-content/themes/Sakurairo-2.7.2/tpl/content-thumbcard.php on line 12
摘要
1.脚本中的测试判断式 在shell脚本中,我们除了使用【$?】这一变量的返回值进行判断以外,还有【test】和中括号【[]】这两 …
发布于 2021-08-13
Warning: Invalid argument supplied for foreach() in /www/wwwroot/myblog/wp-content/themes/Sakurairo-2.7.2/tpl/content-thumbcard.php on line 12
摘要
1.什么是shell脚本? shell脚本(script)用我自己理解来表达的话就是:一个写入了多个shell命令然后通过搭配一些 …
发布于 2021-08-09
Warning: Invalid argument supplied for foreach() in /www/wwwroot/myblog/wp-content/themes/Sakurairo-2.7.2/tpl/content-thumbcard.php on line 12
摘要
本次搭建的hoshino-bot来源至Ice-Cirno大佬在github上的HoshinoBOT项目,QQ使用的Go-cqhtt …
发布于 2021-08-09
Warning: Invalid argument supplied for foreach() in /www/wwwroot/myblog/wp-content/themes/Sakurairo-2.7.2/tpl/content-thumbcard.php on line 12
摘要
1.正则表达式 (1)什么是正则表达式? 我们通过上一节的学习,了解了BASH中通配符的用法,在这一节中,我们将要学习正则表达式的 …
发布于 2021-08-04
Warning: Invalid argument supplied for foreach() in /www/wwwroot/myblog/wp-content/themes/Sakurairo-2.7.2/tpl/content-thumbcard.php on line 12
摘要
1.命令别名(alias)及历史命令(history) (1)alias命令别名 在BASH中,存在命令别名(alias)这一项功 …
发布于 2021-07-25
Warning: Invalid argument supplied for foreach() in /www/wwwroot/myblog/wp-content/themes/Sakurairo-2.7.2/tpl/content-thumbcard.php on line 12
摘要
1.了解BASH (1)何为Shell? 要了解shell(壳)之前,我们需要弄明白人与电脑(机器)之间是如何进行沟通的。 首先, …
发布于 2021-07-24
Warning: Invalid argument supplied for foreach() in /www/wwwroot/myblog/wp-content/themes/Sakurairo-2.7.2/tpl/content-thumbcard.php on line 12
摘要
1.vim的使用模式 vim具有三种使用模式,初始模式为一般命令模式,然后可以通过按键进入编辑模式和命令行模式。 (1)一般命令模 …
发布于 2021-07-20
Warning: Invalid argument supplied for foreach() in /www/wwwroot/myblog/wp-content/themes/Sakurairo-2.7.2/tpl/content-thumbcard.php on line 12
摘要
1.了解文件系统 (1)概念 一个操作系统用于明确存储设备或分区上的文件的方法和数据结构,也就是在储存设备上组织文件的方法。win …
发布于 2021-07-18
Warning: Invalid argument supplied for foreach() in /www/wwwroot/myblog/wp-content/themes/Sakurairo-2.7.2/tpl/content-thumbcard.php on line 12
摘要
1.文件内容查看 当想查看文件的具体内容时,有多个命令可选。 (1)‘’cat‘’命令:全文查看 命令格式:cat 【-optio …
发布于 2021-07-18
Warning: Invalid argument supplied for foreach() in /www/wwwroot/myblog/wp-content/themes/Sakurairo-2.7.2/tpl/content-thumbcard.php on line 12
摘要
1.绝对路径及相对路径的用途 路径:变量PATH (1)绝对路径 在对文件名的正确性方面,绝对路径的正确性会比较高,特别是在使用程 …
发布于 2021-07-07
Warning: Invalid argument supplied for foreach() in /www/wwwroot/myblog/wp-content/themes/Sakurairo-2.7.2/tpl/content-thumbcard.php on line 12
摘要
1.linux文件种类 文件属性中的第一个字符,标识了linux的文件种类。 (1)“-”字符 代表“文件” (2)“d”字符 代 …
发布于 2021-07-07
Warning: Invalid argument supplied for foreach() in /www/wwwroot/myblog/wp-content/themes/Sakurairo-2.7.2/tpl/content-thumbcard.php on line 12
摘要
1.用户(user)、用户组(user groups)及其他人(others) (1)用户(user) 在linux系统中,用户即 …
发布于 2021-07-07
Warning: Invalid argument supplied for foreach() in /www/wwwroot/myblog/wp-content/themes/Sakurairo-2.7.2/tpl/content-thumbcard.php on line 12
摘要
1.一条命令的组成 命令 【-option选项】(-后面跟简写的选项 –后面跟完整的参数) 【参数1】 【参数2】(空格用来区分 …