
history -c 多安几次
[root@redhat script]# history -c
[root@redhat script]# history
50 history
[root@redhat script]#
我迟察大的没悉就码竖没有啊。
你可以在超级用户 # 下面,输隐裤入:set history=0(我由于很久未使用Linux系统的
C-Shell 功能了,到底是否有 = 号,你闭携配自己试一下即可),即:
#set history=0(或者是:set history 0)
#history
这样就不会遗留下来 history -c 这条轿指命令了。
选择题
1 C
2 B
3 A
4 B
5 A
6 A
7 D
8 B
9 B
10 A
11 C
12 D
13 A
14 A
15 D
16 我看不出正确答案 都是错的 正确的应该是 mount /dev/hdc /mnt/cdrom 卸载 unmount /mnt/纯迹cdrom
17 B
18 B(让岁chmod 764 exer1 才对 但是其它的答案肯定是错做滑并的)
19 D
20 B
就在自己的/home/xxxx/.bash_history文件里,手工删除就是了
不会的. 你局陪试下. 你实际操作一下, 我刚刚执行了一下. 不会留闷腊芦下history -c这条命令 完了之后, 向上键没有历史命令. 可放心使用.
信不信由你, 实际操作一下就知道. 呵呵..
exp:
[root@server wwwroot]# shistory -c
-bash: shistory: command not found
[root@server wwwroot]# history -c
[root@server wwwroot]#
ps: 刚才没看到 #小米飞猫 # 的回复. 英雄所见略蚂带同.. 哈.