0

I was trying this command for listing files in human readable form:

$ ls -lh                                                                                                                                         
ls: illegal option -- h
usage: ls -1RaAdCxmnlogrtucpFbqisfL [files]

Is there a way to enable it?

I am using Sun SPARC:

$ uname -a                                                                                                                                       
SunOS www 5.8 Generic_108528-16 sun4u sparc SUNW,UltraAX-i2
user9517
  • 115,471
  • 20
  • 215
  • 297
neversaint
  • 103
  • 1
  • 1
  • 5

2 Answers2

4

Probably not whilst still using Solaris 8, you'll probably need to upgrade to get that functionality.

user9517
  • 115,471
  • 20
  • 215
  • 297
3

The GNU version of ls can be found in the coreutils package at Sun Freeware.

Tom Shaw
  • 3,752
  • 16
  • 23