Tag Archive for iPad2

ls error on iPad2 4.3.3 jailbreaked devices

I am getting error on terminal when running ls command.

Error as below:
>ls
>ls: unrecognized prefix: hl
>ls: unparsable value for LS_COLORS environment variable

Problem is stated in Debian Bug report logs – #544871 – coreutils: ls complains about LS_COLORS: unrecognized prefix: hl, color define has been changed from hl to mh, which produced the error.

Solution:
edit /etc/profile.d/coreutils.sh
change line to: eval “$(dircolors -b | sed s/hl/mh/)”
then run: source /etc/profile.d/coreutils.sh
ls then now works.