有趣的linux命令(English)
Some humorous things to do to a UNIX system:
from the csh (c shell):
% make love
Make: Don't know how to make love. Stop.
% got a light?
No match.
% sleep with me
bad character
% man: Why did you get a divorce?
man:: Too many arguments.
% rm God
rm: God nonexistent
% make 'heads or tails of all this'
Make: Don't know how to make heads or tails of all this. Stop.
% make sense
Make: Don't know how to make sense. Stop.
% make mistake
Make: Don't know how to make mistake. Stop.
% make bottle.open
Make: Don't know how to make bottle.open. Stop.
% \(-
(-: Command not found.
% make light
Make: Don't know how to make light. Stop.
% date me
You are not superuser: date not set
Thu Aug 25 15:52:30 PDT 1988
% man rear
No manual entry for rear.
% If I had a ) for every dollar Reagan spent, what would I have?
Too many )'s.
% * How would you describe George Bush
*: Ambiguous.
% %Vice-President
%Vice-President: No such job.
% ls Meese-Ethics
Meese-Ethics not found
% "How would you rate Reagan's senility?
Unmatched ".
% [Where is Jimmy Hoffa?
Missing ].
% ^How did the^sex change operation go?
Modifier failed.
% cp /dev/null sex;chmod 000 sex
% more sex
sex: Permission denied
% mv sex show
% strip show
strip: show: Permission denied
% who is my match?
No match.
% set i="Democratic_Platform";mkdir $i;chmod 000 $i;ls $i
Democratic_Platform unreadable
% awk "Polly, the ship is sinking"
awk: syntax error near line 1
awk: bailing out near line
And from the bourne shell (sh):
$ drink < bottle;opener
bottle: cannot open
opener: not found
$ test my argument
test: too many arguments
$ "Amelia Earhart"
Amelia Earhart: not found
$ PATH=pretending! /usr/ucb/which
相关文档:
1. HCI层协议概述:
HCI提供一套统一的方法来访问Bluetooth底层。如图所示:
从图上可以看出,Host Controller Interface(HCI) 就是用来沟通Host和Module。Host通常就是PC, Module则是以各种物理连接形式(USB,serial,pc-card等)连接到PC上的bluetooth Dongle。
在Host这一端:application,SDP,L2cap等协议 ......
linux下构建建设完美FTP服务器,可管理,WEB管理,管理界面。
一、安装Ubuntu5 Desktop版
安装过程不难,依照http://wiki.ubuntu.org.cn快速设置即可,注意下面两点:
1、网通用户请选择上海交大的源,比较快。
2、ms分区下的中文目录名显示为???
这时,你要编辑/etc/fstab。比如我的笔记本中的fstab文件改后是:
# ......
小技巧,对于linux老鸟来说不止一提,但是对于我这种新手还有很有帮助的。
1. 命令行的别名:
sudo gedit ~/.bashrc
在打开的文件中使用:alias 简写命令=“要替换的命令”
如:alias l=“ls -l”
alias install=“sudo apt- ......
作者:Sheryl Calish
简单介绍这一无处不在的命令的强大的方面以及混乱的方面。
2008 年 7 月发布
Linux find
命令是所有 Linux 命令中最有用的一个,同时也是最混乱的一个。它很难,因为它的语法与其他 Linux 命令的标准语法不同。但是,它很强大,因为它允许您按文件名、文件类型、用户甚至是时间戳查找文件。使用 ......