I have two hard drives, XP on #1. I created 2 partitions on #2, one for Windows storage, one for Linux so I could learn about it.
After a couple of weeks with Fedora Core 4, which I really liked but had been having some problems with, I thought I would try something else, so I got SUSE 10 and installed it over the FC4. It went very smoothly and I like SUSE at least as well as FC so far, very very nice.
But one of the applications I installed requires sourcing a config file. I've been learning about bash and its startup scripts, and learning some command line stuff. I found what looked like a very helpful tutorial on what bash does when it comes up, and I thought I would try adding the command to source that file into one of the scripts, profile or bashrc or somewhere in there. I admit I am exploring a bit.
I have learned the echo command so I thought it would be instructive to plant a line in /etc/profile like the console debug statements I often use in programming.
echo "profile" > /root/Desktop/a.txt
(I have been logging in as root so as to be able to see and do everything). Doing the echo from a terminal works like I want. And I was going to put a similar echo into the other scripts. Then I hoped that a.txt would be like a log where I could see the progress of script after script at login or at starting a shell.
Well, looks like I shouldn't have done that.
When I boot now, I get to where the splash screen should get going and I get the nice blue background but nothing appears on it, none of the welcome icons and text. I tried logging in with my ordinary user, same thing. I tried failsafe and at the console login it waited a long time and then began telling me something about bash and /usr/bin and Argument list too long and then bash and /user/bin/grep and the argument list too long.
So . . . is there any way of getting in and undoing what I did? I promise not to do it again . . .
After a couple of weeks with Fedora Core 4, which I really liked but had been having some problems with, I thought I would try something else, so I got SUSE 10 and installed it over the FC4. It went very smoothly and I like SUSE at least as well as FC so far, very very nice.
But one of the applications I installed requires sourcing a config file. I've been learning about bash and its startup scripts, and learning some command line stuff. I found what looked like a very helpful tutorial on what bash does when it comes up, and I thought I would try adding the command to source that file into one of the scripts, profile or bashrc or somewhere in there. I admit I am exploring a bit.
I have learned the echo command so I thought it would be instructive to plant a line in /etc/profile like the console debug statements I often use in programming.
echo "profile" > /root/Desktop/a.txt
(I have been logging in as root so as to be able to see and do everything). Doing the echo from a terminal works like I want. And I was going to put a similar echo into the other scripts. Then I hoped that a.txt would be like a log where I could see the progress of script after script at login or at starting a shell.
Well, looks like I shouldn't have done that.
When I boot now, I get to where the splash screen should get going and I get the nice blue background but nothing appears on it, none of the welcome icons and text. I tried logging in with my ordinary user, same thing. I tried failsafe and at the console login it waited a long time and then began telling me something about bash and /usr/bin and Argument list too long and then bash and /user/bin/grep and the argument list too long.
So . . . is there any way of getting in and undoing what I did? I promise not to do it again . . .