Quantcast
Channel: Geek Help Guide » Linux
Browsing all 5 articles
Browse latest View live

Easy Linux Command for Text Replace over Multiple Files

On Windows, there are a host of nice free editors like Notepad++ to do a search and replace over multiple files quite easily, and that’s exactly how I do it. However, with a powerful command line...

View Article



Recursively Search and Replace Strings in Linux with Perl

Previously, I covered a dead simple one-line Perl command to perform a string search and replace over multiple files on the Linux command prompt. While it did its job for me that day, today I had to do...

View Article

Remove DOS ^M Line Endings in Vim

I do most of my work in Vim since it’s the easiest to use without a mouse. Moving between keyboard and mouse can be tiring, especially when coding, so Vim is particularly good at keeping your hands in...

View Article

How to Create a Link Shortcut with .htaccess

Following this method allows you to create a “shortcut” link on your website which takes your visitor to the real link. This can be done a number of ways, but nothing beats the simplicity of using the...

View Article

Passing Password to sudo Command Line

While it’s not a secure idea, you can supply the root password to the Linux ‘sudo’ command if you don’t mind revealing it on the screen for other people to see. Doing so is just a matter of piping the...

View Article

Browsing all 5 articles
Browse latest View live




Latest Images