linux#
Linux Globbing(Wildcard)
参考 man 1 bash
中的 EXPANSION | Pathname Expansion | Pattern Matching(glob & extglob)。
Linux Command - grep
grep 过滤筛选出符合条件的行,起源于 vim(ex)编辑器中的模式匹配命令::g/re/p
。
grep命令会在输入或指定的文件中查找包含匹配指定模式的字符的行,输出就是包含了匹配模式的行。
Linux Redirection(重定向)
参考 BASH(1) manual page 的 REDIRECTION
部分。
数据流重定向(REDIRECTION)就是将某个命令执行后本应输出到控制台的结果数据传导到指定的地方,例如文件或打印机之类的设备。
Linux Command - hexdump
od
- dump files in octal and other formats.
xxd
- make a hexdump or do the reverse.
hexdump
- display file contents in hexadecimal, decimal, octal, or ascii.
Linux Command - bc
bc(basic calculator) - An arbitrary precision calculator language.
bc
is a language that supports arbitrary precision numbers with interactive execution of statements.