LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   BASH says "too many arguments" in terminal (https://www.linuxquestions.org/questions/linux-newbie-8/bash-says-too-many-arguments-in-terminal-122749/)

tmitch70377 12-04-2003 03:43 PM

BASH says "too many arguments" in terminal
 
Hi,
When I open a terminal the first line is: bash: [: too many arguments
Then the prompt.
I had been trying too configure my usb scanner and also my cdrw (the cd writer is ide internal), so I'm not sure what I did exactly. Would it help to send the dmesg errors I get at start-up? I don't really understand too much of what I'm reading. I've been trying to work with Linux for a few years now and I still feel like a newbie.
Thanks for any help you can give.
TMitch70377

Tinkster 12-04-2003 04:26 PM

Hi Mitch ...

You can give the dmesg output a shot.

Chances are, however, that you somehow
screwed up one of the inital scripts run
by init (the [: would suggest that).

Maybe if you have a look through your /etc
directory and check which files were modified
recently ....


Cheers,
Tink

tmitch70377 12-04-2003 05:16 PM

Hi Tink,
Thanks for the quick response!
Actually I've been operating with it like this for a year now. I'm not sure if it's hurting anything. But I just got my nerve up to tackle it again. I wonder if the linuxconf could be the problem? In /etc/rc.d/init.d is a line modified on 11/21/02 linuxconf -> /usr/lib/linuxconf/redhat/scripts/linuxconf*
It's displayed in light blue and green.
By the way, I'm using Mandrake 9.0 now.
Thanks,
Mitch

Tinkster 12-04-2003 05:22 PM

Quote:

Originally posted by tmitch70377
Hi Tink,
Thanks for the quick response!
Yo, and no worries. :}

Quote:

In /etc/rc.d/init.d is a line modified on 11/21/02 linuxconf -> /usr/lib/linuxconf/redhat/scripts/linuxconf*
It's displayed in light blue and green.
That's fine, that's a symlink ... I can't tell you
where to look, though ... just go through
/etc, /etc/profile.d and /etc/rc.d and its
subdirectories, and check the contents of
the most recently modified shell scripts...

ls -ltr
will give them in the right order.
(newest last)



Cheers,
Tink

tmitch70377 12-06-2003 05:19 PM

Hi, it's mitch again. can you help me with this? what does it mean and how do i fix it?

hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54
end_request: I/O error, dev 16:00 (hdc), sector 0
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54
end_request: I/O error, dev 16:00 (hdc), sector 4
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54
end_request: I/O error, dev 16:00 (hdc), sector 0
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54
end_request: I/O error, dev 16:00 (hdc), sector 4
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54
end_request: I/O error, dev 16:00 (hdc), sector 0
FAT: unable to read boot sector
Thanks again,
dummy.....i mean Mitch


All times are GMT -5. The time now is 08:39 AM.