Episode 4 Text manipulation

We learn about text manipulation commands like cut, sort, and uniq. We build sophisticated pipelines to analyze data, including surveys and web logs. We also look briefly at invoking simple text editors from the command line, like nano, gedit, and TextEdit.

18 August 2015

Time Jump Topic or command
01:09  

text editor

01:13  

nano (editor)

02:35  

gedit (desktop editor)

03:07  

open -e (Mac TextEdit)

03:24  

file type, text

03:57  

password

04:03  

/etc/passwd (user database)

04:10  

/etc (system config dir)

05:50  

~ (home directory)

06:00  

bash (default shell)

06:16  

cut (select fields)

06:35  

cut -d (delimiter)

06:48  

cut -f (fields)

07:56  

cut -c (characters)

10:18  

sort (put lines in order)

10:57  

du (disk usage)

11:09  

du -s (summarize)

12:23  

sort -n (numeric)

12:38  

sort -r (reverse)

12:58  

/ (root directory)

13:58  

uniq (omit repeated lines)

15:11  

uniq -c (count)

blog comments powered by Disqus