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
  •  


TP-Link TL-SG105 5-Port Gigabit Ethernet Unmanaged Metal Desktop Network Switch picture

TP-Link TL-SG105 5-Port Gigabit Ethernet Unmanaged Metal Desktop Network Switch

$19.99



Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch picture

Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch

$129.99



NETGEAR GS308EP Essential Series 8-Port Gigabit PoE+ Unmanaged Switch picture

NETGEAR GS308EP Essential Series 8-Port Gigabit PoE+ Unmanaged Switch

$49.99



TP-Link TL-SG1048 48-Port Gigabit Rackmount Switch New Factory Sealed picture

TP-Link TL-SG1048 48-Port Gigabit Rackmount Switch New Factory Sealed

$199.99



10-Port Gigabit PoE Network Switch with 8 PoE+ Ports with 2 Combo SFP Slots 125W picture

10-Port Gigabit PoE Network Switch with 8 PoE+ Ports with 2 Combo SFP Slots 125W

$39.99



TP-Link TL-SG2210P 10-Port Gigabit Smart Switch w/ 8-Port PoE+ NO AC SKU 25597 picture

TP-Link TL-SG2210P 10-Port Gigabit Smart Switch w/ 8-Port PoE+ NO AC SKU 25597

$36.98



5 Port Gigabit Unmanaged Ethernet Switch, Home Network Hub, Office Ethernet S... picture

5 Port Gigabit Unmanaged Ethernet Switch, Home Network Hub, Office Ethernet S...

$9.64



Arista DCS-7050SX-64-R 48P 10GbE SFP+ 4P 40GbE QSFP+ RA Switch picture

Arista DCS-7050SX-64-R 48P 10GbE SFP+ 4P 40GbE QSFP+ RA Switch

$115.00



Linksys LGS328MPC 24-Port Managed Gigabit PoE+ Switch with 4 10G SFP+ Uplinks picture

Linksys LGS328MPC 24-Port Managed Gigabit PoE+ Switch with 4 10G SFP+ Uplinks

$224.95



5Ports Gigabit Network Switch w/ 4 PoE+ Ports Total 52W each port 30W Plug&Play picture

5Ports Gigabit Network Switch w/ 4 PoE+ Ports Total 52W each port 30W Plug&Play

$31.99