====== coreutils - GNU Core Utilities ====== ===== coreutils のインストール ===== GNU版基本コマンドパッケージをインストールする。 $ sudo port -v install coreutils ===== Red Hat 風に ls コマンドの alias を設定 ===== coreutils のコマンド群は Mac OS X のコマンド群と共存するために「g」から始まる名前でインストールされる。 alias l.='gls -d .* --color=auto' alias ll='gls -l --color=auto' alias ls='gls --color=auto' alias を有効にする。 $ source ~/.bashrc ===== 参考文献 ===== [[http://googlewhacks.blogspot.jp/2008/01/macportscoreutilsg.html|Mint's log: Macportsのcoreutilsコマンド群はなんでも「g」から始まる]]\\ [[http://www.itmedia.co.jp/help/tips/linux/l0372.html|ITmedia エンタープライズ : Linux Tips「ls実行時に表示される配色を変更したい」]]\\