Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )

Advanced DNS Management
New ZoneEdit. New Managment.


Sign Up Now
Reply to this topicStart new topic
> Sourcing Problem, source .bashrc problem
post Nov 12 2005, 05:30 PM
Post #1

Whats this Lie-nix Thing?

Group: Members
Posts: 1
Joined: 12-November 05
Member No.: 5,734


I entered in my .bashrc

export PATH=/usr/local/arm/bin

and sourced, it seems like I can't use any of the commands that I used to like vi and ls so now I can't even change my .bashrc again.

How can I fix this problem?

Thanks so much!
Go to the top of the page
+Quote Post
post Nov 17 2005, 04:07 AM
Post #2

Its GNU/

Group: Support Specialist
Posts: 1,439
Joined: 3-January 04
From: Germany
Member No.: 2,069


cd /bin

vi /root/.bashrc

and change it back ... I really hope you did a backup smile.gif

in case you didn't here is mine (but this is CentOS 3.x)

# .bashrc

# User specific aliases and functions

alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'

# Source global definitions
if [ -f /etc/bashrc ]; then
       . /etc/bashrc

You could always enter the PATH into /etc/profile ... though that is not user specific.

Robert B

Robert Becskei
May the source be with us!
AMD X2-3800 @ 2400Mhz
2048MB DDR 400Mhz
DFI Lanparty UT4 NF4 ULTRA-D
GeForce 7800GT
Pioneer DVD-RW
17inch Samsung Syncmaster 757NF
WinXP Pro (SP2)/ CentOS 4.3
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 22nd June 2018 - 04:12 PM