| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
| 74.1 Introduction to operatingsystem | ||
| 74.2 Directory operations | ||
| 74.3 File operations | ||
| 74.4 Environment operations |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
パッケージ operatingsystemは、
ファイルシステム操作のようなオペレーティングシステムのタスクのための関数を含みます。
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
ディレクトリ dirに変えます。
ディレクトリ dirを作ります。
ディレクトリ dirを削除します。
現在のワーキングディレクトリを返します。
directoryも参照して下さい。
例:
(%i1) load("operatingsystem")$
(%i2) mkdir("testdirectory")$
(%i3) chdir("testdirectory")$
(%i4) chdir("..")$
(%i5) rmdir("testdirectory")$
|
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
ファイル file1を file2にコピーします。
ファイル file1を file2にリネームします。
ファイル file1を削除します。
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
環境変数 envの値を取得します。
例:
(%i1) load("operatingsystem")$
(%i2) getenv("PATH");
(%o2) /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
| [ << ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This document was generated by 市川雄二 on June, 5 2017 using texi2html 1.76.