Sometimes the rpmdb checksum is invalid. To fix that I have created a simple function in bash script that reads the input from stdin. If yes in any kind or y ignore case is entered, the rpmdb will be rebuild and we clean the local yum cache.
Sometimes the rpmdb checksum is invalid. To fix that I have created a simple function in bash script that reads the input from stdin. If yes in any kind or y ignore case is entered, the rpmdb will be rebuild and we clean the local yum cache.
This blog post demonstrates a small example how helpful netstat can be. netstat is capable to display all used ports of the user processes.
This post demonstrates you how you can set the defined log levels of log categories (e.g. classname) and of the root logger in the standalone.xml. Same applies to the domain mode. Just add the profile name before the cli command. It was very useful, to correct the verbose output of a running application in production.
As a special daily deal I bought the Kingston SSDNow V300 240 GB for my linux notebook, Lenovo Thinkpad Edge S430. This post is going to illustrate the differences and performance gain due to the upgrade.
Today a co-worker asked me how to get the value of a configuration entry from a java properties file. For this purpose cut
does a splendid job.
A small example how to use the date function in the linux shell. For ISO-Format yyyy-MM-dd
⇒ %Y-%m-%d
I had to write recently some shell scripts that may be used for LSB like init.d services. It was a quite good experience and fresh up of my bash scripting skills.
I got some bash scripts handed out and saw that some variables are referenced like that
Working under terminals or cli interfaces can be a messy thing. From time to time it is nice to have a clear screen. This little post shows how to do that.