July 2018
Beginner
264 pages
8h 9m
English
Let's get started:
#!/bin/bashSTR1='123 is a number, ABC is alphabetic & aBC123 is alphanumeric.'echo "-------------------------------------------------"# Want to find all of the files beginning with an uppercase character and end with .pdf?ls * | grep [[:upper:]]*.pdfecho "-------------------------------------------------"# Just all of the directories in your current directory?ls -l [[:upper:]]*echo "-------------------------------------------------"# How about all of the files we created with an expansion using the { } brackets?ls [:lower:].test .echo "-------------------------------------------------"# Files ...Read now
Unlock full access