利用BASH脚本运行IDL程序、创建子目录或删除文件

有时候你想在一个目录的所有子目录下批量建立文件夹,并且批量的运行这些子目录内新建立好的文件夹内的 IDL 程序,以下是一种可能的解决途径,如果你有更好的方法,欢迎告诉我 Here are the things I want to do:  I have a data folder containing many sources, like Arp220, NGC981, etc.. Each of them possesses a folder under the whole data folder (./source/Arp220, ./source/NGC891, …). I want to create a subfolder named “plot” under each sources folder, e.g., ./source/Arp220/plot. And then I want…

pgplot quick install guide

Here you can follow the steps to install pgplot on you linux OS. First, you need to be sure you have X11 lib development packages installed, and then just follow the steps copied as below: su cd /usr/local/src wget  ftp://ftp.astro.caltech.edu/pub/pgplot/pgplot5.2.tar.gz tar -zxvf pgplot5.2.tar.gz cd pgplot mkdir /usr/local/pgplot cd !$ cp /usr/local/src/pgplot/drivers.list . then use vim…