Results 1 to 3 of 3

Thread: HELP Possibly corrupted bashrc file

  1. #1
    Join Date
    2014-Jun
    Posts
    3

    Exclamation HELP Possibly corrupted bashrc file

    I've attempted to play around with my .bashrc file for fun as I'm new to linux and it seemed like something to do.

    I created a backup, as suggested on websites.

    I've not changed much, and decided I liked the original..anyway..I can not seem to get the original scheme to even work now..

    It changed itself..it seems..to the prompt of username@host in red and the cursor blinks at the very beginning, so if I type
    it overwrites the prompt.


    I just want to have my original Kali Linux prompt, the one that was installed, is there a way to revert it using a repository..
    ..I've even tried copying an original .bashrc file from a website, which looked identical to my backup..so..not sure why it's acting
    differently. All help greatly appreciated.

  2. #2
    Join Date
    2014-Jun
    Location
    Greece
    Posts
    133

    Hi thebrandon.

    There is a original .bashrc file in /etc/skel/ folder, so you can try:

    Code:
    mv /root/.bashrc /root/.bashrc.messedup
    cp /etc/skel/.bashrc /root/.bashrc
    source /root/.bashrc
    Good luck.

  3. #3
    Join Date
    2014-Jun
    Posts
    3

    thank you

    yes...actually i did stumble upon a copy of the file in the root directory and copied that over and just changed it according to a new color scheme..never quite figured it out..but my root one is still the original if i miss it too much so ...thanks

Similar Threads

  1. apt-get sources seems corrupted
    By elidd1 in forum General Archive
    Replies: 1
    Last Post: 2015-11-08, 08:36
  2. Missing .bashrc it would be awesome if someone could help.
    By ehdunf67 in forum TroubleShooting Archive
    Replies: 1
    Last Post: 2015-04-19, 13:13
  3. dpkg error - possibly related to kali-menu
    By g0tmi1k in forum TroubleShooting Archive
    Replies: 1
    Last Post: 2015-04-07, 03:36

Tags for this Thread

Posting Permissions

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