条件判断if格式:if条件;then内容elif条件;then内容else内容ficase格式:case变量引用inPAT1}内容;;PAT2)内容;;....*)内容;;esacshell配置文件读取顺序交互式登录:/etc/profile-->/etc/profile.d/.sh-->~/.bash_profile-->~/.bashrc-->/etc/bashrc非交
分类:
系统相关 时间:
2019-01-02 22:14:28
阅读次数:
236
linux下一切皆文件,在登录时也会跟随登录读取很多配置文件。在介绍读取顺序前先来了解一些信息。用户登录的Shell类型登录式Shell正常通过某终端登录su-USERNAMEsu-lUSERNAME非登录式Shell以下方式的ShellsuUSERNAME图形化终端打开的终端窗口自动执行的Shell脚本Bash的配置文件..
分类:
系统相关 时间:
2016-12-16 19:58:24
阅读次数:
202
作者:zhanhailiang 日期:2014-11-03
git包含三个配置文件:
/etc/gitconfig 文件:系统中对所有用户都普遍适用的配置。若使用git config 时用' –system'选项,读写的就是这个文件。
~/.gitconfig 文件:用户目录下的配置文件只适用于该用户。若使用git config 时用' –global'选项,读写的就是这个文...
分类:
其他好文 时间:
2014-11-03 22:38:34
阅读次数:
403
启动进程的参数 TheMySQLservermaintainsmanysystemvariablesthatindicatehowitisconfigured.Eachsystemvariablehasadefaultvalue.Systemvariablescanbesetatserverstartupusingoptionsonthecommandlineorinanoptionfile.Mostofthemcanbechangeddynamicallywhiletheserverisrun..
分类:
数据库 时间:
2014-07-22 18:24:02
阅读次数:
300
struts2 配置文件读取顺序 1. struts-default.xml 2. struts-plugin.xml 【 struts2-json-plugin-2.3.4.jar 】 4. struts.xml 5. struts.properties...
分类:
其他好文 时间:
2014-07-18 08:08:25
阅读次数:
235