Skip to content

Instantly share code, notes, and snippets.

@davidshare
Created January 20, 2026 07:58
Show Gist options
  • Select an option

  • Save davidshare/8136cb787b71ab426259f822b3bbdf2c to your computer and use it in GitHub Desktop.

Select an option

Save davidshare/8136cb787b71ab426259f822b3bbdf2c to your computer and use it in GitHub Desktop.

Fixing Script Output with Redirection and Pipes Lab: Create a Log File Using Redirects and Tee Command 01:49 File Maintenance Commands (cp, rm, mv, mkdir, rmdir) File Maintenance Commands (cp, rm, mv, mkdir, rmdir)

cp

rm

mv

mkdir

rmdir or rm -f

chgrp

chown

Homework:

move jerry, george, kramer and puddy files into seinfeld directory

move homer, bart, marge, lisa files in simpsons directory

move clark, luther and lois files in superman directory

11:44 File Display Commands (cat, less, more, head, tail) File Display Commands (cat, less, more, head, tail)

cat

more

less

head

tail

vi

08:21 Filters / Text Processing Commands Filters / Text Processing Commands:

cut

awk

grep and egrep

sort

uniq

wc

02:29 cut - Text Processors Commands cut - Text Processors Commands in linux

10:17 awk - Text Processors Commands awk - Text Processors Command in linux

14:19 grep/egrep - Text Processors Commands grep/egrep - Text Processors Command in linux

12:50 Lab: Create a Text Filtering and Search Workflow 01:56 sort/uniq - Text Processors Commands sort/uniq - Text Processors Commands in Linux

10:11 Compare Files (diff and cmp) Compare Files (diff and cmp)

04:36 Helping a Developer Analyze Logs with Text Processing Commands wc - Text Processors Commands wc - Text Processors Command in Linux

08:22 Lab: Develop a File Handling and Processing Pipeline

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment