LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-18-2015, 09:16 PM   #1
ehdunf67
LQ Newbie
 
Registered: Apr 2015
Location: Canada
Distribution: Kali Linux, Windows, Ubuntu
Posts: 18

Rep: Reputation: Disabled
(Kali Linux User Only) .bashrc file is messed up.


Could someone that is using Kali Linux please send me their bash.rc file?! I accidently screwed mine up and I can't reset it back to default. Thanks.
 
Old 04-18-2015, 11:11 PM   #2
ehdunf67
LQ Newbie
 
Registered: Apr 2015
Location: Canada
Distribution: Kali Linux, Windows, Ubuntu
Posts: 18

Original Poster
Rep: Reputation: Disabled
Talking Solution

I have found a solution. Simply enter these two commands:
  • cp /etc/skel/.bash_profile /root
  • cp /etc/skel/.bashrc /root

And your .bashrc is completely reset.

You could also boot froma live cd, and copy the file.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] [Kali Linux] How do i split a 15.7GB text file into 3 parts also... ArtiSeven Linux - Newbie 18 04-11-2015 04:51 PM
Messed up .bashrc. Please read. jcunit Linux - Newbie 6 04-03-2013 01:28 AM
[SOLVED] I messed up the file permissions in my /home/user? how will I restore it? ionrivera Linux - General 5 10-21-2010 02:44 AM
[SOLVED] Deleted my .bashrc file accidently. I am a Debian user. What should i do? anushya.k.kutty Linux - Newbie 7 04-12-2010 02:47 PM
I messed up my /etc/bashrc eJavier Linux - Newbie 4 09-12-2004 12:31 PM


All times are GMT -5. The time now is 10:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration