Nine Rivers

Molecular modeling in Materials Sciences Web development Programming IT

Entries Tagged ‘linux’

Uncompress tar to specific directory + Other tar/untar tricks

The order of the options of tar command does matter on some systems (Cygwin problem is discussed in this post).

Copy/paste in gnome-terminal

1. Change the default keyboard shortcuts to ctrl+c and ctrl+v. They are more common shortcuts on most OS. 2. Highlighting texts and Middle mouse button clicking will do copy/paste. These are similar to the operation in PuTTY where right mouse button click is used.

Print directory tree on Windows and Linux using tree, sed, awk or Python

Windows: there is ‘tree.com‘ command showing the directory structure. http://chxkyy.javaeye.com/blog/213864

Python and pizza.py

Pizza.py is a post-processing tool package for lammps – a MD package. I downloaded it and unpacked in a local directory. Each time I have to start it with a command like “python -f abs_path/pizza.py” where the abs_path is the absolute path to pizza.py source directory. However this directory is very long on my computer [...]

  

Your Name (required)

Your Email (required)

Subject

Your Message

留言类型: 一般留言 交换链接

captcha

Enter the validation code here: