Online Linux Terminal Logo
OnlineLinuxTerminal
← 实战教程•Intermediate

I/O Redirection & Command Pipelines

Linux 社区2.4k 在线

与真实 Linux 用户交流,学习常用命令并免费获取精美速查表 PDF。

Lesson Objectives

Step 1: Pipe into Word Count

Run `ls -la /var/log | wc -l`.

Step 2: Redirect Date to File

Run `date > timestamp.txt`.

Step 3: Append Content

Run `uname -a >> timestamp.txt`.

bash — terminal