发布于 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
摘要
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 …