CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

Daniel Wei's CFD Blog: (http://lakeat.co.nf/)

Register Blogs Community New Posts Updated Threads Search

Old

Useful Threads

Posted August 10, 2012 at 13:50 by lakeat (Daniel Wei's CFD Blog: (http://lakeat.co.nf/))

http://www.cfd-online.com/Forums/ope...residuals.html
lakeat's Avatar
Senior Member
Posted in Uncategorized
Views 1771 Comments 0 lakeat is offline Edit Tags
Old

新年快乐

Posted January 20, 2012 at 10:32 by lakeat (Daniel Wei's CFD Blog: (http://lakeat.co.nf/))
Updated July 6, 2012 at 22:09 by lakeat

Happy Chinese New Year!
lakeat's Avatar
Senior Member
Posted in Uncategorized
Views 1759 Comments 0 lakeat is offline Edit Tags
Old

Find & Replacement & Delete

Posted January 19, 2012 at 11:13 by lakeat (Daniel Wei's CFD Blog: (http://lakeat.co.nf/))

Here are some tips, to show that linux is really very powerful, once you know how to use it.

Example-1
If you want to find or replacement, you dont need to open an editor, gedit, or vi. You can just simply do the following (choose one).
Why not just vi and :%s....? Because, the following command can be implemented in a shell scripts, so once you have dozens of files to operate, this is the better way.

perl -e "s/old_string/new_string/g"
...
lakeat's Avatar
Senior Member
Posted in Uncategorized
Views 2354 Comments 1 lakeat is offline Edit Tags

All times are GMT -4. The time now is 00:55.