Solved

getting bash - command not found

Posted on 2012-04-13
3
744 Views
Last Modified: 2012-04-21
what am i doing wrong ?

[h80613@oradev01 etc]$ PATH=/usr/local/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin
[h80613@oradev01 etc]$ export PATH
[h80613@oradev01 etc]$
[h80613@oradev01 etc]$
[h80613@oradev01 etc]$ demsg
-bash: demsg: command not found
[h80613@oradev01 etc]$ ispci
-bash: ispci: command not found
[h80613@oradev01 etc]$ sudo su -
-bash: sudo: command not found
[h80613@oradev01 etc]$ pwd
/etc
[h80613@oradev01 etc]$ cd ..
[h80613@oradev01 /]$ sudo su -
-bash: sudo: command not found
[h80613@oradev01 /]$
0
Comment
Question by:c_hockland
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 500 total points
ID: 37844884
You're missing

/usr/bin

in your PATH
0
 
LVL 38

Expert Comment

by:Gerwin Jansen, EE MVE
ID: 37844912
and the 2 commands are:

lspci
dmesg
0
 
LVL 62

Expert Comment

by:gheist
ID: 37846046
you can use sudo -s or su -, combination between is superfluous and useless...
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

INTRODUCTION The purpose of this document is to demonstrate the Installation and configuration, of the HP EVA 4400 SAN Storage. The name , IP and the WWN ID’s used here are not the real ones. ABOUT THE STORAGE For most of you reading this, you …
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question