Sometimes just one line of code can make all the difference. I will show you with example. Here is script with 2 functions. Both are writing some lines of text to a file. First function, “a” I have …
Here is description of the tool: […] To install dnf install ShellCheck And just run the tool on the script to get the common errors.
Today I had a issue where I wanted to paste the clipboard to a shell script after removing the spaces. So, I went hunting for a way to do this. Finally I came up with this: […] sudo yum install …