[Openstack-docs] Prompts conventions

Matt Kassawara mkassawara at gmail.com
Mon Mar 10 16:14:54 UTC 2014


+1 ... great idea!


On Mon, Mar 10, 2014 at 10:09 AM, Anne Gentle <anne at openstack.org> wrote:

> Yes! Please do so. Those conventions sound correct and I meant to add them
> to the Operations Guide and the Documentation/Conventions wiki page so I
> greatly appreciate the offer.
>
> Anne
>
>
> On Mon, Mar 10, 2014 at 11:07 AM, Gauvain Pocentek <
> gauvain.pocentek at objectif-libre.com> wrote:
>
>> Hello,
>>
>> We have a lot of shell prompts in the documentation, and there doesn't
>> seem to be a convention defining in which case $ or # should be used. We
>> also have an inconsistent use of sudo.
>>
>> I'd like to suggest the following convention:
>>
>> * use # for commands that *need* root privileges to work (*-manage,
>> mysqladmin, service...)
>> * use $ for commands that don't require root privileges (all the clients)
>> * never use sudo
>> * add a "Conventions used in this book" section in all guides (as is done
>> in all the tech books I ever read) to explain what the prompts actually
>> mean:
>>   - # => you must be root or use sudo
>>   - $ => you can run the command as unprivileged user, but as root as well
>>
>> I guess you can call this nitpicking but I've seen a couple of users
>> confused in bug reports, and consistency is Good anyway :)
>>
>> Let me know what you think and if we agree on this (or an updated
>> proposal) I'll update the wiki and start working on this (might be a simple
>> way to get started for newcomers as well).
>>
>> Thanks,
>> Gauvain
>>
>> Objectif Libre - Infrastructure et Formations Linux
>> http://www.objectif-libre.com
>>
>> _______________________________________________
>> Openstack-docs mailing list
>> Openstack-docs at lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-docs
>>
>
>
> _______________________________________________
> Openstack-docs mailing list
> Openstack-docs at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-docs
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-docs/attachments/20140310/ae969eaf/attachment.html>


More information about the Openstack-docs mailing list