LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices



Reply
 
Search this Thread
Old 01-04-2012, 02:00 PM   #1
dellthinker
Member
 
Registered: Jan 2007
Distribution: Debian etch 4.0/Debian lenny 5.0
Posts: 209

Rep: Reputation: 30
bash error.


hi all, i'm having a error on a newly installed debian desktop.

Code:
bash: search: command not found
This isn't just the search command it's pretty much most of them. Any suggestions on how i can go about fixing this please. Thank you.
 
Old 01-04-2012, 02:42 PM   #2
honeybadger
Member
 
Registered: Aug 2007
Location: India
Distribution: Slackware (mainly) and then a lot of others...
Posts: 855

Rep: Reputation: Disabled
This is because 'search' is not a bash command. Try 'find' or 'locate'. BTW all the commands are in /sbin /bin /usr/sbin and /usr/bin. Ofcourse there are some applications eg ffmpeg that can be compiled as a binary but then this is a rare case.
Hope this helps.
 
Old 01-04-2012, 04:17 PM   #3
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian sid + kde 3.5 & 4.4
Posts: 6,823

Rep: Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950
It would help greatly if you gave us some context for the problem. Provide a few details about what you were actually trying to do when you got that error. What was the exact command you used, for example, and what did you expect to get?

Also, is there anything you did before that that may have led to this error? Did you make some edits to your bashrc for example? It sounds like you may have modified your PATH variable so that it doesn't contain the default directories.
 
  


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
Error in Bash: line 77: syntax error: unexpected end of file bribon Programming 8 07-13-2011 01:43 PM
Bash Error: syntax error near unexpected token `{ araouf Linux - Newbie 1 03-04-2010 05:43 PM
bash script read error and awk ouptut error whited Programming 4 10-16-2007 08:05 PM
error when tying to run python script(bash error?) shanenin Programming 5 01-10-2006 11:01 AM


All times are GMT -5. The time now is 10:50 PM.

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