Category Archives: unix

Examples of using basic features of UNIX-like operating systems.

[Databases] MongoDB – document-oriented NoSQL storage

MongoDB is an open-source NoSQL database. It is written in C++. Manages collections of documents saved in BSON (Binary javaScript Object Notation, it extends JSON) format. In the article I want to show basic CRUD (Create, Remove, Update, Delete) operations … Continue reading

Leave a comment

[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 but results might be inappropriate to your needs. The output will be something like: What to do when you don’t want those … Continue reading

Leave a 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: Basic decompression: Options explain: x – … Continue reading

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

Leave a comment

[Unix] The fastest way to log into another machine using ssh

Writing passwords every time you log into another Unix machine using ssh disturbs you? It could be much simpler: Solution: Home: 1. Add to /etc/hosts (as root): 2. Add to ~/.ssh/config (as user): 3. Generate keys (as user): 4. Copy … Continue reading

Leave a comment