hmc 小秘密 -- 也许你知道
更新时间:2023-03-08 05:13:51 阅读量: 综合文库 文档下载
- hmcl推荐度:
- 相关推荐
1 hmc用的是什么shell?hscroot 进入后是一个restricted的shell(什么是restrict的shell我在后面附上bash manual的说明)这个restricted shell是/bin/hmcbash 2 hmc的命令都在/hmcrbin/:/usr/hmcrbin下,hmcrbin下是通用的linux命令,、usrhmcrbin下是hmc的命令,所以只要ls一下这个目录就知道hmc都要那些命令了。
3 restricted shell禁止用/(也就是绝对路径调命令)但是不限制你用cat和ls等其他的命令来查看绝对路径下的文件。所以上面两条都忘了,知道这个第三条就行了。为什么?你自己想想吧。。。
The Restricted Shell If Bash is started with the name rbash, or the`--restricted'option is supplied at invocation, the shell becomes restricted.A restricted shell is used toset up an environment more controlled than the standard shell.A restricted shell behaves identically to bashwith the exception that the following are disallowed:
? ? ? ? ? ? ? ? ? ? ? ?
Changing directories with the cd builtin.
Setting or unsetting the values of the SHELL, PATH,ENV, or BASH_ENV variables. Specifying command names containing slashes.
Specifying a filename containing a slash as an argument to the .builtin command. Specifying a filename containing a slash as an argument to the `-p'option to the hash builtin command.
Importing function definitions from the shell environment at startup.
Parsing the value of SHELLOPTS from the shell environment at startup.
Redirecting output using the `>', `>|', `<>', `>&',`&>', and `>>' redirection operators.
Using the exec builtin to replace the shell with another command.
Adding or deleting builtin commands with the`-f' and `-d' options to the enable builtin.
Specifying the `-p' option to the command builtin.
Turning off restricted mode with `set +r' or `set +o restricted'.
HMC,我一直都是这样用的。
要查什么命令,就“where 关键字”。
要查什么命令,就“where 关键字”
怕你一时大意 搞混淆了吧
比如你要删除当前目录下的usr目录 本来是 rm -rf usr 一不小心写成 rm -rf /usr
正在阅读:
hmc 小秘密 -- 也许你知道03-08
迈达斯civil使用手册07-04
软件项目管理制度v1.104-25
关于赞美老师的诗歌3首03-21
渭南市兴华职业学校建设项目可行性研究报告 - 图文05-15
石油化工安全生产操作规程07-10
智救小鸭子作文400字06-17
【资格考试】2019最新整理-司考经济法和商法试题评析08-07
山西煤销集团工手指口述实施方案06-04
- 多层物业服务方案
- (审判实务)习惯法与少数民族地区民间纠纷解决问题(孙 潋)
- 人教版新课标六年级下册语文全册教案
- 词语打卡
- photoshop实习报告
- 钢结构设计原理综合测试2
- 2014年期末练习题
- 高中数学中的逆向思维解题方法探讨
- 名师原创 全国通用2014-2015学年高二寒假作业 政治(一)Word版
- 北航《建筑结构检测鉴定与加固》在线作业三
- XX县卫生监督所工程建设项目可行性研究报告
- 小学四年级观察作文经典评语
- 浅谈110KV变电站电气一次设计-程泉焱(1)
- 安全员考试题库
- 国家电网公司变电运维管理规定(试行)
- 义务教育课程标准稿征求意见提纲
- 教学秘书面试技巧
- 钢结构工程施工组织设计
- 水利工程概论论文
- 09届九年级数学第四次模拟试卷
- 也许
- 秘密
- 知道
- hmc
- 甲级单位编制PU注塑件项目可行性报告(立项可研+贷款+用地+2013
- 安烨 货币银行学第二版 课后习题答案
- (华师版初中数学教案全)第十章 轴对称
- 初中语文教学中渗透传统文化教育的探究
- 甲级单位编制医疗影象产品项目可行性报告(立项可研+贷款+用地+2
- 甘肃省民乐县第一中学2018-2019学年高二上学期期末考试数学(文
- 材料化学复习题(含答案)【打印】
- ZXONUB-IN-1500用户手册1101(中兴通讯)
- DEH说明书
- 基于Matlab的数字滤波器的设计与仿真
- 二年级暑假拓展练习-灯谜会答案
- 公务员电子政务考试模拟试题
- 新版特种设备目录
- 新教科版科学六年级下册第二单元教案
- 铣断夹具831007说明书
- 单项式导学案
- 临时占用公路、公路用地协议书
- 《现代汉语(二)》答案一
- 银行从业资格考试公司信贷单项选择题(2015-04-04)
- 2016年下半年广西保险经纪人从业:金融与金融市场考试试卷