心安处即吾乡!
发布时间:2014-04-17 20:23:10
Q. Quick question – How do I install VIM text editor for my FreeBSD server? Currently it has old version of vi. I like vim as it is a highly configurable text editor and efficient one.A. VIM (Vi IMproved ) is not installed by default under FreeBSD. Vim is a text editor that is upwards compati.........【阅读全文】
发布时间:2014-04-17 20:18:33
A. CSH is default shell under FreeBSD. First, make sure bash is installed. Type bash to see if you can execute bash:$ bashIf you get command not found error. Use pkg_add command to install bash# pkg_add -r -v bashNow to setup bash as shell type chsh command.chsh -s /path/to/shell {user-nam.........【阅读全文】
发布时间:2014-04-17 19:55:43
#sudo apt-get install scim#sudo apt-get install scim-chinese#vim /etc/X11/Xsession.d/95xinput注意:/etc/X11/Xsession.d/目录下不存在95xinput文件,上面是新建并编辑该文件输入:/usr/bin/scin -dXMODIFIERS="@im=SCIM"export XMODIFIERSexport GTK_IM_MODULE=scim保存退出[按esc进入命令模式,输入:冒.........【阅读全文】
发布时间:2014-04-17 19:54:48
1.下载Backtrack5 R2,地址http://www.backtrack-linux.org/downloads/,此处选择ISO文件。2.下载UltraISO,安装打开UltraISO,插入U盘,【文件--打开ios文件目录】,覆写:一切默认,随后继续即可,注意,U盘内容将全部抹除,重要数据请做好备份。附加:如果写入过程中报“设备忙”的错误,系360安全卫士.........【阅读全文】
发布时间:2014-04-17 11:46:47
在Linux的terminal下执行完命令后,可以通过echo $?来获得最后运行命令的结束代码。0表示成功,非0表示失败。perror命令可以用来获取OS内核对错误码的具体定义内容,不同的OS或相同OS的不同版本可能会不一样Mac OS X 10.7.2为例:$ perror -aWARNING: option '-a/--all' is deprecated and will .........【阅读全文】