<div dir="ltr">IMHO,<br>rule 1 = If a normal user can run a command then it must have $ prompt. ex ls -l<br>rule 2 = If a command need root privilege to run, it must have # prompt   ex dd if=/dev/zero of=/dev/hda<br>rule3 = rule 1 has high priority then rule 2.<br>
<br><div class="gmail_quote">On Thu, Oct 2, 2008 at 3:57 AM, Jason Taylor <span dir="ltr"><<a href="mailto:jmtaylor90@gmail.com">jmtaylor90@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Thu, 2008-10-02 at 08:17 +1000, Murray McAllister wrote:<br>
> Hi,<br>
><br>
> The Red Hat documentation team recently had a discussion about using<br>
> prompts (such as "$" and "#") in command examples.<br>
><br>
> Joshua "top-posting ftw" Wulf came up with the following, and everyone<br>
> agreed (I think...):<br>
><br>
> ---<br>
><br>
> OK, here it is:<br>
><br>
> When it's a command that should (could) be cut and pasted, it should<br>
> have no prompt. Example:<br>
><br>
> ls -Z /tmp<br>
><br>
> When it's a record of an interactive session then the prompt should be<br>
> included to distinguish commands from output. Example:<br>
><br>
> # ls -Z /tmp<br>
><br>
> -rw-rw-r--  auser   auser   user_u:object_r:user_home_t   bar<br>
> -rw-rw-r--  auser   auser   user_u:object_r:user_home_t   foo<br>
><br>
> And when you want to make some commentary on that, you close the box<br>
> and then speak.<br>
><br>
> ---<br>
><br>
> Does anyone have any suggestions or objections?<br>
><br>
> Cheers.<br>
<br>
</div>Commentary being along the lines of whether or not the command<br>
should/has to be run as root or normal user?<br>
<font color="#888888"><br>
-Jason<br>
</font><br>--<br>
fedora-docs-list mailing list<br>
<a href="mailto:fedora-docs-list@redhat.com">fedora-docs-list@redhat.com</a><br>
To unsubscribe:<br>
<a href="https://www.redhat.com/mailman/listinfo/fedora-docs-list" target="_blank">https://www.redhat.com/mailman/listinfo/fedora-docs-list</a><br></blockquote></div><br><br clear="all"><br>-- <br>[ Narendra Sisodiya ]<br>
     <a href="http://narendra.techfandu.org">http://narendra.techfandu.org</a><br>     <a href="http://www.lug-iitd.org">http://www.lug-iitd.org</a><br>[ +91-93790-75930 ]<br>
</div>