快捷键
时间:2006-07-25 来源:适兕
我一向是憎恨使用快捷键的,ctrl-c或ctrl-v,等等,尤其是使用办公文档的时候,可是当我面对command line interface的时候,我发现我错了,我应该来学习!
$locate / *.png
屏幕的文件路径输出是闪!!!!而我有没必要> xxx.txt。所以用到了Ctrl-S来暂时停止它,看了后再Ctrl-Q.
还有一个Ctrl_U, 此键的作用是lete the line from the cursor to the beginning of the line。
知识应该去一点一滴的积累,不能急!心急吃不了热豆腐!
以下是Fedora core 5 Bash默认的设置:
[lee@lee ~]$ stty -a
speed 38400 baud; rows 40; columns 142; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = M-^?; eol2 = M-^?; swtch = M-^?; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R;
werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0;
-parenb -parodd cs8 hupcl -cstopb cread -clocal -crtscts
-ignbrk brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff -iuclc ixany imaxbel -iutf8
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke
~~~~~~~~~~~~~~~~~~~~~~~~~~
Ctrl-T.将光标前面的字母互换位置。
$locate / *.png
屏幕的文件路径输出是闪!!!!而我有没必要> xxx.txt。所以用到了Ctrl-S来暂时停止它,看了后再Ctrl-Q.
还有一个Ctrl_U, 此键的作用是lete the line from the cursor to the beginning of the line。
知识应该去一点一滴的积累,不能急!心急吃不了热豆腐!
以下是Fedora core 5 Bash默认的设置:
[lee@lee ~]$ stty -a
speed 38400 baud; rows 40; columns 142; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = M-^?; eol2 = M-^?; swtch = M-^?; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R;
werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0;
-parenb -parodd cs8 hupcl -cstopb cread -clocal -crtscts
-ignbrk brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff -iuclc ixany imaxbel -iutf8
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke
~~~~~~~~~~~~~~~~~~~~~~~~~~
Ctrl-T.将光标前面的字母互换位置。
相关阅读 更多 +