 |
 |
Top wont work (along with some other commands)
|
 |
|
 |
|
Junior Member
Join Date: Oct 2001
Location: Great State of Texas
Status:
Offline
|
|
Ok,
I everything used to work just fine in 10.2.2, then I installed a new 80gig HD and did a fresh install of OSX from the Jaguar CD and then ran software update to bring it up to 10.2.3. Ever since then I cant use some terminal commands. Top is the one i use the most (or at least i used to). I also noticed that CURL is dead also.
I thought that maybe I didnt install something. So I booted off the 10.2 cd and I couldnt find anyway to install portions of the OS like you can with 9.
Am I missing something. How do I get my commands back? Should I just do another install of 10.2 and make sure I isntall everything, or is there a way to just install like the BSD subsystem.
Any ideas?
|
|
nolo contendere: A legal term meaning: "I didn't do it, judge, and I'll never do it again."
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Mar 2001
Location: Provo, UT
Status:
Offline
|
|
Did you check your path? It sounds like /usr/bin isn't in it.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Enthusiast
Join Date: Nov 2001
Location: Adelaide, South Australia
Status:
Offline
|
|
Hmm, I suspect that the two words you're looking for are
Developer Tools
Looks to me like top comes with them. As does a whole heap of other useful stuff (gcc anyone?). They should be on your OS disks already in pkg form (from memory), but maybe not the December versions. Grab the latter from
http://developer.apple.com/tools/macosxtools.html
if you haven't already. This might require a free registration with apple, but they don't spam you unless you tick or untick the wrong boxes.
Cheers,
Paul
|
|
|
| |
|
|
|
 |
|
 |
|
Junior Member
Join Date: Nov 2001
Location: SeaLab 2021
Status:
Offline
|
|
Check your path. To do that..you sohuld type 'env' in the terminal. You sohuld get something like the following:
[localhost:~] rlovell% env
HOME=/Users/rlovell
SHELL=/bin/tcsh
USER=rlovell
LANG=en_US
PATH=/bin:/sbin/:/usr/bin:/usr/sbin:/usr/local/bin:/sw/bin:/sw/sbin
__CF_USER_TEXT_ENCODING=0x1F5:0:0
TERM=vt100
TERMCAP=¿ÿØ
TERM_PROGRAM=Apple_Terminal
TERM_PROGRAM_VERSION=81
HOSTTYPE=macintosh
VENDOR=apple
OSTYPE=darwin
MACHTYPE=powerpc
SHLVL=1
PWD=/Users/rlovell
LOGNAME=rlovell
GROUP=staff
HOST=localhost
SHORTHOST=localhost
MANPATH=/usr/local/share/man:/usr/share/man:/sw/share/man:.
Your's should look like mine for the most part...I have some other paths in my env because of Fink. But...if you don't have these paths, then you sohuld add them. The easiest/quickest way to do that is to add commands to your login file; I use ~/.tcshrc On a new line, you should type:
setenv PATH /bin:/sbin/:/usr/bin:/usr/sbin:/usr/local/bin:/sw/bin:/sw/sbin
setenv MANPATH /usr/local/share/man:/usr/share/man:/sw/share/man:.
You will also need the man paths so that you can read the man pages for the missing commands. (if this is the problem)
Runeko Lovell
runcoberry@mac.com
(END)
|
|
One OS to Rule them all,
and in the Darkness [dramatic pause] Bind them.
-- Tiger
|
| |
|
|
|
 |
|
 |
|
Mac Enthusiast
Join Date: Nov 2001
Location: Adelaide, South Australia
Status:
Offline
|
|
As of Jaguar (from memory) you probably don't want to be setting your MANPATH manually (at least not without a good reason to do so). The manpath utility does it for you, based on a standard set of locations and your PATH variable.
% man manpath
Cheers,
Paul
|
|
|
| |
|
|
|
 |
|
 |
|
Junior Member
Join Date: Oct 2001
Location: Great State of Texas
Status:
Offline
|
|
Yes, Developer tools. I was kind of thinking that. The strange this is that I have 2 identical B7W G3's that are sitting next to each other. On one I did an "Backup and Install" and the other a "Clean install" and the clean install is having more problems.
Ive also noticed that I cant turn on FTP access in the sharing system preferences panel. If I click to turn it on, it just turns right back off. And the same thing with Internet Connection Sharing in the system preferences. Could those be related?
Im downloading developer tools. Ill install them and if that dosent work Im doing a "Backup and Install" of 10.2 on this 10.2.3 machine.
|
|
nolo contendere: A legal term meaning: "I didn't do it, judge, and I'll never do it again."
|
| |
|
|
|
 |
|
 |
|
Registered User
Join Date: Nov 2002
Location: Far from the internet.
Status:
Offline
|
|
You get top, gcc, and others without installing the Developer Tools, but you do need to have installed the BSD Subsystem. I would check that before I download 300MB for just top.
Regards,
Ben
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Enthusiast
Join Date: Nov 2001
Location: Adelaide, South Australia
Status:
Offline
|
|
Originally posted by benb:
You get top, gcc, and others without installing the Developer Tools, but you do need to have installed the BSD Subsystem. I would check that before I download 300MB for just top.
Err, *no*, that's just not true.
Let the fat lady sing, sing, sing... it's 300MB for you.
Cheers,
Paul
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|