hmc 小秘密 -- 也许你知道
更新时间:2025-03-16 01:44:01 阅读量: 综合文库 文档下载
- 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-16
2016年苏教版四年级数学上册第二单元试卷B卷拓展延伸02-06
《高级财务会计》第03章在线测试04-26
2012年辽宁省普通高中学生学业水平考试前测试数学参考答案05-30
比尾巴教案03-08
991数据结构与C语言程序设计考试大纲(2008版)05-17
土壤酶活性测定方法05-04
《惊弓之鸟》说课稿_6105-25
江西电大《公共关系学》阶段性测验0111-30
五子登科08-20
- 天大砼方案 - 图文
- 农业科技网络书屋能力提升_玉米错题选
- DNS习题
- 浅议检察官对罪犯谈话的技巧与效果
- 高考语文文言文翻译专题训练
- AB类学科竞赛目录(2015)
- 建筑面积计算新规定(2015最新)
- Revit2012初级工程师题集一
- 十三五项目米线可行性报告
- 2013体育学院党组织建设工作总结
- 2014Revit工程师题库
- 高中数学如何实施研究性学习
- 茶艺表演 中英互译
- 小学音乐湘文艺版 四年级下册 第十一课《(歌表演)脚印》优质课公
- 山西省农村合作经济承包合同管理条例
- 2015年镇江市中考化学一模试题参考答案及评分标准(定稿)
- 统计 题集
- 批评意见清单
- 8潞安集团蒲县黑龙关煤矿矿业公司2
- 鄂教版四年级语文上册复习精要(光谷四小)
- 也许
- 秘密
- 知道
- hmc
- 甲级单位编制PU注塑件项目可行性报告(立项可研+贷款+用地+2013
- 安烨 货币银行学第二版 课后习题答案
- (华师版初中数学教案全)第十章 轴对称
- 初中语文教学中渗透传统文化教育的探究
- 甲级单位编制医疗影象产品项目可行性报告(立项可研+贷款+用地+2
- 甘肃省民乐县第一中学2018-2019学年高二上学期期末考试数学(文
- 材料化学复习题(含答案)【打印】
- ZXONUB-IN-1500用户手册1101(中兴通讯)
- DEH说明书
- 基于Matlab的数字滤波器的设计与仿真
- 二年级暑假拓展练习-灯谜会答案
- 公务员电子政务考试模拟试题
- 新版特种设备目录
- 新教科版科学六年级下册第二单元教案
- 铣断夹具831007说明书
- 单项式导学案
- 临时占用公路、公路用地协议书
- 《现代汉语(二)》答案一
- 银行从业资格考试公司信贷单项选择题(2015-04-04)
- 2016年下半年广西保险经纪人从业:金融与金融市场考试试卷