LinuxQuestions.org
Visit Jeremy's Blog.
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 10-05-2007, 02:14 PM   #1
anishadhikari
LQ Newbie
 
Registered: Oct 2007
Posts: 4

Rep: Reputation: 0
Hi Every body


I am new to Linux and was using windows since my childhood because i was not familiar to unix much. But now all this is really great! Guys! I am facing one problem and hope u will solve my problem....

I am using Fedoracore 2 with dual booting system the other OS is windows.
When i logged in to Fedoracore 2 and opened the terminal i am getting error message as follows



bash: Usage:: command not found
bash: stop: command not found
bash: restart: command not found
bash: condrestart: command not found
bash: status}: command not found
bash-2.05b#

Previously it was like

anish@root$

can anybody solve my problem


Thanks & Regards
Anish
 
Old 10-05-2007, 02:22 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,863

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
Quote:
Originally Posted by anishadhikari View Post
I am new to Linux and was using windows since my childhood because i was not familiar to unix much. But now all this is really great! Guys! I am facing one problem and hope u will solve my problem....

I am using Fedoracore 2 with dual booting system the other OS is windows.
When i logged in to Fedoracore 2 and opened the terminal i am getting error message as follows



bash: Usage:: command not found
bash: stop: command not found
bash: restart: command not found
bash: condrestart: command not found
bash: status}: command not found
bash-2.05b#

Previously it was like

anish@root$

can anybody solve my problem


Thanks & Regards
Anish


Has this problem existed since you installed Fedora? Or did Fedora initially work OK and this problem cropped up later?

Are you issuing these commands as user or root?

Try this command to help diagnose the problem:

echo $PATH

-----------------
Steve Stites
 
Old 10-05-2007, 02:58 PM   #3
anishadhikari
LQ Newbie
 
Registered: Oct 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jailbait View Post
Has this problem existed since you installed Fedora? Or did Fedora initially work OK and this problem cropped up later?

Are you issuing these commands as user or root?

Try this command to help diagnose the problem:

echo $PATH

-----------------
Steve Stites

Hello
I treid wht u tld
that echo $PATH

I am getting reply as

/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin

Installaton was sucessful. this problem came long time after installation.
 
Old 10-05-2007, 03:51 PM   #4
Samotnik
Member
 
Registered: Jun 2006
Location: Belarus
Distribution: Debian GNU/Linux testing/unstable
Posts: 471

Rep: Reputation: 40
There are no such utitlities as Usage, stop, restart, condrestart, status}.
And you should've read any review of standard UNIX commands before posting.

Last edited by Samotnik; 10-05-2007 at 04:05 PM.
 
Old 10-06-2007, 12:55 AM   #5
anishadhikari
LQ Newbie
 
Registered: Oct 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Samotnik View Post
There are no such utitlities as Usage, stop, restart, condrestart, status}.
And you should've read any review of standard UNIX commands before posting.
Hello
This is not my lines...
These are system generated....
May be u have not face this problem in past.....
 
Old 10-06-2007, 05:27 AM   #6
arub
LQ Newbie
 
Registered: Sep 2007
Location: Coimbatore , India
Distribution: Fedora
Posts: 16
Blog Entries: 2

Rep: Reputation: 0
Thumbs up Did u check the .bash_profile file

.bash_profile files will have the commands that will automatically executed when the user gets login , i think the those command are executed from that file..

this (.bash_profile ) file will be present in the user home directory ..
 
Old 10-06-2007, 02:23 PM   #7
anishadhikari
LQ Newbie
 
Registered: Oct 2007
Posts: 4

Original Poster
Rep: Reputation: 0
Thumbs up

Quote:
Originally Posted by arub View Post
.bash_profile files will have the commands that will automatically executed when the user gets login , i think the those command are executed from that file..

this (.bash_profile ) file will be present in the user home directory ..

HI Arub

I solved this problem and u r right! The .bashrc of root was crrupted so i copied .bashrc file of one user to root and its again back to normal.
Thanks for your support.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Hi every body jockyrc LinuxQuestions.org Member Intro 1 03-26-2007 12:16 PM
Hello Every Body gyaban05 LinuxQuestions.org Member Intro 1 01-24-2006 01:19 AM
Hi to every body Jawwad8 LinuxQuestions.org Member Intro 4 10-13-2005 05:38 PM
Any Body Now? Bilal84 Linux - Networking 2 05-14-2005 03:08 PM
Is there any body here to help me? linx win Debian 18 01-21-2005 09:45 AM

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

All times are GMT -5. The time now is 12:58 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration