Results 1 to 3 of 3

Thread: Location of .profile .bshrc ????????

  1. #1
    Junior Member
    Join Date
    Mar 2003
    Posts
    1

    Location of .profile .bshrc ????????

    Hi All

    I am new to KNOPPIX. I have a question concerning the read/write/save ability of .profile and .bshrc files. I need to edit these files but I am unable to find them (and subsequently edit and save them) in KNOPPIX. Does anyone know if this is possible? I have noticed that after running KNOPPIX, two files name bash.history and .history are created in the root directory in the 'C' drive. Would the .profile and .bshrc files be created in a similar manner.

    As a side note, I have had trouble running C Shell accessed from the Shells dropdown menu. When I select C Shell, the window opens and quickly disapears. Is this suppose to happen?

    Regards

    Marcus Jacobs

  2. #2
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    The profile file is /etc/profile which applies to all users, you should be able to find the .bashrc and .bash_profile file in your home directory. As for the C shell I have no idea.

  3. #3
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    USA, IL
    Posts
    1,041

    Re: Location of .profile .bshrc ????????

    --' cat /etc/shells ' and see ' man chsh '. Start an rxvt or Konsole, and see if you can run ' csh ' from there.

    ' man bash ' and "/" search for ".bashrc". If you are the knoppix user, they are/will be created in "~/knoppix" (/home/knoppix). If root, they are in "/root/.bashrc".

    --Don't forget, you may have to chmod +x these files.

    Quote Originally Posted by marcdevon
    Hi All

    I am new to KNOPPIX. I have a question concerning the read/write/save ability of .profile and .bshrc files. I need to edit these files but I am unable to find them (and subsequently edit and save them) in KNOPPIX. Does anyone know if this is possible? I have noticed that after running KNOPPIX, two files name bash.history and .history are created in the root directory in the 'C' drive. Would the .profile and .bshrc files be created in a similar manner.

    As a side note, I have had trouble running C Shell accessed from the Shells dropdown menu. When I select C Shell, the window opens and quickly disapears. Is this suppose to happen?

    Regards

    Marcus Jacobs

Similar Threads

  1. /etc/profile called twice when xterm icon clicked
    By pelican in forum General Support
    Replies: 0
    Last Post: 11-26-2004, 09:43 PM
  2. How do I reinitialize a profile from last session logout
    By toaster2 in forum General Support
    Replies: 3
    Last Post: 04-11-2004, 04:12 PM
  3. /etc/profile won't execute xterm or konsole
    By markgilmore1 in forum General Support
    Replies: 1
    Last Post: 02-25-2004, 04:24 PM
  4. changing default user profile
    By bigdaddy in forum The Lounge
    Replies: 4
    Last Post: 05-23-2003, 01:55 AM
  5. Root profile loading
    By skydiesis in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 04-12-2003, 08:41 PM

Posting Permissions

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


Rare Vintage Macintosh Apple Wooden Disk Storage Box Dovetailed picture

Rare Vintage Macintosh Apple Wooden Disk Storage Box Dovetailed

$69.95



Vintage 1998 iMac G3 M4984 Mac OS + Keyboard Working but Needs Some Repair Read picture

Vintage 1998 iMac G3 M4984 Mac OS + Keyboard Working but Needs Some Repair Read

$295.00



Apple Power Macintosh PowerPC 7300/200 VTG w Keyboard Mouse Storage Drive Read picture

Apple Power Macintosh PowerPC 7300/200 VTG w Keyboard Mouse Storage Drive Read

$199.99



Apple Macintosh DuoDock Duo Dock M7779 & Powerbook 230 Vintage Mac RARE Vintage picture

Apple Macintosh DuoDock Duo Dock M7779 & Powerbook 230 Vintage Mac RARE Vintage

$249.00



Apple Macintosh Quadra 605 Vintage Desktop Computer, Model M1476 Untested picture

Apple Macintosh Quadra 605 Vintage Desktop Computer, Model M1476 Untested

$299.00



LARGE LOT Vintage Apple Macintosh Mouse Cables Accessories SCSI etc - UNTESTED picture

LARGE LOT Vintage Apple Macintosh Mouse Cables Accessories SCSI etc - UNTESTED

$80.00



185--Sonnet Crescendo G3 PPCG3-375-5-K-06 G3 Add-On Card for Vintage Mac picture

185--Sonnet Crescendo G3 PPCG3-375-5-K-06 G3 Add-On Card for Vintage Mac

$99.00



Vintage Apple Macintosh Plus Desktop Computer - M0001A picture

Vintage Apple Macintosh Plus Desktop Computer - M0001A

$155.00



Apple Macintosh Classic M1420 Vintage All-in-One Desktop Computer picture

Apple Macintosh Classic M1420 Vintage All-in-One Desktop Computer

$95.00



Mixed Lot Vintage Mac Windows media / Graphics / Sound Software - CDs 37 Pieces picture

Mixed Lot Vintage Mac Windows media / Graphics / Sound Software - CDs 37 Pieces

$40.99