[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
75.1 Introduction to operatingsystem | ||
75.2 Directory operations | ||
75.3 File operations | ||
75.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 October, 4 2018 using texi2html 1.76.