close
Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": libsvn_fs_base-1.so.1: failed to map segment from shared object: Cannot allocate memory). Look in the Trac log for more information.
- Timestamp:
-
Jun 29, 2011, 7:54:44 AM (13 years ago)
- Author:
-
adherelinux
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
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 | |
| 9 | if [ -f ~/.bashrc ]; then |
| 10 | source ~/.bashrc |
| 11 | fi |
| 12 | |
| 13 | 後來把 |
| 14 | source ~/.bashrc |
| 15 | 改成 |
| 16 | `/bin/bash -c 'source ~/.bashrc'` |
| 17 | 就可以執行了 |