≡ Menu

Filesystem Tutorials and HowTos

Tutorials and commands about Linux, Apple OS X, BSD and Unix like file system. Includes file system management, creating file systems & volumes, software RAID, backups, recovery, and conman operations on file systems ( rss feed ).

Unix / Linux: Check New Files In File System /var/www/uploads/

Recently, I switched from MS-Windows based web-server to CentOS Linux based Apache web-server. All user uploaded files are stored in /var/www/uploads/ directory. Is there command that can give me a list of files that have been added to the filesystem at /var/www/uploads/ in last 7 days on Linux/Unix-like oses?
[click to continue…]

Debian / Ubuntu: Install Duplicity For Encrypted Backup In Cloud

My cloud based backup service provider has ssh access to the backup system. How do I install and configure duplicity software for remote backups in incremental and encrypted format on Debian or Ubuntu Linux based desktop / laptop / server?
[click to continue…]

HowTo: Find a Directory On Linux Based System

I just switched from MS-Windows server admin to Debian Linux server admin role. I need to find a directory called project.images. I was also told that the locate command is the simplest and quickest way to find the locations of files and directories on Linux. But, the locate command is not working out for me. How do I find project.images directory using command line options only?
[click to continue…]

Linux: Find Out How Much Disk Space Left On Hard Drive

I am a desktop support professional with experience working in a corporate call center environment. Recently, I started to admin RHEL based IBM Linux server. How do I determine how much disk space left in my Linux server? How do I find out how much disk space I have in Linux for each partition?
[click to continue…]

Linux / Unix: which Command Examples To Find Out A Program File

which command

I am a new Linux and Unix-like system user. How do I find out gcc compiler path on Linux? How can I locate a program file in path on Linux or Unix-like systems?
[click to continue…]

Python Delete/Remove a File If Exists On Disk

How can I check if a file exists in a directory with Python and then delete/remove it using python program?
[click to continue…]

Linux / Unix: Rsync Copy Hidden Dot Files and Directories Only

How do I use the rsync tool to copy only the hidden files and directory (such as ~/.ssh/, ~/.foo, and so on) from /home/jobs directory to the /mnt/usb directory under Unix like operating system?
[click to continue…]

Synology Nas: Run Fsck To Check and Repair a Linux File System

I own a Linux powered Synology dedicated Network Attached Storage (NAS) server for my home office use. How do I run fsck on Synology DiskStation that offers RAID storage using Linux command line options over an ssh session?
[click to continue…]

Linux Find And Report On File Fragmentation

How do I find out badly fragmented a particular file might be under Linux operating systems?
[click to continue…]

Linux: Mount Disk Partition Using LABEL

How do I mount the filesystem (disk partition) using the filesystem label on the ext3/ext4 file system located on USB disk or hard disk under Linux operating systems?
[click to continue…]