发布于 2021-08-31
Warning: Invalid argument supplied for foreach() in /www/wwwroot/myblog/wp-content/themes/Sakurairo-2.7.2/tpl/content-thumbcard.php on line 12
摘要
在Linux中我们可以根据任务执行的方式和次数将计划任务分成在某个时间执行一次的固定任务(at),和依照一定的间隔进行多次重复任务 …
发布于 2021-08-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.进程与程序 (1)什么是进程? 当我们在Linux系统中【执行一个程序或一个命令来触发一个事件】时,系统会将这个【事件】定义为 …
发布于 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-16
Warning: Invalid argument supplied for foreach() in /www/wwwroot/myblog/wp-content/themes/Sakurairo-2.7.2/tpl/content-thumbcard.php on line 12
摘要
一.使用SSH代理 本次碰到的问题是我的阿里云服务器想通过git pull拉取更新,但是出现超时拉取失败的情况 失败原因代码:fa …
发布于 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-05
Warning: Invalid argument supplied for foreach() in /www/wwwroot/myblog/wp-content/themes/Sakurairo-2.7.2/tpl/content-thumbcard.php on line 12
摘要
这次机器人的搭建使用的是github上Arondight大佬开源的Adachi-bot项目,项目地址:https://github …
发布于 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)这一项功 …