[Openstack-docs] Prompts conventions
Diane Fleming
diane.fleming at RACKSPACE.COM
Mon Mar 10 16:14:38 UTC 2014
Love it! YES
Diane
----------------------------------------------
Diane Fleming
Software Developer II - US
diane.fleming at rackspace.com
Cell 512.323.6799
Office 512.874.1260
Skype drfleming0227
Google-plus diane.fleming at gmail.com
From: Anne Gentle <anne at openstack.org<mailto:anne at openstack.org>>
Date: Monday, March 10, 2014 11:09 AM
To: Gauvain Pocentek <gauvain.pocentek at objectif-libre.com<mailto:gauvain.pocentek at objectif-libre.com>>
Cc: openstack-docs <openstack-docs at lists.openstack.org<mailto:openstack-docs at lists.openstack.org>>
Subject: Re: [Openstack-docs] Prompts conventions
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<mailto: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<mailto: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/99d7ba64/attachment.html>
More information about the Openstack-docs
mailing list