How to set up a Samba file server to use with Windows clients

According to the Samba project web site, Samba is an open source/free software suite that provides seamless file and print services to SMB/CIFS clients. Unlike other implementations of the SMB/CIFS networking protocol (such as LM Server for HP-UX, LAN Server for OS/2, or VisionFS), Samba (along with its source code) is freely available (at no […]
Continue reading…

 

How to speed up directory navigation in a Linux terminal

As useful as navigating through directories from the command line is, rarely anything has become as frustrating as repeating over and over “cd ls cd ls cd ls …” If you are not a hundred percent sure of the name of the directory you want to go to next, you have to use ls. Then […]
Continue reading…

 

How to use LVM in Linux

Logical Volume Manager (LVM) is a versatile disk management system that can easily be used in Linux or similar operating systems. Traditional partitions are created in fixed sizes, and resizing them is a tedious process. On the other hand, LVM creates and manages “logical” volumes off of physical hard disks, and provides administrators the flexibility […]
Continue reading…

 

How to set up automatic filesystem checks and repair on Linux

One of the most important tasks in Linux administration is to check the integrity of the filesystem. The Linux filesystem can be damaged under various circumstances, e.g., system crash, power loss, disconnected disk, accidentally overwritten i-node, etc. Thus it is a good idea to check the integrity of the filesystem regularly to minimize the risk […]
Continue reading…

 

How to mount Google Drive on Linux

As I speak, more than 22,000 people signed up for a petition, desperately wanting to have an official native Linux client for Google Drive, and yet their voice is still being ignored by Google. Perhaps when it comes to boosting their bottom line, Linux desktop market is not a priority for Google. They can ignore […]
Continue reading…

 

What is a good file manager for Linux?

One of must-have utilities on Linux desktop is file manager (or file browser). A typical file manager can not only handle common file management operations, but also offer advanced functionality that differentiates itself with others. If you are not happy with a default file manager that comes with the Linux desktop you are using, don’t […]
Continue reading…

 

How to synchronize files between two servers bidirectionally

Suppose you have a collection of files which are replicated on two different servers. The two replicas are then modified independently, and you want whatever changes made in one replica to be propagated to the other, so that both replicas remain in sync. There are several file mirroring tools on Linux, such as rsync or […]
Continue reading…

 

How to clean up disk space on Linux

If you have an aged Linux system, chances are that you have a lot of disk space wasted due to things like application-specific caches (e.g., browser caches), system caches (e.g., apt cache), unnecessary locale files or other temporary files. With so many different ways files are generated, it is hard to track down the wasted […]
Continue reading…