Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

-bash: _ docker_machine_ps1: what if the command is not found

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly explains "- bash: _ docker_machine_ps1: what to do if you don't find a command". Friends who are interested might as well take a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn "- bash: _ docker_machine_ps1: what to do if you don't find the command"!

Scenario: the following error occurs when you set the docker-machine command to complete automatically after installing docker-machine:

-bash: _ _ docker_machine_ps1: command not found

Solution: add the following three lines at the end of ~ / .bashrc:

Source / etc/bash_completion.d/docker-machine-wrapper.bash

Source / etc/bash_completion.d/docker-machine-prompt.bash

Source / etc/bash_completion.d/docker-machine.bash

Finally, re-conduct source / root/.bashrc

At this point, I believe you have a deeper understanding of "- bash: _ docker_machine_ps1: what to do if you don't find a command". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report