Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 812
  • Last Modified:

getting bash - command not found

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
c_hockland
Asked:
c_hockland
1 Solution
 
woolmilkporcCommented:
You're missing

/usr/bin

in your PATH
0
 
Gerwin Jansen, EE MVETopic Advisor Commented:
and the 2 commands are:

lspci
dmesg
0
 
gheistCommented:
you can use sudo -s or su -, combination between is superfluous and useless...
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Build your data science skills into a career

Are you ready to take your data science career to the next step, or break into data science? With Springboard’s Data Science Career Track, you’ll master data science topics, have personalized career guidance, weekly calls with a data science expert, and a job guarantee.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now