LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-05-2005, 10:32 AM   #1
lefty.crupps
Member
 
Registered: Apr 2005
Location: Minneap USA
Distribution: Debian, Mepis, Sidux
Posts: 470

Rep: Reputation: 32
commands in terminal don't exist


Hey! Running SuSE 9.2 / KDE 3.4 / k2.6.9(?)

It seems that some of the commands that I want to run in a terminal don't work unless I preface them with a
Code:
/sbin/[command]
or possibly other folder trees.

A command like [./configure] or [make] I seem to only be able to run from certian folders (open a terminal from Konqueror and it might work; otherwise I gotta copy the folder somewhere else and try again)

Other commands, such as [traceroute], seem to work but don't give much info like I would expect:
Code:
senor@1[~]$ traceroute www.google.com
traceroute: Warning: www.google.com has multiple addresses; using 64.233.161.104
traceroute to www.l.google.com (64.233.161.104), 30 hops max, 38 byte packets
 1  * * *
 2  * * *
Am I not in the correct folder? Am I missing a symlink? That last one could be a switch that I am missing, but I've read nothing about a switch which I sould be using...

¿Ideas?
 
Old 05-05-2005, 10:58 AM   #2
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,087

Rep: Reputation: 407Reputation: 407Reputation: 407Reputation: 407Reputation: 407
If you have to give the full path to a command eg /sbin/lilo instead of just lilo then check your PATH environment variable: echo $PATH, and add the missing directories as required. Your PATH is usually set up in your ~/.profile (I think, I'm not @ linux right now), so that would be the place to alter it on a permanent basis.
The flags for traceroute options are explained by man traceroute

Hope this helps
 
Old 05-05-2005, 11:03 AM   #3
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
Usually apps in /sbin, /usr/sbin and /usr/local/sbin can only be run without typing the whole path name if you have used "su -" to switch to root instead of just "su".
 
  


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
making a script that opens terminal and enter commands into that terminal Cinematography Linux - General 8 12-16-2008 11:34 AM
Console (terminal) Commands ? sonsuzuncu Linux - Newbie 3 10-27-2005 07:31 PM
Terminal commands Ermen Linux - Newbie 1 11-23-2004 11:13 AM
Terminal Commands in Gnome connor Linux - Newbie 7 09-25-2003 10:19 AM
Terminal commands newtothegame Linux - Newbie 2 09-16-2003 05:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:56 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration