连击 天
fork: star:
/etc/rc.d/rc.local 加入一行 Ntpdate –u 10.0.111.102 Touch NTP.sh 写入 #!/bin/sh NTPSERVERIP=10.0.111.102 ntpdate -u $NTPSERVERIP 将此脚本拷贝到/etc/cron.hourly/下...
/etc/.vimrc set nobackup set nowritebackup set noswapfile
man hostname里有这么一句话,”The host name is usually set once at system startup in /etc/rc.d/rc.inet1 or /etc/init.d/boot (normally by reading the contents of a file which con...
显式转换也被称为强制类型装欢,包括四个强制类型转换运算符:static_cast,dynameic_cast,const_cast和reinterpret_cast.使用强制类型转换就关闭了c++的类型检查设施,容易引起错误.但是有些情...
语法: void pthread_cleanup_push(void (*routine)(void*), void *arg); void pthread_cleanup_pop(int execute);//这里的int参数,0是不执行push的内容,非0是执行。 pthread_cleanup_push...
数据库启动 #su - oracle #sqlplus / as sysdba SQL>shutdown abort//关 SQL>startup//开 SQL>exit #exit...
函数指针 最近在研究STL的函数适配器时,才发现自己对函数指针其实也不太熟悉,所以决定写下这篇文章记录一下,以便将来又忘了的时候可以看看,说不定有人会因此而受益(虽然我也知道好象不太...
生成一个TCP的socket Function: int socket (int namespace, int style, int protocol) This function creates a socket and specifies communication style style, which should be one of...
前几天一个程序老是出现段错误,最后实在找不到地方,用gdb单步,发现问题出现在一个回调函数的pthread_cancel中。这个问题就奇怪了。《Unix系统编程》上说了pthread_cancel没有定义必须检测...
打开UltraEdit安装路径下的Uedit32.ini(如果没有这个文件,那说明你的UltraEdit版本的ini不是放在安装路径下的, 得去C:\Documents and Settings\(登录用户名,默认是Administrator)\Applic...
没有更多内容
加载失败,请刷新页面
文章删除后无法恢复,确定删除此文章吗?
动弹删除后,数据将无法恢复
评论删除后,数据将无法恢复