mac:coreutils

coreutils - GNU Core Utilities

GNU版基本コマンドパッケージをインストールする。

$ sudo port -v install coreutils

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
  • mac/coreutils.txt
  • 最終更新: 2019/05/18 02:23
  • by 非ログインユーザー