Unix Coloured Directory Structure Help

  • abhinav_8182
  • Beginner
  • Beginner
  • User avatar
  • Posts: 41

Post 3+ Months Ago

Hi All


I want to have a coloured directory structure in my unix as in Lynx . Is there any way out ....please help


Also is there any wayout by which i could have a second level of restriction on accessing my folders when someone already knows about my unix login n password ....


Thnx


Abhi
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • Daemonguy
  • Moderator
  • Web Master
  • User avatar
  • Posts: 2700
  • Loc: Somewhere outside the box in Sarasota, FL.

Post 3+ Months Ago

colorls
Though I thought several distributions came with a 'colorizer' built in?

Such as, to get colored directory listings under Red Hat, Mandrake, etc., use

* ls -color

To get this all the time, add

* alias ls='ls -color=auto'

to .bashrc. The following command

* alias ls='ls -Fskb -color=auto'

will give directory listings in color, with file sizes in kilobytes, and append a character to the file to indicate its type.

Cheers.

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 79 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.