码迷,mamicode.com
首页 >  
搜索关键字:unset    ( 646个结果
Linux命令
1.1 10 已知/tmp下已经存在test.txt文件,如何执行命令才能把/mnt/test.txt拷贝到/tmp下覆盖掉/tmp/test.txt,而让系统不提示是否覆盖(root权限下)。#环境准备[root@oldboy ~]# touch /mnt/test.txt /tmp/test.txt[root@oldboy ~]# ls -l /mnt/test.txt /tmp/test.t
分类:系统相关   时间:2018-07-17 23:25:04    阅读次数:254
函数传值
<!DOCTYPE HTML><html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312" /><title>mailto</title></head><body><script type="text/ ...
分类:其他好文   时间:2018-07-14 17:41:46    阅读次数:163
Linux下环境变量设置技巧,不用/etc/profile而是在/etc/profile.d目录下新建特定的shell文件来设置
区别: 1、两个文件都是设置环境变量文件的,/etc/profile是永久性的环境变量,是全局变量,/etc/profile.d/设置所有用户生效,同样是永久变量,是全局变量。 2、/etc/profile.d/比/etc/profile好维护,不想要什么变量直接删除/etc/profile.d/下 ...
分类:系统相关   时间:2018-06-29 01:07:03    阅读次数:395
Linux应急处理操作手册
基础准备 命令防篡改与命令记录 很多黑客入侵到操作系统后,会做两个常见的操作unset history和替换命令文件(或者对应的链接库文件),针对这两点要做好记录shelllog并且检查链接库类文件和命令文件最近有没有改动。 RootkitHunter 症状研判 根据主机异常状态判断异常点 性能资源 ...
分类:系统相关   时间:2018-06-27 12:14:53    阅读次数:214
Linux常见命令功能大全
Linux常见快捷键(6个) ctrl + u:剪贴光标前面ctrl + k:剪贴光标后面ctrl + y:粘贴ctrl + r:查找命令ctrl + insert:复制shift+ insert:粘贴 线上查询及帮助命令(2个) man 查看命令帮助,命令的词典,更复杂的还有info,但不常用。 ... ...
分类:系统相关   时间:2018-06-26 11:12:54    阅读次数:262
实验7 流类库和输入输出
基础练习 (1)课本习题11 7 include using namespace std; int main() { ios_base::fmtflags original_flags = cout.flags(); //保存格式化参数设置 cout include using namespace ...
分类:其他好文   时间:2018-06-21 01:46:42    阅读次数:221
第七次实验
O的K! ...
分类:其他好文   时间:2018-06-21 01:43:53    阅读次数:158
实验7
11-3 11-4 ...
分类:其他好文   时间:2018-06-21 01:42:50    阅读次数:144
实验7
#include<iostream> using namespace std; int main() { ios_base::fmtflags original_flags=cout.flags(); //(猜测) 声明fmtflags 类型变量 original_flags,用此时的输出格式初始化 ...
分类:其他好文   时间:2018-06-21 01:29:33    阅读次数:165
实验7
//11-7 #include using namespace std; int main(){ ios_base::fmtflags original_flags=cout.flags();//保存现有的格式化参数设置 cout #include using namespace std; int ... ...
分类:其他好文   时间:2018-06-21 00:10:48    阅读次数:164
646条   上一页 1 ... 19 20 21 22 23 ... 65 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!