{{theTime}}

Search This Blog

Total Pageviews

Shell script tip to check an empty string

if [ ! -r "${VAR_NAME}" ] ; then
echo "String is empty or null"

No comments:

Java Shutdown Hook

Runtime.getRuntime().addShutdownHook(new Thread(() -> {             System.out.println("Shutdown started");              //  Cl...