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.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Sourcing Problem, source .bashrc problem
user12345
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



Hello,

I entered in my .bashrc

export PATH=/usr/local/arm/bin

and sourced it...now, 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
Robert83
post Nov 17 2005, 04:07 AM
Post #2


Its GNU/Linuxhelp.net
*******

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



Hi

CODE
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)

CODE
# .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
fi


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

Sincerely
Robert B


--------------------
Robert Becskei
robert83@linuxhelp.net
--------------------
May the source be with us!
--------------------
AMD X2-3800 @ 2400Mhz
2048MB DDR 400Mhz
DFI Lanparty UT4 NF4 ULTRA-D
GeForce 7800GT
250GB+250GB
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: 13th December 2017 - 01:49 PM