A Practical Guide to Linux 第三章 The Utilities 筆記

PIPE Line

在Linux裡面若要將幾個指令連在一行直接運行,可以使用|。例子:查看當前目錄下文件列表裡文件名為car的文件。
Command:ls | grep car

Four More Utilities

echo

date

script

unix2dos

Compressing and Archiving Files

bzip2

bzcat and bunzip2

gzip

tar

Locating Utilities

which

whereis

which vs whereis

locate

Displaying User and System information

who

finger

uptime

w

free

Communicating with other users

write

mesg

0%