LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 12-04-2003, 03:43 PM   #1
tmitch70377
LQ Newbie
 
Registered: May 2002
Location: Mansfield, Texas
Distribution: Debian,Puppy,CentOS,Kubuntu
Posts: 5

Rep: Reputation: 0
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
 
Old 12-04-2003, 04:26 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
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
 
Old 12-04-2003, 05:16 PM   #3
tmitch70377
LQ Newbie
 
Registered: May 2002
Location: Mansfield, Texas
Distribution: Debian,Puppy,CentOS,Kubuntu
Posts: 5

Original Poster
Rep: Reputation: 0
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
 
Old 12-04-2003, 05:22 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
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
 
Old 12-06-2003, 05:19 PM   #5
tmitch70377
LQ Newbie
 
Registered: May 2002
Location: Mansfield, Texas
Distribution: Debian,Puppy,CentOS,Kubuntu
Posts: 5

Original Poster
Rep: Reputation: 0
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
 
  


Reply



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
bash script: using "select" to show multi-word options? (like "option 1"/"o zidane_tribal Programming 7 12-19-2015 01:03 AM
Why "bash-2.05b$" in Terminal instead of "username@localhost username" jayelitumbiolo Linux - General 9 10-04-2009 03:16 AM
Where to download precompiled bash binaries, such as "time" and "top"? elinuxqs Linux - Newbie 12 11-14-2005 08:36 PM
bash-2.05b# Xlib: extension "XFree86-DRI" missing on display ":0.0". citrus Linux - General 8 02-22-2004 10:43 AM
"segmentation error" when issuing "useradd" command through terminal with RH 9.0 kaihuang Linux - General 0 10-21-2003 11:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:35 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
Open Source Consulting | Domain Registration