How to find a list of all files that end in multiple extensions using the Linux command line
Use this command: find /home/domain/public_html/ -type f -iname ‘*.jpg’ -or -iname ‘*.pdf’
Use this command: find /home/domain/public_html/ -type f -iname ‘*.jpg’ -or -iname ‘*.pdf’
Background rsync is powerful and easy to use utility to keep files in sync between two servers. The principal way of rsync‘s command structure is
The key to solving Linux related server problems is to know where the log files are stored and to be able to get to them
Use the following flags with ‘ls’ to control the directory date sort order: ls -lat -l is for long style -a is for all (including
Use this command: # chkconfig service_name on or off
Background It’s really useful to see how many virtual CPUs (vCPU) cores you have when you’ve just upgraded your VPS hosting. Use the command below
Use the following flags to order a directory listing by date in forward order: ls -lat To show a directory listing in reverse order, use
Introduction Here are some commands to assist with mastering disks and file systems on Linux. See Disk Space Available duf versus df -h duf is
Problem: You need to make sure that your disks are 100% redundant. Solution: A popular way on Linux to do this is DRBD. Here are
Problem: You need to know if your DRBD and OCFS2 disk fault tolerance has been setup correctly but the configuration options are overwhelming. Solution: See