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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-05-2007, 01:14 PM
|
#1
|
LQ Newbie
Registered: Oct 2007
Posts: 4
Rep:
|
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
|
|
|
10-05-2007, 01:22 PM
|
#2
|
LQ Guru
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,400
|
Quote:
Originally Posted by anishadhikari
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
|
|
|
10-05-2007, 01:58 PM
|
#3
|
LQ Newbie
Registered: Oct 2007
Posts: 4
Original Poster
Rep:
|
Quote:
Originally Posted by jailbait
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.
|
|
|
10-05-2007, 02:51 PM
|
#4
|
Member
Registered: Jun 2006
Location: Belarus
Distribution: Debian GNU/Linux testing/unstable
Posts: 471
Rep:
|
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 03:05 PM.
|
|
|
10-05-2007, 11:55 PM
|
#5
|
LQ Newbie
Registered: Oct 2007
Posts: 4
Original Poster
Rep:
|
Quote:
Originally Posted by Samotnik
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.....
|
|
|
10-06-2007, 04:27 AM
|
#6
|
LQ Newbie
Registered: Sep 2007
Location: Coimbatore , India
Distribution: Fedora
Posts: 16
Rep:
|
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 ..
|
|
|
10-06-2007, 01:23 PM
|
#7
|
LQ Newbie
Registered: Oct 2007
Posts: 4
Original Poster
Rep:
|
Quote:
Originally Posted by arub
.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.
|
|
|
All times are GMT -5. The time now is 03:31 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|