# tar -zxvf aaa.tar.gztar: This does not look like a tar archivetar: Skipping to next headertar: Error exit delayed from previous errors解决办法# gzip -d ...
分类:
其他好文 时间:
2014-09-23 18:58:25
阅读次数:
230
#!/usr/bin/expectset timeout 60if {$argc != 3} { send "usage followed by src,dst,password" exit}set src [lindex $argv 0]set dst [lindex ...
分类:
其他好文 时间:
2014-09-22 18:46:22
阅读次数:
186
很久没有接触linux了,很多命令也忘记了,现在自己独立安装一个linux,独立安装LAMP,让自己记录下来这段。怎么进入命令行 init 3, 回到桌面 init 5在不是root用户情况下,切换用户使用 su ,如果是root用户,不能使用 su 切换用户,能用 login 或者 exit 退出...
分类:
系统相关 时间:
2014-09-22 02:07:41
阅读次数:
246
装完系统后的第一件事情就是将系统更新。1、使用yum命令进行更新yum update2、su 命令是最基本的命令之一,常用于不同用户间切换, exit 退出当前用户。3、ls命令跟dos下的dir命令一样,用于显示当前目录的内容。如果想取得详细的信息,可用ls-l命令,这样就可以显示目录内容的详细....
分类:
其他好文 时间:
2014-09-20 20:15:09
阅读次数:
169
经常用这三个命令 到如今才弄清一二 ctrl +c ?中断当前程序执行 ctrl +d 类似于 EOF end of file end of input ,相当于输入exit man + command? ^C
[devtac@test_1?~]$?man?ls
LS(1)???????????...
分类:
系统相关 时间:
2014-09-19 19:48:36
阅读次数:
274
1.进程终止
有八种方式使进程终止
(1)从main返回
(2)调用exit;
(3)调用_exit或者_Exit;
(4)最后一个线程从其启动历程返回
(5)最后一个线程调用pthread_exit;
异常终止方式有三种:
(6)调用abort();
(7)接到一个信号;
(8)最后一个线程对取消请求做出相应
三个函数用于正常终止一个程序:
#include
...
分类:
其他好文 时间:
2014-09-19 17:40:45
阅读次数:
208
1 # Basic Incast Simulation 2 # Check Args 3 if {$argc != 5} { 4 puts "Usage: ns incast " 5 exit 1 6 } 7 8 #########################...
分类:
其他好文 时间:
2014-09-19 15:25:45
阅读次数:
197
warning: incompatible implicit declaration of built-in function 'exit'
解决方法:
在头文件中 引入 stdlib 文件, #include
分析:
使用了 exit() 函数 需要应用 stdlib 文件
其实可以不用 exit() 函数,可以使用 return 0 来...
分类:
其他好文 时间:
2014-09-19 13:56:15
阅读次数:
159
编译:ipvsadm-1.26编译错误问题[root@SquidMaster241ipvsadm-1.26]#make
make-Clibipvs
make[1]:Enteringdirectory`/root/ipvsadm-1.26/libipvs‘
gcc-Wall-Wunused-Wstrict-prototypes-g-fPIC-DLIBIPVS_USE_NL-DHAVE_NET_IP_VS_H-c-olibipvs.olibipvs.c
gcc-Wall-Wunused-..
分类:
其他好文 时间:
2014-09-18 09:53:14
阅读次数:
421
//radn.cc -->生成随机数#include #include #include #include #include #include #include #include #include #include #define ERR_EXIT(m) \ do { \ per...
分类:
编程语言 时间:
2014-09-18 02:01:23
阅读次数:
277