Monthly Archives: February 2020

[Unix] MultiTail – extended version of tail -f

Sometimes there is a need to track more than 1 file using tail -f. You can simply type tail -f file1.txt file2.txt but results might be inappropriate to your needs. The output will be something like: ==> file1.txt Continue reading

Posted in operating systems, snippets, unix | Tagged , , | Leave a comment

[Java] Spring IoC Container – autowiring

The thing I want to introduce you is autowiring in Spring IoC Container. Autowiring is the mechanism that allows developer to write less XML code and moves the responsibility for wiring beans to Spring. I suppose you have read previously … Continue reading

Posted in coding, enterprise edition, java | Tagged , , , , , | Leave a comment

[Java] Example of Spring IoC (Inversion of Control) – dependency injection

Tired of changing your Java code and recompiling project when you want to change objects’ properties? The one possible solution is to create external file keeping all desired data and creating objects by hand. But… Wait a minute, doesn’t Java … Continue reading

Posted in coding, enterprise edition, java | Tagged , , , , , , , , | 1 Comment

[Unix] Basic usage of tar tool

In this article I would like to describe basic options of tar tool – Tape ARchive. The most common use of it includes using gzip compression to achieve tarball of *.tar.gz format. Basic compression: [[email protected]:~]$ tar cvvzf catalog.tar.gz catalog/ drwxr-xr-x … Continue reading

Posted in operating systems, snippets, unix | Tagged , , , | Leave a comment

[Unix] Mounting remote filesystems

Sometimes we have to mount remote filesystem. In this short snippet I will show you how to do it. You have to have applications: sshfs and fusermount. The first one is used for mounting remote filesystems and the second one … Continue reading

Posted in operating systems, snippets, unix | Tagged , , , , | Leave a comment