Sitemap
DevOps.dev

Devops.dev is a community of DevOps enthusiasts sharing insight, stories, and the latest development in the field.

Member-only story

Linux — Filters and Control Operators

--

Press enter or click to view image in full size

​The purpose of this hands-on training is to teach you how to use filters and control operators in Linux.​

Learning Outcomes

​At the end of the this hands-on training, you will be able to;​

  • Use filter commands.​
  • Pipe commands.​
  • Use Control operators.

— — — —

  • Using Filters​
  • Using Control Operators​
  • Using Filters
  • ​cat
  • concatenate files and print on the standard output​
  • Create a folder and name it filters.​
mkdir filters cd filters
  • Create a text file named days.txt.​
vim days.txt​
Monday Tuesday Wednesday Thursday Friday Saturday Sunday
  • Display the content of days.txt.
cat days.txt
  • Show what cat command does when used in a pipe.​
cat days.txt | cat | cat | cat | cat
  • Create a text file named count.txt.​
nano count.txt
one two three four five six seven eight nine ten eleven
  • Display the content…

--

--

DevOps.dev
DevOps.dev

Published in DevOps.dev

Devops.dev is a community of DevOps enthusiasts sharing insight, stories, and the latest development in the field.