≡ Menu

File system

Linux Create Software RAID 1 (Mirror) Array

How do I create Software RAID 1 arrays on Linux systems without using GUI tools or installer options? How do I setup RAID 1 array under Linux systems?
[click to continue…]

Sysadmin because even developers need heroes!!!

Solaris UNIX Configure Disk Quota For UFS File System

How do I configure file system quotas to control how much available storage space can be used on a given UFS file system (such as /export/home) under Solaris UNIX operating systems?
[click to continue…]

FreeBSD: Benchmark The Disks Seek And Transfer Performance

How do I perform a simple and rather naive benchmark of the disks seek and transfer performance under FreeBSD operating system? How do I perform a simple measurement of the I/O read command overhead for my RAID-1 array under FreeBSD operating systems?
[click to continue…]

Samba: Allow Domain Controllers Create Machine Trust Accounts On-the-Fly

How do I allow domain controllers to create machine trust accounts on-the-fly under RHEL CentOS Linux version 5.x?
[click to continue…]

Linux Remove All Partitions / Data And Create Empty Disk

How do I remove all partitions, data and create clean empty hard disk under Linux operating systems?
[click to continue…]

Linux Disable Shell / FTP Access For a User Account

My users will only be checking mail, and I want to disable FTP access as well as shell access under CentOS Linux. How do I disable shell (SSH) and FTP access to a new or old user under Linux without deleting user account?
[click to continue…]

UNIX / Linux Dump Command Exclude Directories / Files

I‘m using dump command to backup file systems to tape and remote server. However, I’m not able to find any option that will allow me to exclude files or directories from backup. How do I force UNIX / Linux / FreeBSD dump command to exclude selected files (such as /var/cache or /usr/basejails) which I don’t want to backup?
[click to continue…]

Linux Iptables Allow NFS Clients to Access the NFS Server

The portmapper assigns each NFS service to a port dynamically at service startup time. How do I allow legitimate NFS clients to access the NFS server using RHEL / Fedora / CentOS Linux 5.x iptables firewall?
[click to continue…]

Use BASH nullglob To Verify *.c Files Exists or Not In a Directory

Can you explain me usage of nullglob variable under BASH? How do I check for any *.c files in any directory?
[click to continue…]

Linux / UNIX Find All World-Writable Directories Have Sticky Bits Set

How do I find out all world writable directories have sticky bits set under CentOS Linux server?
[click to continue…]