A Quote from qotd.org
A stranger always has
his homeland in his arms
like an orphan
for which he may be seeking
nothing but a grave.
Nelly Sachs
1891 - 1970Archives
- September 2017
- June 2017
- February 2017
- June 2016
- December 2015
- September 2015
- July 2015
- June 2015
- January 2015
- November 2014
- August 2014
- June 2014
- May 2014
- April 2014
- February 2014
- January 2014
- September 2013
- August 2013
- July 2013
- June 2013
- May 2013
- March 2013
- February 2013
- January 2013
- November 2012
- August 2012
- June 2012
- February 2012
- January 2012
- December 2011
UserOnline
Recent comments
Monthly Archives: June 2012
Howto install gallery3 on centos6
Today I installed gallery3. I was looking for an easy way to share some pictures on my webserver and found this tool on the internet. The installation was not as easy as expected: download the .zip file. extract it to … Continue reading
Howto use vi as a hex file viewer
To view file in hex mode in vi use the following commands: :%!xxd and :%!xxd -r to switch it back to normal mode.
Posted in Bash, vi
Leave a comment
Easy monitoring of an Intersystems Cache shadow server
The other day our shadow server stopped working without any visible reason. So I was looking for an easy way to monitor the server. We are using Nagios as the monitoring solution. The problem was how to get the necessary … Continue reading
Posted in Bash, Nagios
5 Comments
Bash: How to trim a string or a variable
Sometimes you are looking for a simple way to get rid of leading or tailing spaces in a string or variable. Here’s a function I usually use in my bash scripts: function trim() { trvar=$1 trvar=”${trvar#”${trvar%%[![:space:]]*}”}” trvar=”${trvar%”${trvar##*[![:space:]]}”}” echo -n “$trvar” … Continue reading
Posted in Bash, Linux, Uncategorized
1 Comment