=============lsコマンドの結果をカラー表示する。================
% vi .cshrc
# $FreeBSD: releng/12.1/share/skel/dot.cshrc 337497 2018-08-08 19:24:20Z asomers $
#
# .cshrc - csh resource script, read at beginning of execution by each shell
#
# see also csh(1), environ(7).
# more examples available at /usr/share/examples/csh/
#
alias h history 25
alias j jobs -l
alias la ls -aF
alias lf ls -FA
alias ll ls -lAF
alias ls ls -FG ←この行を追加する
# These are normally set through /etc/login.conf. You may override them here
# if wanted.
# set path = (/sbin /bin /usr/sbin /usr/bin /usr/local/sbin /usr/local/bin $HOME/bin)
# setenv BLOCKSIZE K
# A righteous umask
# umask 22
setenv EDITOR vi
setenv PAGER less
setenv CLICOLOR ←この行を追加する
if ($?prompt) then
# An interactive shell -- set some stuff up
#
# .cshrc - csh resource script, read at beginning of execution by each shell
#
# see also csh(1), environ(7).
# more examples available at /usr/share/examples/csh/
#
alias h history 25
alias j jobs -l
alias la ls -aF
alias lf ls -FA
alias ll ls -lAF
alias ls ls -FG ←この行を追加する
# These are normally set through /etc/login.conf. You may override them here
# if wanted.
# set path = (/sbin /bin /usr/sbin /usr/bin /usr/local/sbin /usr/local/bin $HOME/bin)
# setenv BLOCKSIZE K
# A righteous umask
# umask 22
setenv EDITOR vi
setenv PAGER less
setenv CLICOLOR ←この行を追加する
if ($?prompt) then
# An interactive shell -- set some stuff up
=====================sudoをインストール====================
# pkg install -y sudo
# visudo
# %wheel ALL=(ALL) ALL←この行の先頭のコメント#を外す。
%wheel ALL=(ALL) ALL
インストールの際に自身のユーザーをwheelグループで作成していない場合は,wheelに昇格させるか,新たに追加する。