You are currently viewing the post archives for the
"Bash" category. All the posts below
have been assigned to this category for easy reference.
Posted 1 week from now.
When writing bash scripts to run on Linux, it's often useful to perform operations relative to the executing script's current directory. But how do you get the absolute path to this directory? I have a useful little script that will get the current working path for you.
Posted 4 months ago.
Find yourself needing to connect to an Apache Derby database? I found a rather basic (but useful) quickie on how to connect and get yourself up and running with connecting to an Apache Derby database. http://www.phpin24.co.za/command-line-shell-scripting/connecting-to-derby-db-from-command-line/
Posted 7 months from now.
Sending mail through the Linux command line can sometimes be a tricky issue. If you don't know how to set up your own mail server, but have a readily accessible SMTP residing elsewhere, I'll show you how to use a readily-available Debian/Ubuntu package to send your mail through this SMTP server quickly and easily.
Posted 6 months from now.
I've often come across instances where it is very useful to password protect a directory for external visitors, and allow internal visitors to view the directory without authentication. In this post, I'll show you how to easily set this up for multiple ranges of IP addresses.
Posted 3 months from now.
I’ve been creating some bash scripts for an importer we are running at work. I was looking to do two things with this. Firstly, I wanted to brush up on my knowledge of bash scripting. Secondly, I wanted to improve the notifications sent out from the importer. I managed to get everything working fine. Except [...]