LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Error on Root Login (https://www.linuxquestions.org/questions/linux-newbie-8/error-on-root-login-941076/)

radmack 04-21-2012 10:18 PM

Error on Root Login
 
I added ASCII art to show up at login and now get the following errors before my picture

-bash: MDNNN: command not found
-bash: .?10955OI?I10955I..: command not found

Should I be worried/how can I fix this?

Thanks!

TobiSGD 04-22-2012 02:25 AM

How did you add the ASCII art?

John VV 04-22-2012 03:43 AM

how did you add this ASCII art ?
changing the boot GUI is not a simple thing

radmack 04-22-2012 07:49 AM

I took a picture and converted it to ASCII with an online program. Then I created a file with Vim which I added to the .bashrc file. It actually took me a while to get it to work. I think I must have created an error in the .bashrc file, but don't know where to go to look for a correct version of the file so that I can find out what I messed up.

I am very new to Linux, just installed a virtual machine and then CentOS a couple of days ago. I have been figuring out how to do things by reading stuff online and watching how to videos on YouTube.

Any help is appreciated - also suggestions for projects that I can try to muddle my way through.

TobiSGD 04-22-2012 08:03 AM

Please post the contents of your .bashrc and the file you created.

btmiller 04-22-2012 10:32 AM

The .bashrc is supposed to be a shell script that is sourced at login, not text to be displayed at login. You could always put the ASCII art into a file (~/myart.txt or the like) and then cat that file from the .bashrc.

radmack 04-22-2012 12:33 PM

That's actually what I did - sorry still don't know the lingo.

radmack 04-22-2012 12:45 PM

Also - I think I should have made a back up for .bashrc before I messed with it!

radmack 04-22-2012 12:53 PM

When I log in to my root file this is what currently shows up

[radmack@localhost ~]$ su -
Password:
-bash: MDNNN: command not found
-bash: .?11851OI?I11851I..: command not found
.7.
.7~7 .+..
.~?7=Z88I?:
.I7ZZ=7ON8Z.
.78ZOZZ$$I$$..
.?I$ZOD7$+OI$Z+.
.I7$$$$OI$7O?$..
?II7O7$?:II+7...
..?7II$7$I=:=:,.
.+I$77ZO7I7ZZ$$.
.I?II$?7++I$ZI888.
=??II=+?7Z~+I788ZI
?7II???$ZI77$7O8OZ..
..7?$I+I7I7I$I?O8$ZZI.
.=$7?$?$7++8DZOZO$O$7.
.~I$7?I$??7II$Z8ZOOOZ.
.,=?$D8$I78OO8O78OZZZ.
..=$7??7OD=+$OI77O$OZ. . .
+?I?$77I+$77~+IZ7$Z....?ZD8OO,. ..
.++I7I$+++$++78ZOOOOOZOO88DN88ONN.
..~+7?I=?I7I+IO7$7$$7Z7Z$$ZDOMDNNN .
.?$$OI?I$Z8OZO$$I.. ....... ....
.$ZIO8OZ7D$. .....
... ..

[root@localhost ~]#

TobiSGD 04-22-2012 01:01 PM

As long as you don't post the requested info we will not be able to help you.

radmack 04-22-2012 01:08 PM

Sorry didn't see that request. When I went in to my .bashrc file I realized that I must have just accidentally added some extra text. I deleted that and all is good now. Thanks though - this forum is very helpful! I actually think I learned a ton trying to figure out how to fix my 'problem'.


All times are GMT -5. The time now is 01:34 AM.