基本コマンド
学部一回生配当の基礎情報処理演習に載ってる基礎コマンドです。参考まで。
コマンド名 | 機能 | 形式例 |
cat | ファイルを連結して表示 | cat file1 file2 ... |
ls | ディレクトリの内容の表示 | ls name |
cd | 作業ディレクトリを変更する | cd dir |
mkdir | ディレクトリの作成 | mkdir dir |
rm | ファイルまたはディレクトリの削除 | rm file ... |
rmdir | ディレクトリの削除 | rmdir dir ... |
mv | ファイルの移動または改名 | mv file1 file2 |
mv file... directory | ||
cp | ファイルの複写 | cp file1 file2 |
cp -r dir1 dir2 | ||
emacs | ファイルの編集(エディタ) | emacs file |
追加で、知っておいた方がいいかなというコマンド群
コマンド名 | 機能 | 形式例 |
pwd | 現在のディレクトリを表示 | pwd |
less | ファイルの内容を表示 | less file |
コマンドの出力を他のファイルへ出す | command > file | |
env | 環境変数を表示 | env |
grep | ファイル中から特定の文字列を含む行を抽出 | grep file words |
ssh関連
myouhou.ddo.jpの/Data/hoge.txtを自分のpcのカレントディレクトリにコピーするには
scp USERNAME@myouhou.ddo.jp:/Data/hoge.txt ./
という風にやります。(asn wrote)
myouhou.ddo.jpの/Data/hoge.txtを自分のpcのカレントディレクトリにコピーするには
scp USERNAME@myouhou.ddo.jp:/Data/hoge.txt ./
という風にやります。(asn wrote)
emacs使い方
慶応大のどっか:これだけあれば大丈夫。
http://www.sfc.keio.ac.jp/mchtml/cns-guide/2000/4/index.html
http://www.sfc.keio.ac.jp/mchtml/cns-guide/2000/4/index.html
Emacs Lisp:設定ファイルなど。当面は必要なし
http://flex.ee.uec.ac.jp/texi/emacs-jp/emacs-jp_toc.html
http://flex.ee.uec.ac.jp/texi/emacs-jp/emacs-jp_toc.html