Changes between Initial Version and Version 1 of adherelinux/drbl-mpi/20110629


Ignore:
Timestamp:
Jun 29, 2011, 7:54:44 AM (13 years ago)
Author:
adherelinux
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • adherelinux/drbl-mpi/20110629

    v1 v1  
     1== drbl-mpi shell script ==
     2我想應該要開始把drbl-mpi這個 shell script寫個初版了[[br]]
     3前陣子一直忙於做計算,昨天看了以前同事的code,想說用他的方式來撰寫[[br]]
     4,本來要用source這個指令  竟然再ubuntu一直給我出現 source not found
     5
     6
     7#!/bin/bash
     8
     9if [ -f ~/.bashrc ]; then
     10  source ~/.bashrc
     11fi
     12
     13後來把
     14source ~/.bashrc
     15改成
     16`/bin/bash -c  'source ~/.bashrc'`
     17就可以執行了