Category Archives: Uncategorized

Search text inside a file recursively

When you need to search recursively inside a structure of directories you need to run the following command from the console: find /srv -type f -follow -exec grep –with-filename –line-number “apache2ctl” {} ; This will search in every file from every folder from /srv and will show in which file and at each line it… Read More »

Start Apache & MySQL when your Linux starts

If you want to set what programs will start when you boot your Linux machine you must set the Run Levels. A visual way to do this, from OpenSuse 11.0 is: Yast -> System -> System Services (Run Level) -> Expert Mode After this you must enable those services. Cheers,