shell scripts

scripting – performance improvement with file open

2020/04/20

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 …

ShellCheck – check basic POSIX shell script errors

2015/08/03

Here is description of the tool: […] To install dnf install ShellCheck And just run the tool on the script to get the common errors.

Paste clipboard is bash or shell scripts with modification.

2010/07/20

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 …


This website uses cookies to ensure you get the best experience on our website. Learn more Got it