There are a number of ways to compress and uncompress files and folders in a linux terminal but I typically use tar.gz; Weiterlesen „Compress Uncompress files in Linux“
Schlagwort: linux
String replace in multiple files using a recursive file search
Here is a command line method to replace a string in multiple files in the current and sub directories.
Weiterlesen „String replace in multiple files using a recursive file search“
Get last line of file in PHP
Here is a simple way to get the last line of a file without reading the entire file into memory.
Weiterlesen „Get last line of file in PHP“
