上一页 1 ··· 44 45 46 47 48 49 50 51 52 ··· 54 下一页
摘要: 来源: shaovey的专栏在程序不寻常退出时,内核会在当前工作目录下生成一个core文件(是一个内存映像,同时加上调试信息)。使用gdb来查看core文件,可以指示出导致程序出错的代码所在文件和行数。1.core文件的生成开关和大小限制---------------------------------1)使用ulimit -c命令可查看core文件的生成开关。若结果为0,则表示关闭了此功能,不会... 阅读全文
posted @ 2009-08-07 14:19 凌度 阅读(366) 评论(0) 推荐(0) 编辑
摘要: ---------------------------------------------------快速入门:ps aux|grep programname '查看进程ID(pid)gdb programname attach pidb a.cpp:120 '设置断点c '让程序继续运行(gdb) shell '切换到shell界面#exit '重新回到gdb模式----------------... 阅读全文
posted @ 2009-05-27 17:02 凌度 阅读(611) 评论(0) 推荐(0) 编辑
摘要: cent os 下的脚本是:lftp -c "open 192.168.22.1;user ftpusername ftppassword;put a_linux;put LinuxBuild.txt;exit"很多linux可以使用以下脚本:ftp -i -in <<!open 192.168.22.1user username password 阅读全文
posted @ 2009-05-27 16:55 凌度 阅读(780) 评论(0) 推荐(0) 编辑
摘要: 1. 在web.config中设置<authentication mode="Windows"/> 2. 在IIS-默认的Web站点-虚拟目录-属性-目录安全性-编辑中选择 "集成Windows验证",注意"匿名访问"一定不要选 3. 在asp.net中使用 User.Identity.Name 就可以得到域名和用户名. 阅读全文
posted @ 2009-05-12 18:05 凌度 阅读(603) 评论(0) 推荐(0) 编辑
摘要: 运行时出现如下提示:Failed to load ./plug/libss.so!解决方法:1、/etc/ selinux/config 此文件也下的也要 SELINUX=disabled2、chcon -t texrel_shlib_t /路径/路径/名字.so 阅读全文
posted @ 2009-05-07 15:21 凌度 阅读(1306) 评论(0) 推荐(0) 编辑
摘要: 1.当浏览器的缓存被装满时,“查看源文件”功能将失效。IE的“工具”菜单中的“Internet选项” “常规”标签,然后,再点击“Internet临时文件”一栏中的“删除文件”按钮2.IE->工具->Internet选项->程序设置HTM... 阅读全文
posted @ 2009-04-29 14:08 凌度 阅读(389) 评论(0) 推荐(0) 编辑
摘要: (ulimit -c unlimited;./a_linux; ulimit -c;) &> output.txt & &>是重定向 最后一个&是让这个shell命令在后台执行 阅读全文
posted @ 2009-04-29 13:37 凌度 阅读(223) 评论(0) 推荐(0) 编辑
摘要: @echo off e:\a.exe a b c IF ERRORLEVEL 1 goto error IF ERRORLEVEL 0 goto success :error echo error goto end :success echo success goto end :end :: IF %ERRORLEVEL% LEQ 1 goto ::EQU - 等于 ::NEQ - 不等于 :... 阅读全文
posted @ 2009-03-20 17:03 凌度 阅读(1589) 评论(0) 推荐(0) 编辑
摘要: cp -f无效问题找到了,原来是系统使用别名,默认用了-i参数,一定要确认覆盖 .bashrc # User specific aliases and functions alias rm='rm -i' alias cp='cp -i' alias mv='mv -i' 阅读全文
posted @ 2009-03-04 10:08 凌度 阅读(854) 评论(0) 推荐(0) 编辑
摘要: # find / -name libgtkembedmoz.so # vi /etc/ld.so.conf # /sbin/ldconfig # 使得对刚才的配置生效 来源:http://cache.baidu.com/c?m=9f65cb4a8c8507ed4fece763105392230e54f73d678b975f298fd81c84642c101a39feeb77630d42... 阅读全文
posted @ 2009-02-03 16:03 凌度 阅读(1182) 评论(0) 推荐(0) 编辑
上一页 1 ··· 44 45 46 47 48 49 50 51 52 ··· 54 下一页