LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-10-2001, 07:47 PM   #1
Susan
LQ Newbie
 
Registered: Sep 2001
Posts: 14

Rep: Reputation: 0
Question Commands


I am very new to Linux, so please understand my questions may very well seem like 'no brainers.' I have installed RH7. I have messed around a bit with bash and gnome. I don't understand why I can't allows get a command to work. Right now, when in root (in shell), when I type linuxconf nothing happens. Also, when I type printtool nothing happens. I actually get a message stating bash command not found. When in gnome, I can get the printer tool to work, but when I click on linux config, nothing happens. When I click on ximagescan nothing happens there as well. Can someone please tell me what I am doing wrong?
Thank you.
Susan
 
Old 10-10-2001, 08:44 PM   #2
TimBeR
LQ Newbie
 
Registered: Oct 2001
Distribution: Redhat 7.1
Posts: 11

Rep: Reputation: 0
well unfortunately you need to edit your /etc/profiles file and add the paths to the file I will go look at mine in alittle wile and try to post a second reply to this with and example of what mine looks like once you add the paths to this file you log out and relog in and all commands should work fine
 
Old 10-10-2001, 09:22 PM   #3
TimBeR
LQ Newbie
 
Registered: Oct 2001
Distribution: Redhat 7.1
Posts: 11

Rep: Reputation: 0
ok Susan here is what your paths should look like in your /etc/profile


PATH="$PATH:/usr/X11R6/bin:/sbin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin"



make sure it is all in one line
 
Old 10-10-2001, 09:52 PM   #4
GonzoJohn
Member
 
Registered: Jun 2001
Location: Louisville, KY USA
Distribution: RedHat and Debian
Posts: 89

Rep: Reputation: 15
Linuxconf isn't installed by default on RH 7.1. Download and install the latest RPM from the Linuxconf homepage.

http://www.solucorp.qc.ca/linuxconf/
 
Old 10-11-2001, 03:34 AM   #5
da Perp
Member
 
Registered: Oct 2001
Location: the Netherlands
Distribution: Bear Linux (LFS 3.3)
Posts: 171

Rep: Reputation: 30
Also, certain commands are only allowed to be run as root.
When issueing these commands as a standard user, bash outputs that the file is not found. You dont have to log in as root to get stuff done, just open up a terminal and type su root
and enter password when prompted. You will then be able to issue all root commands, but only in that terminal.
 
Old 10-11-2001, 03:40 AM   #6
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
In addition to adding to your path....

slocate is a handy tool.

It is probably on your system already.

to activate it's database type updatedb in a terminal

it will create a database so when you need to find something it will show you where it is.


slocate printtool
/usr/share/printconf/util/import_printtool_queues.py
/usr/bin/printtool


if things are not in your path you can find them.

if you pipe it thru more you can look thru pages of things returned by searches


slocate sendmail | more
/var/lock/subsys/sendmail
/var/run/sendmail.pid
/etc/sysconfig/sendmail
/etc/rc.d/init.d/sendmail
/etc/rc.d/rc0.d/K30sendmail
/etc/rc.d/rc1.d/K30sendmail
/etc/rc.d/rc2.d/S80sendmail
/etc/rc.d/rc3.d/S80sendmail
/etc/rc.d/rc4.d/S80sendmail
/etc/rc.d/rc5.d/S80sendmail
/etc/rc.d/rc6.d/K30sendmail
/etc/mail/sendmail.mc
/etc/sendmail.cf
/usr/share/doc/HTML/en/kpilot/conduit-popmail-sendmail.png
/usr/share/doc/db3-devel-3.1.17/ref/sendmail
/usr/share/doc/db3-devel-3.1.17/ref/sendmail/intro.html
/usr/share/doc/sendmail
/usr/share/doc/sendmail/FAQ
/usr/share/doc/sendmail/KNOWNBUGS
/usr/share/doc/sendmail/LICENSE
/usr/share/doc/sendmail/README
/usr/share/doc/sendmail/README.cf
/usr/share/doc/sendmail/README.smrsh
/usr/share/doc/sendmail/RELEASE_NOTES
/usr/share/doc/sendmail/doc
/usr/share/doc/sendmail/doc/op
/usr/share/doc/sendmail/doc/op/Makefile
/usr/share/doc/sendmail/doc/op/op.me
/usr/share/doc/sendmail/doc/op/op.ps
/usr/share/man/man8/sendmail.8.gz
/usr/share/emacs/20.7/lisp/mail/sendmail.elc
/usr/share/emacs/20.7/lisp/mail/sendmail.el
/usr/share/sendmail-cf
/usr/share/sendmail-cf/README
/usr/share/sendmail-cf/cf
/usr/share/sendmail-cf/cf/Build
/usr/share/sendmail-cf/cf/Makefile
/usr/share/sendmail-cf/cf/chez.cs.mc
/usr/share/sendmail-cf/cf/clientproto.mc
/usr/share/sendmail-cf/cf/cs-hpux10.mc
--More--

Last edited by DavidPhillips; 10-11-2001 at 03:46 AM.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
commands scripttron75 Linux - General 4 10-03-2005 05:36 PM
Commands Instantly Linux - Newbie 3 01-12-2005 02:18 PM
commands tslinux Linux - Newbie 1 12-15-2004 07:54 AM
commands merchtemeagle Linux - Newbie 6 10-12-2004 11:38 AM
Help with commands! snowbaby Linux - Software 1 12-02-2001 03:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:10 AM.

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