Keep on getting error message Bash Command Not Found
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Keep on getting error message Bash Command Not Found
Hello Community,
You will probably notice from the question I'm very new to Linux.
Each time I enter any command I keep on getting the error message Bash command not found.
My suspicion is that I'm not in the right directory, however I could be wrong.
Can someone please let me know how to overcome this problem?
[Expert@chkptvmaa:0]# save config
bash: save: command not found
[Expert@chkptvmaa:0]# show command
bash: show: command not found
[Expert@chkptvmaa:0]# show all
bash: show: command not found
[Expert@chkptvmaa:0]# show commands
bash: show: command not found
[Expert@chkptvmaa:0]#
Bash is telling you that commands named save and show do not exist in any location included in the default path of the logged in user. Try cat instead of show, and touch instead of save, and you shouldn't get command not found messages. Try 'echo $PATH' to see the locations bash tried to find save and show commands to run.
There is nothing to suggest, that is simply telling you where bash will look to find commands, and in what order.
I would suggest that you do some reading to become familiar with the Linux operating system. Otherwise you will not know what questions to ask, and will not understand many of the answers you receive.
[Expert@chkptvmaa:0]# clish show commands
Usage-
clish [-d DebugLevel -i -l ExtLck -s -o OutFmt { -c Cmd | -f File }]
-c Cmd ;Single command to execute.
-d N ;Debug Level in which shell should operate.
-f File ;File to load configuration from.
-i ;Ignore cmd failure in batch and continue.
-l ExtLck ;Use the given lock-id.
-o OutFmt ;Output format (pretty, xml, structured).
-s ;Issue 'save' at the end.
I'm sure there is something very simple that I'm missing here....
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.