强大的 CD 命令技巧 -rw-------. 1 root root 14808 Mar
13 12:31 .bash_history -rw-r--r--. 1 root root 18 May 20 2009 .bash_logout
-rw-r--r--. 1 root root 176 M...
分类:
系统相关 时间:
2014-06-11 09:51:09
阅读次数:
374
1.#error Directive (C/C++)The #error directive
emits a user-specified error message at compile time and then terminates the
compilation.#error toke...
分类:
编程语言 时间:
2014-06-11 08:34:39
阅读次数:
347
运行等级
首先,我们需要知道Linux系统关于运行等级的知识。在不同的linux系统上(例如ubuntu和Fedora)这些数字与和所代表的意义可能不同,但主要的有以下几个:单用户模式。多用户模式。网络多用户模式。用于特殊目的的预留添加显示管理器到等级3
因此,对于普通的运行等级,服务使用等级3.....
分类:
系统相关 时间:
2014-06-11 07:50:12
阅读次数:
309
pstree shows running processes as a tree. The tree
is rooted at either pid or init if pid is omitted. If a user name is specified,
all process trees r...
分类:
系统相关 时间:
2014-06-11 07:46:47
阅读次数:
522
在Linux服务器上没有办法像在桌面系统一样开多个终端,所以有时后进行一些操作不是太方便,所以可以使用tmux工具,创建多个终端。这里仅仅是简单的介绍一下如何创建多个终端和进行多个终端之间切换,tmux要创建窗口或者切换窗口,需要切换到命令模式,切换到命令模式的按键为
ctrl + b即可进入命令模...
分类:
其他好文 时间:
2014-06-11 07:30:29
阅读次数:
288
shell简介
shell是用户和linux内核进行交流的中间层,用户编写的命令就是通过shell解析并交给Linux Kernel执行。 查看当前系统安装的shell
1.查看/etc/shells 2.ll /bin/*sh 可以看出当前系统中存在的shell只有bash、dash、tcsh三种...
分类:
其他好文 时间:
2014-06-11 07:24:46
阅读次数:
263
在专业化的软件开发过程中,无论什么平台语言,现在都需要UnitTest单元测试.
Node.js有built-in的Assert。 今天让我们来看一下Node.js的单元测试。在这儿我们使用nodeunit, 通过NPM安装: npm
install nodeunit -g 支持命令行,浏览器运行....
分类:
Web程序 时间:
2014-06-10 00:11:06
阅读次数:
397
Ubuntu下deb包的安装方法 分类: Ubuntu10使用技巧 2010-10-11
23:49 42969人阅读 评论(3) 收藏 举报ubuntudebdebianlinuxdeb是debian linus的安装格式,跟red
hat的rpm非常相似,最基本的安装命令是:dpkg -i...
分类:
其他好文 时间:
2014-06-09 23:48:00
阅读次数:
311
一、替代arp, ifconfig, route等命令 显示网卡和IP地址
root@openstack:~# ip link list1: lo: mtu 65536 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 0...
分类:
其他好文 时间:
2014-06-07 20:32:00
阅读次数:
325
1.根据 Maven 的约定,我们在D盘根目录手动创建如下目录及文件结构:2.打开 pom.xml
文件,添加如下内容: 1 4 4.0.0 5 com.lt 6 mavenDemo2 7 jar 8 0.0.1-SNAPSHOT 9 mavenDe...
分类:
其他好文 时间:
2014-06-07 20:21:01
阅读次数:
281