2008年12月16日星期二

Linux命令行全部列表

alias Create an alias
awk Find and Replace text, database sort/validate/indexbreak Exit from a loop
builtin Run a shell builtin

cal Display a calendar
case Conditionally perform a commandcat Display the contents of a file
cd Change Directory
cfdisk Partition table manipulator for Linuxchgrp Change group ownershipchmod Change access permissionschown Change file owner and group
chroot Run a command with a different root directorycksum Print CRC checksum and byte counts
clear Clear terminal screen
cmp Compare two files

comm Compare two sorted files line by line
command Run a command - ignoring shell functions
continue Resume the next iteration of a loopcp Copy one or more files to another locationcron Daemon to execute scheduled commands
crontab Schedule a command to run at a later timecsplit Split a file into context-determined pieces
cut Divide a file into several parts

date Display or change the date & time
dc Desk Calculator
dd Data Dump - Convert and copy a file
declare Declare variables and give them attributesdf Display free disk spacediff Display the differences between two filesdiff3 Show differences among three filesdir Briefly list directory contents
dircolors Colour setup for `ls'dirname Convert a full pathname to just a path
dirs Display list of remembered directories
du Estimate file space usage

echo Display message on screen
ed A line-oriented text editor (edlin)
egrep Search file(s) for lines that match an extended expression
eject Eject CD-ROM
enable Enable and disable builtin shell commands
env Display, set, or remove environment variables
eval Evaluate several commands/arguments
exec Execute a command
exit Exit the shell
expand Convert tabs to spaces
export Set an environment variable
expr Evaluate expressions

factor Print prime factors
false Do nothing, unsuccessfully
fdformat Low-level format a floppy disk
fdisk Partition table manipulator for Linux
fgrep Search file(s) for lines that match a fixed string
find Search for files that meet a desired criteria
fmt Reformat paragraph text
fold Wrap text to fit a specified width.
for Expand words, and execute commands
format Format disks or tapes
free Display memory usage
fsck Filesystem consistency check and repair.
function Define Function Macros

gawk Find and Replace text within file(s)
getopts Parse positional parameters
grep Search file(s) for lines that match a given pattern
groups Print group names a user is in
gzip Compress or decompress named file(s)

hash Remember the full pathname of a name argument
head Output the first part of file(s)history Command History
hostname Print or set system name

id Print user and group id's
if Conditionally perform a command
import Capture an X server screen and save the image to file
info Help info
install Copy files and set attributes

join Join lines on a common field

kill Stop a process from running

less Display output one screen at a time
let Perform arithmetic on shell variables
ln Make links between files
local Create variables
locate Find files
logname Print current login name
logout Exit a login shell
lpc Line printer control program
lpr Off line print
lprint Print a file
lprintd Abort a print job
lprintq List the print queue
lprm Remove jobs from the print queue
ls List information about file(s)

m4 Macro processor
man Help manual
mkdir Create new folder(s)
mkfifo Make FIFOs (named pipes)
mknod Make block or character special files
more Display output one screen at a time
mount Mount a file system
mtools Manipulate MS-DOS files
mv Move or rename files or directories

nice Set the priority of a command or job
nl Number lines and write files
nohup Run a command immune to hangups

passwd Modify a user password
paste Merge lines of files
pathchk Check file name portability
popd Restore the previous value of the current directory
pr Convert text files for printing
printcap Printer capability database
printenv Print environment variables
printf Format and print data
ps Process status
pushd Save and then change the current directory
pwd Print Working Directory

quota Display disk usage and limits
quotacheck Scan a file system for disk usage
quotactl Set disk quotas

ram ram disk device
rcp Copy files between two machines.
read read a line from standard input
readonly Mark variables/functions as readonly
remsync Synchronize remote files via email
return Exit a shell function
rm Remove files
rmdir Remove folder(s)
rpm Remote Package Manager
rsync Remote file copy (Synchronize file trees)

screen Terminal window manager
sdiff Merge two files interactively
sed Stream Editor
select Accept keyboard input
seq Print numeric sequences
set Manipulate shell variables and functions
shift Shift positional parameters
shopt Shell Options
shutdown Shutdown or restart linux
sleep Delay for a specified time
sort Sort text files
source Run commands from a file `.'
split Split a file into fixed-size pieces
su Substitute user identity
sum Print a checksum for a file
symlink Make a new name for a file
sync Synchronize data on disk with memory

tac Concatenate and write files in reverse
tail Output the last part of files
tar Tape ARchiver
tee Redirect output to multiple files
test Evaluate a conditional expression
time Measure Program Resource Use
times User and system times
touch Change file timestamps
top List processes running on the system
traceroute Trace Route to Host
trap Run a command when a signal is set(bourne)
tr Translate, squeeze, and/or delete characters
true Do nothing, successfully
tsort Topological sort
tty Print filename of terminal on stdin
type Describe a command

ulimit Limit user resources
umask Users file creation mask
umount Unmount a device
unalias Remove an alias
uname Print system information
unexpand Convert spaces to tabs
uniq Uniquify files
units Convert units from one scale to another
unset Remove variable or function names
unshar Unpack shell archive scripts
until Execute commands (until error)
useradd Create new user account
usermod Modify user account
users List users currently logged in
uuencode Encode a binary file uudecode Decode a file created by uuencode

v Verbosely list directory contents (`ls -l -b')
vdir Verbosely list directory contents (`ls -l -b')
vi Text Editor

watch Execute/display a program periodically
wc Print byte, word, and line counts
whereis Report all known instances of a command
which Locate a program file in the user's path.
while Execute commands
who Print all usernames currently logged in
whoami Print the current user id and name (`id -un')

xargs Execute utility, passing constructed argument list(s)
yes Print a string until interrupted

.period Run commands from a file
### Comment / Remark


.....显示全部内容

2008年11月29日星期六

关闭Linux系统铃声

装了Linux有一个多月了,主要是为了对抗微软的“黑屏”。其实本身而言我所处的地位相当尴尬。自己是学软件的,有一天自己写了软件,也不希望别人来盗版。可是偏偏微软的一套正版的Xp有相当的贵,自己的机器上只装得起盗版。


曾经装过好几次Linux,都是Fedora,这次朋友推荐了Ubuntu,确实适合我这种对于Linux来说还是门外汉的人。第一次装Linux,很小气的从120G的硬盘里面腾出了15G给Linux,后来每次从装都回多加5G,一直加到现在的50G。最初的Linux挤再一个分区上面,现在慢慢的还知道要分个区什么的。对Windows的依赖是越来越少了。




言归正传,刚安装好的Linux会不断的发出系统铃声,像我当年在Windows下面用MySQL一样。不过MySQL用起来毕竟是少数时候,再Linux下面用QQ都会发出“嘟嘟”的信号,有时候是廷影响心情的。再网上一顿找。找到了一个方法可以把Linux的系统铃声去掉。


方法一:终端直接输入
sudo modprobe -r pcspkr


使用
sudo modprobe pcspkr

可以将系统的声音再装回来。


方法二:在
/etc/modprobe.d/blacklist


这个文件后面加上blacklist pcspkr。


这样以后系统就不会再发出令人讨厌的声音了。

.....显示全部内容

2008年10月10日星期五

为什么不回来写博客?

一个人在家里觉得空虚无聊,在网上找寻一些有意思的东西来刺激我的神经。在QQ上跟人聊天,觉得打字很有意思。

既然如此,干嘛不上自己的博客来打字呢?生命的信号要靠敲击键盘得以维持的话,不如让它在这里留下痕迹。生活的轨迹是很难琢磨的事情,走向也不掌握在自己的手里。曾经一度我很疯狂,很激情的坐在电脑前写博客,倾述自己对生活的理想。后来的一系列变化,情绪上的,让我自己都觉得惊讶。从前我很兴奋,觉得这个世界真好,有那么多经济,政治,工作,学习,生活,软件,文学,教育的东西可以发表看法。现在我很失望,因为上面说的这些东西,都没有我的分,我的意思是说,他们何去何从,我一点发言权都没有

奥运会开始了,又结束了。我没有整个的看过一场比赛。关注了一下开闭幕,仅此而已。外面的世界,把我,或是被我,隔绝起来了。
.....显示全部内容

2008年9月4日星期四

Google Chrome,我对你很期待

前天晚上我就迫不及待的下载了google chrome浏览器。在此之前看了很多有关的报道,冥冥中似乎觉得,这将会是个划时代的产品。从此浏览器市场要重新分地云云。

但是,实际的结果是,什么都没有想象想中的那样发生。确实有使网页内容很突出的UI,也有超乎常人想象的速度。但是留给我的,更多是期待:插件的推出,google toolbar的应用,和google自身网络应用的集成,还有大大小小的bug的改进,等等。


谁都不能一步登天,我不能,就连google也不能。

.....显示全部内容

2008年8月24日星期日

放松

一个朋友跟我说:

放松一点。。放松才能找到你想要的,才能坚持你真正心中想要的

想了很对怎么对别人,我要学习怎么对自己,认真的对自己。我要试着去放松。

.....显示全部内容

2008年7月12日星期六

后武林时代

面的时间写了一篇不算武侠不算小说的武侠小说。故事情节基本没有怎么发展过,简单的很的故事。

写完了以后发现这世道根本已经变了,现在是个后武林时候。武林里明刀明枪的争斗变成了现在的勾心斗角,没戏了,世道变了,武功在好也没有用。所以最后我死了,怀里抱着一个女人,心里想着两个女人的死了。从前武林里的明刀明枪,也落到最后的暗箭难防。我当了人家的内奸,从背后捅了别人一剑。还是被人暗算了。

这一篇就当是跋,小说的名字,就叫它《后武林时代》。

.....显示全部内容

2008年7月7日星期一

一夜,杨欲天和他的五个手下忙着把师父家里杀成了一片血海。而我,本应参与其中的人,抱着小雪的尸体,蜷在墙角流泪了一整夜。

杨欲天是个不错的帮手,在杀完了所有的人以后,他负责把他带来的五个人也杀了,确保这件事情只有皇帝,我和他本人知道,并且在我没有来帮忙杀人的情况下,他一句抱怨都没有,临走的时候还不忘记到我身旁来叫我离开现场。我慢慢放下小雪的尸体,捡起地上的剑,走在杨欲天身后。在书房门口的时候,我冷不防的一剑从背后刺穿了他的胸口。他倒在地上,捂着伤口痛苦的呻吟,问我,你,你为什么要这样做。我冷冰冰的回答,你刚刚就是这样杀了我妻子的。他哼了一声,说,什么你妻子,不要忘了我们都有皇命在身,要怪就怪你那个独揽大权的师父去。你别忘了,你杀了我,你也没有办法向皇上交代。

我弯下腰,捡起他手边的剑,把它扔出几丈开外,然后拿我的剑尖指着他的咽喉说,交代,简单的很,对皇帝,我就说你在打斗中被我师父给杀掉了,幸好有我给你报了仇。然后皇帝就可以对天下人交代说,你是双刀会的余党,见风使舵的投靠了皇帝这边其实是伺机报仇。这次你率领余党杀了我师父全家,我作为他的女婿,从外面回来看到这一切,把你们杀了,替他和他女儿报了仇。

他的脖子被我的剑尖顶着,头仰的很高,满脸痛苦的表情,一边呻吟一边说,你这个卑鄙小人。我冷笑了一声,小人,小人还轮不到我。皇帝杀了你们全家,你都可以投靠他杀了黄雄。连小玉,你的亲姐姐都没有放过,怎么轮到我是小人呢?

他哈哈大笑起来,笑得太过用力,以至于受伤的胸口无法承受,开始咳嗽。咳了几口血以后,他看着我问道,小玉,你叫她小玉,你跟她到底什么关系啊?

我收起脸上的笑容,冷冷的说了一句,你知道的太多了。握着剑的手在半空中一划,一道红光溅出来。他倒下了。

天开始破晓的时候,我抱着小雪的尸体走出师父家的大门。突然一群弓箭手和一群拿着火把的官兵从周围的巷子里涌了出来,排成半圆形把门口围住。对面的茶楼上,皇帝和一个打着灯笼的太监走到阳台边。弓箭手们上了满弦。

我抬头看着茶楼上的皇帝,他的脸上露出一丝冷笑。原来,这才是他真正的计划,谁也逃不出去。我,师父,小雪,杨欲天。唯一走出这里的方式,就是装在棺材里出去。我们都在维护皇帝的系统,但是这个系统在不需要我们的时候,就会毫不犹豫的把我们清除掉。

太监对弓箭手们说放箭的时候我闭上了眼睛,那时我想起了我妈,她说快跑,不能落在地主的手上,我是赵家唯一的香火。我逃过了地主的追赶,却还是死在了皇帝的手上。想起了我师父,终其一生效忠皇帝,却逃不过这场灭门之灾,自己还被自己亲手培养出来的杀人机器给杀了。想起黄雄,一心想要推翻这个系统,却天数不济,被手下的人给出卖了。想起了杨欲天,一生都在别人背后算计别人,却被他的同僚在背后刺了他一剑。想起了小玉,这个可怜的女人,跟错了人,又爱错了人,精明的美丽女人,最后时刻也没有出卖我,带着她的智慧和美貌含恨九泉。想起了我正抱在怀里的小雪,发生的那么多事情她都不知道,却丝毫不妨碍她那执着的用尽一生去爱我,哪怕最后时刻她目睹了我亲手杀死她父亲,她最后在乎的事情却还是我是否真的爱她。生活对这些人,对我都是一种莫大的讽刺。

第一发箭刺穿了我的小腹,我感到一阵剧痛。这一年我二十四岁。

.....显示全部内容

我的简介

我的照片
巴黎2004
喜爱巴黎,怀念2004。有天才的思考能力和无可救药的偏执狂。所以请带着你自己的智商来对待我精心挑选的每个词。
查看我的完整个人资料