How to Flush DNS Cache in Mac OS X
After upgrading to 10.8.2 I have got a problem with adding a new entry into hosts file: the update was recognised only after system restart. But a more easy solution was just to flash DNS cache! So,...
// 5 matches
After upgrading to 10.8.2 I have got a problem with adding a new entry into hosts file: the update was recognised only after system restart. But a more easy solution was just to flash DNS cache! So,...
Another (and more easy) way to change text in multiple files is to use grep: grep -lr -e 'oldtext' * | xargs sed -i 's/oldtext/newtext/g' or to use PERL: perl -p -i -e ’s/oldtext/newtext/g’ *
Just after I posted this article the second more easy solution has been found. Here it is: Find (search) and replace text from command line in multiple files (Linux) #2 When you are working on the...
Configuration identify yourself to git: email and your name git config --global user.name "John Smith" git config --global user.email "abc@mail.com" To view all options: git config --list OR cat...
Vim is an editor to create or edit a text file. There are two modes in vim. One is the command mode and another is the insert mode. In the command mode, user can move around the file, delete text,...