Find the answer to your Linux question:
Results 1 to 5 of 5
well im more used to red hat/fedora than slackware, and i know in the ~/.bashrc file is where you usually edit aliases etc. and i was trying 2 do that ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2005
    Posts
    98

    bashrc


    well im more used to red hat/fedora than slackware, and i know in the ~/.bashrc file is where you usually edit aliases etc. and i was trying 2 do that on slackware but when i ran vi ~/.bashrc it wasnt a file so i was wonder what file i need 2 edit these things

  2. #2
    Linux Guru bryansmith's Avatar
    Join Date
    Nov 2004
    Location
    /Ontario/Canada
    Posts
    2,619
    Maybe the Post-Install Configuration section on this page will help.

    Bryan
    Looking for a distro? Look here.
    "There can be no doubt that all our knowledge begins with experience." - Immanuel Kant (Critique of Pure Reason)
    Queen's University - Arts and Science 2008 (Sociology)
    Registered Linux User #386147.

  3. #3
    Linux Engineer
    Join Date
    Nov 2004
    Location
    home
    Posts
    796
    If .bashrc doesn't exist, create it and it will be used like expected.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux User
    Join Date
    Sep 2003
    Posts
    254

    Re: bashrc

    Quote Originally Posted by iamsam
    well im more used to red hat/fedora than slackware, and i know in the ~/.bashrc file is where you usually edit aliases etc. and i was trying 2 do that on slackware but when i ran vi ~/.bashrc it wasnt a file so i was wonder what file i need 2 edit these things
    Just type touch .bashrc in ur home directory and then do ur staff. An other possibility is to use /etc/profile

  6. #5
    Linux Enthusiast
    Join Date
    Jun 2005
    Posts
    668
    > .bash_profile


    you could use /etc/profile.d/ and put a script there, but dont edit the profile directly.

Posting Permissions

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