pwd // 現在のディレクトリ位置を示す。 mkdir temp // 新しいディレクトリtempを作る。 cd temp // ディレクトリtempに移る。 cd // ホームディレクトリに戻る。 ls // ファイルやディレクトリの名前を表示する。 ls -l // ファイルやディレクトリのの詳細を表示する rm -r temp // ディレクトリtempを消す(remove)。
#include <iostream>
int main()
{
int a,b,c;
a=100;
b=5;
c=a+b;
std::cout << "a,b,c=" << a <<","<< b <<","<< c << std::endl;
return(0);
}
g++ test.cc //コンパイルする。
[1]+ Running ./a.exe > out1 & などの表示がでる。このjobを途中で中止したいときは