上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 73 下一页
摘要: x11传输到本地显示#export DISPLAY=10.1.58.100:0.0 阅读全文
posted @ 2012-05-30 11:29 wangkangluo1 阅读(535) 评论(0) 推荐(0) 编辑
摘要: 参考链接 下载 manual#rsync -avP -e ssh ./filenameroot@192.68.1.38:/root/paths/ (本地到远程)#rsync -avP -e ssh root@192.68.1.38:/root/paths/test.tar.gz /root /paths (远程到本地)rsync -av --progress --inplace--rsh='ssh -p8023'somefile user@host:somedir/ 需要制定ssh端口rsync-vazu -progress/source/directory//destinat 阅读全文
posted @ 2012-05-29 17:16 wangkangluo1 阅读(925) 评论(0) 推荐(0) 编辑
摘要: 原文链接PostgreSQL 8.1 中文文档连接数据库, 默认的用户和数据库是postgrespsql -U user -d dbname\c dbname切换数据库,相当于mysql的use dbname\l列举数据库,相当于mysql的show databases\dt列举表,相当于show tables\d tblname查看表结构,相当于desc tblname,show columns from tbname一般性\c[onnect] [资料库名称|- 用户名称|- 主机|- 埠号|-] 连线到新的资料库 (目前是 "test")\cd [目录] 改变目前的工作 阅读全文
posted @ 2012-05-29 10:57 wangkangluo1 阅读(22872) 评论(0) 推荐(2) 编辑
摘要: 原文链接Ncurses是一个能提供功能键定义(快捷键),屏幕绘制以及基于文本终端的图形互动功能的动态库您希望您的程序有一个彩色的界面吗?Ncurses是一个能提供基于文本终端窗口功能的动态库. Ncurses可以:只要您喜欢,您可以使用整个屏幕创建和管理一个窗口使用8种不同的彩色为您的程序提供鼠标支持使用键盘上的功能键Ncurses可以在任何遵循ANSI/POSIX标准的UNIX系统上运行,除此之外,它还可以从系统数据库中检测终端的属性, 并且自动进行调整,提供一个不受终端约束的接口.因此,Ncurses可以在不同的系统平台和不同的终端上工作的非常好.mc工具集就是一个用ncurses写的很好 阅读全文
posted @ 2012-05-29 10:26 wangkangluo1 阅读(3960) 评论(0) 推荐(1) 编辑
摘要: 参考链接BusyBox 简化嵌入式 Linux 系统Currently available applets include: [, [[, acpid, addgroup, adduser, adjtimex, ar, arp, arping, ash, awk, basename, beep, blkid, brctl, bunzip2, bzcat, bzip2, cal, cat, catv, chat, chattr, chgrp, chmod, chown, chpasswd, chpst, chroot, chrt, chvt... 阅读全文
posted @ 2012-05-28 23:08 wangkangluo1 阅读(1211) 评论(0) 推荐(0) 编辑
摘要: 原文链接screen其实就是linux虚拟终端,你可以用它创建很多虚拟终端,每个终端可以创建1~10个窗口,每个窗口相当于一个linux shell窗口,可以执行的操作和正常shell完全一样。【终端操作】 (需要在物理shell中操作)screen:创建一个虚拟终端并且登录之screen -ls:列出当前所有虚拟终端screen [-d] -r sessionid:进入指定的虚拟终端【终端中的窗口操作】(挂载某个终端)Ctrl-a c 新建 bash screen 终端Ctrl-a " 列出Ctrl-a A 重命名Ctrl-a n 在当前窗口中切换到下一个 screen 终端... 阅读全文
posted @ 2012-05-28 19:23 wangkangluo1 阅读(9387) 评论(0) 推荐(0) 编辑
摘要: 原文链接建立数据库档案用sqlite3建立数据库的方法很简单,只要在shell下键入(以下$符号为shell提示号,请勿键入):$ sqlite3 foo.db如果目录下没有foo.db,sqlite3就会建立这个数据库。sqlite3并没有强制数据库档名要怎么取,因此如果你喜欢,也可以取个例如foo.icannameitwhateverilike的档名。在sqlite3提示列下操作进入了sqlite3之后,会看到以下文字:SQLite version 3.1.3Enter ".help" for instructionssqlite>这时如果使用.help可以取得求 阅读全文
posted @ 2012-05-28 17:16 wangkangluo1 阅读(560) 评论(0) 推荐(0) 编辑
摘要: 原文链接 catchattrchgrpchmodchowncksumcmpdiffdiffstatfilefindgitgitviewindentcutlnlesslocateisattrmattribmcmdelmdirmktempmoremmovemreadmrenmtoolsmtoolstestmvodpastepatchrcprmslocatesplitteetmpwatchtouchumaskwhichcpinmcopymshowfatrhmaskwhereis cddfdirsduedquotaejectmcdmdeltreemdumkdirmlabelmmdmrdmzippwdq 阅读全文
posted @ 2012-05-28 16:58 wangkangluo1 阅读(323) 评论(0) 推荐(0) 编辑
摘要: #cat test.csvchinausajapanfucknow#head -2 test.csv (输出前两行)chinausa#tail -2 test.csv (输出最后两行)fucknow#tac test.csv (按列反序输出 常用于查看日志)nowfuckjapanusachina#rev test.csv (按行反序输出)anihcasunapajkcufwon 阅读全文
posted @ 2012-05-28 16:52 wangkangluo1 阅读(377) 评论(0) 推荐(0) 编辑
摘要: 原文链接一BOOSTBoost带领你远远地超越了C++标准库,它使得C++编程更优雅、更有活力、更高产。(引自:Beyond the C++ Standard Library: An Introduction to Boost)(慢慢体会哦!)二参考主要:boost的在线document:http://boost.org/libs/libraries.htm唯一的关于boost的book:Beyond the C++ Standard Library: An Introduction to Boost其他:http://www.boost.org/heroboy2000:http://blog 阅读全文
posted @ 2012-05-28 16:25 wangkangluo1 阅读(2986) 评论(0) 推荐(0) 编辑
上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 73 下一页