From 6f997b20b8a24fde8bf4136e1086e2b9f14b0167 Mon Sep 17 00:00:00 2001 From: Andreas Dilger Date: Fri, 18 Mar 2016 19:01:13 -0600 Subject: [PATCH] LUDOC-11 intro: describe prompt usage better None of the examples are using csh or ksh, only sh or bash, so this is not a useful distinction to be made. Instead, describe that the client, OSS, MDS, MGS name may be used in the prompt. Signed-off-by: Andreas Dilger Change-Id: I66af5408c8e8eb3f1745a3c5d9a415202cf0ec37 Reviewed-on: http://review.whamcloud.com/19027 Tested-by: Jenkins Reviewed-by: Richard Henwood --- Preface.xml | 39 +++++++++++++++++++++++++++++++-------- 1 file changed, 31 insertions(+), 8 deletions(-) diff --git a/Preface.xml b/Preface.xml index 85eaf91..56645fb 100644 --- a/Preface.xml +++ b/Preface.xml @@ -33,6 +33,13 @@
Shell Prompts + The shell prompt used in the example text indicates whether a + command can or should be executed by a regular user, or whether it + requires superuser permission to run. Also, the machine type is often + included in the prompt to indicate whether the command should be run + on a client node, on an MDS node, an OSS node, or the MGS node. + Some examples are listed below, but other prompt combinations + are also used as needed for the example. @@ -50,34 +57,50 @@ - C shell + Regular user - machine-name% + machine$ - C shell superuser + Superuser (root) - machine-name# + machine# - Bourne shell and Korn shell + Regular user on the client - $ + client$ - Bourne shell and Korn shell superuser + Superuser on the MDS - # + mds# + + + + + Superuser on the OSS + + + oss# + + + + + Superuser on the MGS + + + mgs# -- 1.8.3.1