Flashcards
Ch 11.1 Command line pipes
Flashcards do conjunto (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
Informações
- Descrição
- Easy Cloud Guru Linux Foundation FlashCards sobre Ch 11.1 Command line pipes, criado por Archimed Nemes em 17-04-2022.
- Criado por
- Archimed Nemes
- Visualizações
- 2
- Avaliação
Mais sobre Command Line Basics and Linux Commands