LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 06-16-2004, 09:16 AM   #1
youneedaclue
LQ Newbie
 
Registered: May 2004
Location: NJ
Distribution: Mandrake and Redhat
Posts: 22

Rep: Reputation: 15
Exclamation LS and TAR Commands missing Mandrake Linux 10 with kernel 2.6.3-7


Until just a couple of days ago ls and tar were working fine. Just today though I am unable to untar anything, since it says "utility tar not in your PATH". Can anyone please tell me the location of tar? I did a search and turned up nothing. I also tried to install tar again from GNU.
Ls works if I am root, but not as me. I thought theres something wrong with my .bashrc, so I copied root's .bashrc onto my folder. Still nothing. I feel im missing something obvious..
 
Old 06-16-2004, 12:24 PM   #2
andrewlkho
Member
 
Registered: Jul 2003
Location: London
Posts: 548

Rep: Reputation: 30
Check your PATH ("env | grep PATH") to find out where you're looking for binaries, and check that the location ("/bin") of the ls command ("whereis ls") is there.
 
Old 06-16-2004, 12:28 PM   #3
youneedaclue
LQ Newbie
 
Registered: May 2004
Location: NJ
Distribution: Mandrake and Redhat
Posts: 22

Original Poster
Rep: Reputation: 15
Now not even root can use ls...I have no idea whats goin on...
Thanks..I tried it but guess what...grep doesnt work.
I can see all the binaries are there in /bin but i cant access specific ones,i can access gunzip but not tar

Last edited by youneedaclue; 06-16-2004 at 12:31 PM.
 
Old 06-16-2004, 03:13 PM   #4
andrewlkho
Member
 
Registered: Jul 2003
Location: London
Posts: 548

Rep: Reputation: 30
Okay, try the above commands, except specify actual path to commands, so something like:
$ /usr/bin/whereis ls
$ env | /bin/grep PATH
and so on.
 
Old 06-16-2004, 05:11 PM   #5
youneedaclue
LQ Newbie
 
Registered: May 2004
Location: NJ
Distribution: Mandrake and Redhat
Posts: 22

Original Poster
Rep: Reputation: 15
great! thanks it works!
its alive!
 
  


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
tar Commands Orkie Linux - Software 7 07-27-2005 02:50 PM
Missing commands lPrentice Linux - Newbie 4 05-24-2005 12:14 PM
Basic commands in Mandrake/Linux Rave_T Linux - Newbie 3 08-03-2003 03:40 AM
After recompiled my Mandrake Kernel, cdrom is missing hanxuerui Linux - Hardware 11 04-04-2003 10:48 AM
Missing Commands under Mandrake 9? Arc_Light Linux - Newbie 6 12-13-2002 04:50 PM


All times are GMT -5. The time now is 07:03 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration