# 强制退出i# insertesc# to command mode:w# save ,有:的命令叫ex command# moveh, j, k, l ctrl-f/b numberG gg# 第一个字符G last line of the file0(zero) 行首 ^ To the first non-whitespace character on the current line.$endof current line w beginning ofnextwordorpunctuation W ig...
with -l, print the author of each file -b, --escape print C-style escapes for nongraphic characters Linux中一些常用按键 tab : 如果使用CRT等工具连接可以使用tab键进行补全 Ctrl+C : 退出当前命令操作 好了,本次学习了命令的格式与执行,一些常用的命令和查询用法,下次继续。
\c produce no further output \e escape \f form feed \n new line #换行 \r carriage return \t horizontal tab #水平tab键 \v vertical tab #垂直tab键 示例: echo"abce" echo -n’abcd’;echo ‘efg’ echo -e"hello\tworld" hello world echo -e"hello\nworld" hello world echo -e “hell...
\c produce no further output \e escape \f form feed \n new line #换行 \r carriage return \t horizontal tab #水平tab键 \v vertical tab #垂直tab键 示例: echo"abce" echo -n'abcd';echo 'efg' echo -e"hello\tworld" hello world echo -e"hello\nworld" hello world echo -e "hello\v...
-b, --escape 以八进制溢出序列表示不可打印的字符 --block-size=SIZE scale sizes by SIZE before printing them; e.g., '--block-size=M' prints sizes in units of 1,048,576 bytes; see SIZE format below -B, --ignore-backups do not list implied entries ending with ~ ...
and .. --author with -l, print the author of each file -b, --escape print C-style escapes for nongraphic characters --block-size=SIZE scale sizes by SIZE before printing them; e.g., '--block-size=M' prints sizes in units of 1,048,576 bytes; see SIZE format below -B, --...
To replace a path within files (avoiding escape characters) you may use the following command: sed -i 's@old_path@new_path@g' The @ sign means that all of the special characters should be ignored in a following string. Share Follow edited Aug 30 at 13:17 Benjamin Loison...
Escape sequences 轉義序列 VT100 控制檯序列不完全支援Linux控制檯序列: ESC N SS2 僅僅為下一個字元選擇 G2 字符集 (Single shift 2). ESC O SS3 僅僅為下一個字元選擇 G2 字符集 (Single shift 2). ESC P DCS 裝置控制字元,由ESC \ 終止 (Device control string). ESC X SOS 字串開始. (...
output-meta#Ifset to ‘on’, Readline will display characters with the eighth bit set directly rather than as a meta-prefixed escape sequence. The default is ‘off’.page-completions#Ifset to ‘on’, Readline uses an internal more-like pager to display a screenful of possible completions ...
The ASCII escape character (033) \H The hostname \h The hostname up to the first "." \n A carriage return and line feed \s The name of theshell \T The current time in 12-hour HH:MM:SS format \t The current time in HH:MM:SS format ...