English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Why linux terminal saying command not found after Entering some commands

2007-09-08 20:30:59 · 3 answers · asked by speedblade 1 in Computers & Internet Programming & Design

3 answers

try these. If the command you want to do is foo then try
which foo
whereis foo
locate foo

2007-09-11 15:07:34 · answer #1 · answered by Gandalf Parker 7 · 0 0

If you know that you definately have that program installed (say that you KNOW you have ifconfig installed so that you can see you IP info) but when you type it you get 'command not found', that particular command may only be usable through the use of a superuser account. Swich to the superuser account by doing the following: su - the hyphen is important - it switches to the root (superuser) profile. The type your password for the root account and type your command. If it still says command not found then it probably is not installed or you have the command wrong. Install it with apt-get or yum.

2016-05-20 01:45:50 · answer #2 · answered by ? 3 · 0 0

You may need to give the full path to the location of the command.

2007-09-08 20:57:41 · answer #3 · answered by Anonymous · 0 0

fedest.com, questions and answers