server - ls command not working under ubuntu 16.04 - Ask Ubuntu
i looked question of ls command not working in ubuntu 14.04.
i exact same error.
ls: unrecognized option '--color=auto' busybox v1.22.1 (ubuntu 1:1.22.0-15ubuntu1) multicall binary.
here output of question @eliah kagan asked in comment above question: $mount
ls command output
ls: unrecognized option '--color=auto' busybox v1.22.1 (ubuntu 1:1.22.0-15ubuntu1) multicall binary.
i looking @ grub.cfg , did not save changes when exited, started getting error. can provide pointers of possible fix?
examine current definition of ls
type ls
it typically respond with
ls aliased `ls --color=auto'
if not take inside ~/.bashrc , section there default ... if not there put ~/.bashrc
# enable color support of ls , add handy aliases if [ -x /usr/bin/dircolors ]; test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" alias ls='ls --color=auto' #alias dir='dir --color=auto' #alias vdir='vdir --color=auto' alias grep='grep --color=auto' alias fgrep='fgrep --color=auto' alias egrep='egrep --color=auto' fi
its alias defined default ... shell bash ?
echo $shell
if shows you
/bin/bash
then above fix issue ... once done open new terminal or source settings
source ~/.bashrc
ls ok
if not ok remove ls alias in ~/.bashrc (hint ls coming busybox not adhering standard ls)
~/.bashrc
contains personalizations augment system wide default of
/etc/bash.bashrc
Comments
Post a Comment