Bash Base Dir
To set $SCRIPT_DIR to the directory where the script is, you can use this to find it savely.
To set $SCRIPT_DIR to the directory where the script is, you can use this to find it savely.
To write save shell scripts, you should start them with the following lines.
My new hosting provide Strato offers DynDNS.
Rename Photos
A small snippet from one of my scripts which tests whether your Mac is in the given (home) WLAN.
The Finder on OSX creates .DS_Store files in the directories to store its settings.
On our systems, the root account is set to be a role, so you can't login as root, just su to root from an user which has the root role.
Last Character
ShellCheck is an open source static analysis tool that automatically finds bugs in your shell scripts.
ShellCheck checks your scripts for bugs.
To show only data in SQLplus and no header or other stuff, enter the following: