Windows共有のフォルダへの共有方法について、mountコマンドの備忘録です。
すぐにオプションを忘れてしまうので…
mount -t cifs -o rw,username=xxx,password=xxx,codepage=cp932,iocharset=utf8 //xx.xx.xx.xx/xxxxx /xxx/xxxxx
何気ないメモ書きを貯めていこう!!!
11
11月
Windows共有のフォルダへの共有方法について、mountコマンドの備忘録です。
すぐにオプションを忘れてしまうので…
mount -t cifs -o rw,username=xxx,password=xxx,codepage=cp932,iocharset=utf8 //xx.xx.xx.xx/xxxxx /xxx/xxxxx
26
6月
# zip -P パスワード -e 任意のファイル名.zip zipファイルにしたいファイル名
ディレクトリごと配下のファイルも一緒にzip形式に圧縮する場合
# zip -P パスワード -e 任意のファイル名.zip ./ディレクトリ名/*
15
6月
基本構文
nkf オプション ファイル名 [> 出力ファイル名]
文字コードチェック
nkf -g ファイル名
文字コード変換(UTF-8)
nkf -w –overwrite ファイル名
文字コード、改行コード変換(UTF-8、Unix形式(LF))
nkf -w Lu –overwrite ファイル名
ダメな例(ファイルの中身が空になるので、必ず別名を指定!!)
nkf -w ファイル名 > ファイル名
その他オプション
-e : EUCコードを出力
-s : Shift-JISコードを出力
-w : UTF-8コードを出力(BOM無し)
-Lu : unix改行形式(LF)に変換
-Lw : windows改行形式(CRLF)に変換
-g : 自動判別の結果を表示
–overwrite : 引数のファイルに直接上書き
3
6月
WebminをMACOSでも使いたく。
MyphpAdminがどうも制限でうまく動かないので、何とかと思って。
http://earlybirds.ddo.jp/namahage/inegalog/article.php?id=21
まだ入れてないけど、入ったらいいなーー。
月 | 火 | 水 | 木 | 金 | 土 | 日 |
---|---|---|---|---|---|---|
« 5月 | ||||||
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |