Karteikarten
Ch 11.1 Command line pipes
Karten in diesem Stapel (11)
- 1Search for all words containing apple in file testgrep apple test
- 2search for all words containing letter L in file testgrep L test
- 3search all words containing banana in file test using pipecat test | grep banana
- 4count number of lines in file testwc -l test
- 5count of all lines in file test which has apple in itcat test | grep apple | wc -l
- 6Rerun last command starting with cat!cat
- 7Rerun last command starting with grep!grep
- 8print out username john from /etc/passwdcat /etc/passwd | grep john
- 9print out only /home/john from /etc/passwdcat /etc/passwd | grep john | cut -d: -f6
- 10Determine the number of files and folders in the /usr/share/ directory.ls /usr/share | wc -l
- 11Determine the Number of Unpacked Entries in /var/log/dpkg.logcat /var/log/dpkg.log | grep unpacked | wc -l
Informationen
- Beschreibung
- Easy Cloud Guru Linux Foundation Karteikarten am Ch 11.1 Command line pipes, erstellt von Archimed Nemes am 17/04/2022.
- Erstellt von
- Archimed Nemes
- Aufrufe
- 2
- Bewertung
Mehr zu Command Line Basics and Linux Commands