LinuxQuestions.org
Help answer threads with 0 replies.
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 04-18-2014, 02:14 PM   #1
thiyagusham
Member
 
Registered: Apr 2012
Posts: 213

Rep: Reputation: Disabled
bin directory crashed ?


Hi All;

As i know , all commanads are working fine. Just inow unix machine saying commands are NOT found. Amazed.
Why this happend ? I installed linux 5.5 in my lap.


PHP Code:
clear
bash
clearcommand not found

vi inithotdb.ora 
bash
vimcommand not found

uname 
-a
Linux oel5
.myserver 2.6.18-194.el5 #1 SMP Mon Mar 29 20:06:41 EDT 2010 i686 i686 i386 GNU/Linux 
I have restarted many times. No improvement.
 
Old 04-18-2014, 02:37 PM   #2
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,258

Rep: Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947
Did you put something in your startup script that modifies your PATH?
 
Old 04-18-2014, 02:48 PM   #3
thiyagusham
Member
 
Registered: Apr 2012
Posts: 213

Original Poster
Rep: Reputation: Disabled
Hi
Did you put something in your startup script that modifies your PATH?

No . i did Not update profile .
 
Old 04-18-2014, 02:57 PM   #4
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Please post the output of these commands:
Code:
/usr/bin/clear
ls -l /usrbin/clear
jdk
 
1 members found this post helpful.
Old 04-18-2014, 03:00 PM   #5
Smokey_justme
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 534

Rep: Reputation: 203Reputation: 203Reputation: 203
Hei.. the commands jdkaye gave you have a typo in them.. Here are the correct ones
Code:
/usr/bin/clear
ls -l /usr/bin/clear
echo $PATH
I've added one that is of interest to us.. Please provide the output..
 
1 members found this post helpful.
Old 04-19-2014, 08:33 AM   #6
thiyagusham
Member
 
Registered: Apr 2012
Posts: 213

Original Poster
Rep: Reputation: Disabled
Hi ;

PHP Code:
# ls -l /usr/bin/clear
-rwxr-xr-x 1 root root 5424 Jun  6  2007 /usr/bin/clear
[root@oel5 ~]# echo $PATH
/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin
[root@oel5 ~]
 
Old 04-19-2014, 10:20 AM   #7
Smokey_justme
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 534

Rep: Reputation: 203Reputation: 203Reputation: 203
And typing clear still brings the not found error? According to the above output, you should be just fine..
 
Old 04-19-2014, 10:28 AM   #8
thiyagusham
Member
 
Registered: Apr 2012
Posts: 213

Original Poster
Rep: Reputation: Disabled
Thanks all ;

now it's working fine.
 
Old 04-19-2014, 10:29 AM   #9
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
As a service to others can you mark this thread as [SOLVED]. Use the Thread Tools menu above the first post of this thread.

jdk

Last edited by jdkaye; 04-19-2014 at 10:32 AM.
 
Old 04-19-2014, 10:40 AM   #10
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,275

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Also, it's nice to post what you did to solve the problem in case someone stumbles across this thread in the future.
 
  


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
[SOLVED] GE: /usr/local/bin/googleearth: line 44: ./googleearth-bin: No such file or directory business_kid Linux - Software 5 11-26-2011 10:15 PM
[SOLVED] bash: /usr/local/bin/xdsi: /usr/bin/wish: bad interpreter: No such file or directory Berwhale Linux - Newbie 2 09-15-2011 03:59 PM
firefox bug (npviewer.bin has crashed).. please help altairz Linux - Software 3 12-08-2009 06:04 AM
firefox bug (npviewer.bin has crashed).. please help altairz Linux - Software 1 12-06-2009 03:09 PM
bin/bash:usr/bin/lpr NO SUCH FILE OR DIRECTORY Adibe_Hamm Linux - Newbie 3 10-14-2003 03:30 AM


All times are GMT -5. The time now is 09:59 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