Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
BASH colors
Results 1 to 5 of 5

Thread: BASH colors

  1. #1

    BASH colors

    Under a lot of distro's, the folders/file are colored in BASH. But I'm not sure how to set this up for my LFS system. I've looked through my config files in Drake but I've come up with nothing.

    Cheers

  2. #2

    Re: BASH colors

    You mean when you ls and dir's come up blue, executables come up green, images come up purple, etc...? That is done by putting is ls --color and that will make 'em show up. If you dont wanna do that everytime, you can put the line alias ls='ls --color' in your ~/.bashrc and ~/.bash_profile - you could probably edit /etc/bashrc and /etc/bash_profile to include it as well, that way all users (current and future) will have the same affect. Its also good to put little things like alias rm='rm -i' (and cp, mv and the like) the -i meaning interactive, so it asks you if youre sure, before you make a silly mistake. You can always override it with the -f option.

    TTFN,
    ScRapZ_1 :P

  3. #3

    Re: BASH colors

    Remembr bashish?

  4. #4

    Re: BASH colors

    Is there a way to make the default home directory something other than your user directory.

    For example I have two users one is mud and the other is test.

    I am always signed in as mud but normally work out of the test directory.

    I have group access for both.

    Thanks
    Ras

  5. #5

    Re: BASH colors

    Is there a way to make the default home directory something other than your user directory.

    For example I have two users one is mud and the other is test.

    I am always signed in as mud but normally work out of the test directory.

    I have group access for both.

    Thanks
    Ras

    yep .. just do

    usermod <username> -d /new/homedir or
    usermod <username> -d /new/homedir -m .. this will move all the stuff from your old home dir to the new one

Similar Threads

  1. New Colors
    By peter in forum Announcements and Suggestions
    Replies: 2
    Last Post: 10-02-2006, 02:58 AM
  2. Vote for new forum colors
    By peter in forum Announcements and Suggestions
    Replies: 22
    Last Post: 03-04-2006, 03:05 AM
  3. Boring Colors
    By peter in forum Announcements and Suggestions
    Replies: 7
    Last Post: 02-14-2006, 05:26 PM
  4. Mac ssh colors & mouse
    By flashingcurser in forum Linux Distros
    Replies: 1
    Last Post: 03-29-2005, 03:27 AM
  5. Anyone know how to output pretty colors?
    By morphman in forum Linux - Software, Applications & Programming
    Replies: 4
    Last Post: 05-24-2002, 02:13 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •