Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command-line samples are being copied with the preceding dollar sign #64

Open
apetrovskiy opened this issue Oct 6, 2021 · 1 comment
Assignees
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@apetrovskiy
Copy link

apetrovskiy commented Oct 6, 2021

In examples of command line, there are the dollar signs showing that it's for issuing in a terminal window and new lines start here. These dollar signs are copied within the full command and the user pastes everything into a terminal window
image
A proposal is not to add the dollar sign, or not to offer the Copy button in similar situations.

In addition, there are places where commands are fixed with their output
image

@anazarov79 anazarov79 self-assigned this Oct 20, 2021
@s-medvedev s-medvedev added the bug Something isn't working label Oct 25, 2021
@apetrovskiy
Copy link
Author

apetrovskiy commented Oct 27, 2021

Another thing is that the dollar sign ($) in many (but not all) systems indicates a regular user, whereas the hash sign (#) is for root. When we display issuing docker command on ubuntu without sudo, we don't mention that the user should previous perform some actions to be allowed running docker commands without sudo
I mean that
# docker ps
works out of the box and
$ sudo docker ps
works as well.
However, running
$ docker ps
requires from the user to prepare one's system with Step 2 from here (as an example)
English version

@rozhkovdmitrii rozhkovdmitrii added the documentation Improvements or additions to documentation label Mar 29, 2022
himaster pushed a commit that referenced this issue Aug 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

4 participants