Posts tagged 'linux'
How to find & replace a string in multiple files recursively using sed
I had to replace a string in multiple files in one of my project and i have to do it recursively because the files in the inner directories also contains that word. I intented to do this using sed command in linux, rather than going for the options available in the editor.
Cannot find autoconf Please check your autoconf installation
Recently i tried to install development version lampp. While running phpize command during the installation, i got "Cannot find autoconf Please check your autoconf installation" and the $PHP_AUTOCONF environment variable.
configure: error: no acceptable C compiler found in $PATH
This error usually occurs when you installing a program and its missing gcc compiler location in the $PATH variable, one of dependencies for the program you are installing.
How to delete multiple files containing certain string/extension linux
As we seen in our previous articles we can use grep command in combination with two other commands to delete multiple files which has certain string in the file name or same extension in linux.
Grep files and copy / move selected files to another place recursively
Grep command allows us to filter the content from the input which matches the pattern. Here we are going to use combination of three commands including grep, to copy / move the files recursively to another directory which matches our pattern
Mount a device in linux
Devices can be easily mounted in linux using mount command. Lets check how to do it.