検索
検索
Sakakibara Hiroshi / 榊󠄀原 寛
文書の表示
以前のリビジョン
トレース:
この文書は読取専用です。文書のソースを閲覧することは可能ですが、変更はできません。もし変更したい場合は管理者に連絡してください。
[[コマンド]]\\ OS に関係なく利用できるコマンドに関して. ---- ====== zip コマンド ====== ===== (基本)zip ファイルを作成する ===== <code> % zip hoge.zip foo/*.jpg </code> ===== ディレクトリ情報は無視して,ファイルのみアーカイブする ===== <code> % zip -j hoge.zip *.jpg </code> ===== zip ファイルの中身を表示する ===== <code> % zip -sf hoge.zip </code> ====== rsync ====== ====== dhclient ====== * dhclient が勝手に、resolv.conf を書き換えるのをやめたいができない。 * しょうがないので、以下を加えて回避。 <code> # vi /etc/dhcp/resolv.conf prepend domain-name-servers 192.168.1.1; </code> ====== subversion ====== ====== convmv ====== * ファイル名の文字コード変更コマンド <code> convmv -r -f 元のエンコーディング -t 変更先エンコーディング --notest </code> * -f,-t: euc-jp, sjis, utf8 などを指定 * --notest: テストせずに,実行. * 参考ページ * http://www.geocities.jp/code_air_edge/HP/convmv.html ====== ffmpeg ====== ====== latex2rtf ====== * freebsd, linux ともに,標準のコマンドでは日本語に対応していない. * http://tauros.ams.eng.osaka-u.ac.jp/mt/jp/archives/2007_12.html ここに,日本語変換フィルタが公開されている. * euc-jp のみの対応なので,utf などの文章は気をつけること. ====== ssh port forward ====== * localhost:1234 -> 192.168.1.22:5901 <code> $ ssh -L 1234:192.168.1.22:5901 192.168.1.22 -l skk </code> * VNC の場合,ポート番号は 5900 + VNC サーバのディスプレイ番号.よって,5900+1 とか. ====== nslookup 使い方 ====== * 指定ドメインの mx を探す <code> > set type=mx > tsukune.org </code> * 指定ドメインの ns を探す <code> > set type=ns > tsukune.org </code> ====== iso 取り扱いツール ====== ===== isomaster ===== * GUI ベース. ====== cab file 取り扱いツール ====== ===== cabextract ===== ===== lcab ===== * .cab ファイル作成 ====== find でファイル削除 ====== linux, freebsd ともに,'{}' が指定したファイル名と置換される部分なので,別の引数は必要に応じて'{}'の前とか後とかにつける. ===== linux ===== <code> % find . -inode 11111 -ok rm '{}'\; </code> ===== freebsd ===== <code> % find . -inum 1111 -exec ls '{}' \; % mv `find . -inum 1111 -print` hoge.exe </code> ====== gnuplot ======
���ޥ��.txt
· 最終更新: 2012/11/14 13:52 by
127.0.0.1
文書の先頭へ