Bash commands such as awk and sed are very handy tools when dealing with text files. For example, if line 30~70 in a pw.out file are the atom coordinates, we can simply type in the terminal:
$ sed -n '30,70' pw.out
and line 30~70 will show up on the terminal.
Things get tricker when the line numbers are variables. Often times we want to use sed in a bash script,...
[VMD] Run vmd from Mac terminal

Our work can be done faster and more efficiently if we do everything through the terminal.
To ask vmd to open a file through MacOS X terminal, just type in:
$/Applications/VMD\ 1.9.1.app/Contents/Resources/VMD.app/Contents/MacOS/VMD
One-liner!
Of course, I prefer a shorter version of the command vmd. Add the alias...
Posted on February 6, 2014
Subscribe to:
Posts (Atom)