Episode 9 Redirection and substitution

We explore some more shell basics including redirection to and from files, and command substitution. This feature allows the output of one command to be used as parameters of another command.

22 September 2015

Time Jump Topic or command
00:30  

apt-get update

00:33  

apt-get upgrade

01:31  

package

01:41  

apt-get remove

02:30  

apt-get purge

03:05  

apt-get autoremove

03:35  

apt-get install -f (force)

04:33  

redirection

04:51  

standard input

04:57  

standard output

05:06  

standard error

07:00  

> (redirect stdout)

07:47  

>& (redirect stdout and stderr)

08:51  

cat (concatenate files)

09:28  

^D (end of input)

10:59  

>> (append stdout)

11:57  

set -o noclobber

12:27  

.bashrc

13:18  

< (redirect stdin)

17:26  

command substitution

17:30  

` (command substitution)

18:59  

grep -l (files-with-matches)

21:41  

mogrify (process image in-place)

23:35  

$() (command substitution)

blog comments powered by Disqus