June 2017
Beginner
502 pages
11h 26m
English
We already know this and have used it for the variable substitution that allows us to access the content of a variable:
zarrelli:~$ x=10 ; echo $x10
But it is also used in a regular expression to match at the end of a line:
ls | grep [[:digit:]]$123test.colon.2
In this example, the output of ls is filtered on that file whose name ends with a single integer.
Read now
Unlock full access