Online Linux Terminal Logo
OnlineLinuxTerminal
← Tutorials•Intermediate

I/O Redirection & Command Pipelines

Linux-Community2.4k Online

Tausche dich mit Linux-Nutzern aus, lerne Befehle und lade PDF-Cheatsheets herunter.

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