ITS 2310 - Linux I


Shell Scripting Lesson

Objectives:

This lesson continues the review of shell scripting. Objectives important to this lesson:

  1. read
  2. grep
  3. awk
  4. sort
Concepts:

In week 13, we (mostly, I) talked about shell commands to help you manipulate data. Several commands can be used to read data and to output data in different formats. These links should be of some use to you in completing, redoing, or reconsidering Lab 1, which is now due on 4/21/21.

These links will take you to discussions about the points I demonstrated in class.

Link to an article about the read command: https://www.baeldung.com/linux/read-command

Link to an article about grep: https://linuxize.com/post/how-to-use-grep-command-to-search-files-in-linux/

Link to a short article about awk and data files: https://alvinalexander.com/blog/post/linux-unix/any-easy-way-print-column-or-columns-from-text-file-using-awk/

Link to a nice article about sorting data: https://www.tecmint.com/sort-command-linux/