Yesterday and just a bit ago I put out two videos of extreme relevance if you want to script efficiently:
Now the first formally was about writing a network traffic module without dependencies, we talking about the file location of network information, shell arithmatic and some other efficiencies.
The second video is on an important trick for getting a substring from a string without having to call separate programs like
cut, and thus saving time.
That is, substring removal, which you've probably seen before. It looks something like this:
That particular command will echo a file name removing its extension. I explain the logic of what all the symbols mean and how to manipulate them in the video.