X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=guestfish.pod;h=32a30901df57bbf4e376c9ccaea4a87d386fe951;hp=4f8cf95d09e9000dbb3596c6ba5cab3440628158;hb=9e90b24c7d76489f93830377e3d7d3c37f36c30c;hpb=a86aa7d152ed996170714a3a4516eab58bf8b59d diff --git a/guestfish.pod b/guestfish.pod index 4f8cf95..32a3090 100644 --- a/guestfish.pod +++ b/guestfish.pod @@ -328,6 +328,20 @@ to quote it, eg: echo "|" +=head1 HOME DIRECTORIES + +If a parameter starts with the character C<~> then the tilde may be +expanded as a home directory path (either C<~> for the current user's +home directory, or C<~user> for another user). + +Note that home directory expansion happens for users known I, not in the guest filesystem. + +To use a literal argument which begins with a tilde, you have to quote +it, eg: + + echo "~" + =head1 EXIT ON ERROR BEHAVIOUR By default, guestfish will ignore any errors when in interactive mode