This article will show you how to kill (or end) multiple processes or instances of a running script with a single command. If you are like me, you have run into this situation many many times. You run the ps command to list all the currently running processes and you see that there are multiple… Read more
Shell
Find the CPU (processor) speed and model under Linux
This article will show you how to find CPU (processor) type, speed, cache size, and much more under Linux. To find this information you will need to login to the Linux command-line shell and and enter the following command at the $ (or #) prompt: $ cat /proc/cpuinfo Sample Output processor : 0 vendor_id … Read more
Shell command to bulk change file extensions in a directory (Linux)
This article will explain how to change the file extension for all files in a directory in Linux using a simple bash shell command. 1. Change from one extension to another The command below will rename all files with the extension .php4 to .php for f in *.php4; do mv $f `basename $f .php4`.php; done… Read more