yum -y install nano echo “set nowrap” >>/etc/nanorc cat <<EOF >>/etc/profile.d/nano.sh export VISUAL=”nano” export EDITOR=”nano” EOF cat <<EOF >>~/.bash_profile export VISUAL=”nano” export EDITOR=”nano” EOF Try your changes for example ; visudo Read more →
