/
Intro to Linux Command-Line: View, Find, and Search

Intro to Linux Command-Line: View, Find, and Search

Introduction: Introduce how to work with, view, find and search the content of text files. The workshop is aimed at beginners with basic command-line experience of the Linux file system and will focus on hands-on exercises.

Course Goals

  • View the content of text-based files.

  • Search a file for a string. 

  • Search for a file/folder by name.

  • Redirect output from commands and pipe commands together. 

  • Be very exercise based to allow practice of commands and concepts.

  • Suggest other areas of Linux and commands to explore.


Notes:

  • This tutorial is available as a PDF here.


Sections

  1. View and Search a File: Use various commands to view, inspect and search a text file.

  2. Search for a File: How to search for a file, by name, across a hierarchy of folders.

  3. Output Redirection and Pipes: Introduce how to pipe the output of one command into the input of another, and how to redirect the output of a command into a file.

  4. Intermediate Features and Summary: A quick review and suggestion of other commands and areas of Linux to explore further after this workshop that you’ll find useful.


 

 

 

 

Related content

Intro to Linux Command-Line: The File System
Intro to Linux Command-Line: The File System
More like this
View and Search Text and Directories
View and Search Text and Directories
More like this
Intro to Text Editors in Linux
Intro to Text Editors in Linux
More like this
Intro to Linux Command-Line: Summary
Intro to Linux Command-Line: Summary
More like this
Output Redirection and Pipes
Output Redirection and Pipes
More like this
Intro to Linux Command-Line: Intermediate Features and Summary
Intro to Linux Command-Line: Intermediate Features and Summary
More like this