Episode 2 Viewing files

We look at viewing files using commands like cat, more, less, head, and tail, including using those in short pipelines. We also try opening files in external applications using open or xdg-open (and live dangerously by dumping a binary file with cat).

4 August 2015

Time Jump Topic or command
00:38  

path, relative

01:02  

path, absolute

01:50  

color

02:20  

ls -F (classify)

02:50  

--version

03:05  

GNU

03:26  

--help

04:17  

contacting us

05:04  

cat (concatenate files)

05:37  

more (pager)

06:10  

.gz

06:47  

^C (interrupt)

06:55  

reset (initialize terminal)

07:02  

file type, binary

07:29  

file type, image

07:33  

file type, PDF

07:59  

.png

08:03  

xdg-open (Linux desktop)

08:43  

open (Mac desktop)

08:55  

* wildcard

10:11  

syntax

11:34  

| (pipe)

11:51  

pipeline

12:34  

less (pager)

14:14  

head (first few lines)

14:20  

tail (last few lines)

15:08  

tail -n (lines)

16:17  

head -n (lines)

blog comments powered by Disqus