Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 11-07-2008, 04:53 AM   #1
LQ Newbie
Registered: Nov 2008
Posts: 2

Rep: Reputation: 0
joe disappeared and doesn't have "less" command

I'm a first day user following the newbie guide on

I've tried the editing tool "joe" and it worked. But after a few strokes it's gone entirely (command not found). Didn't appear in "man joe" nor "apropos joe". I didn't even know how to us "rm" by that time.

And I don't have the "less" command. Is it because I'm using the netist version of Debian GNU? Thought it's some super common command.

How do I install these two back? Thanks a lot.
Old 11-07-2008, 05:00 AM   #2
Senior Member
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
Do any other commands not work?

Can you do a:
locate less
locate joe
It sounds to me like you've nuked your PATH variable, which tells the shell (probably bash) where to find binaries. If you open a new terminal session, it should regenerate the PATH variable for that new session.
Old 11-07-2008, 05:34 AM   #3
LQ Newbie
Registered: Nov 2008
Posts: 2

Original Poster
Rep: Reputation: 0
I tried those two and they all came up with "No such file or directory"
Old 11-07-2008, 05:58 AM   #4
Registered: Jun 2006
Location: Belarus
Distribution: Debian GNU/Linux testing/unstable
Posts: 471

Rep: Reputation: 40
Check echo $PATH - it should be somwthing like /usr/local/bin:/usr/bin:/bin:/usr/games there.
If it is, then try to reinstall joe and less with # apt-get install joe less

And read man rm to learn how to use rm
Old 11-08-2008, 12:39 PM   #5
john test
Registered: Jul 2008
Distribution: ubuntu 9.10
Posts: 527
Blog Entries: 1

Rep: Reputation: 35
Might try "find"
$ # find / -name less
which shows three instances of "less" on a ubuntu machine
Your mileage may vary


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
introducing myself - Egyptian "Joe" youssef.salah Member Intro 3 07-17-2008 09:17 AM
Why does "joe ALL=NOPASSWD: ALL" in sudoers not work? lumix Linux - Newbie 3 06-19-2008 01:04 PM
LXer: How and When "Average Joe" and "Geek" Get New PCs (Comic) LXer Syndicated Linux News 2 05-25-2008 04:58 PM
Standard commands give "-bash: open: command not found" even in "su -" and "su root" mibo12 Linux - General 4 11-11-2007 11:18 PM
"Joe Jobbing" ignhie Linux - Security 4 07-15-2005 11:02 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:15 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration