X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=fish%2Fguestfish.pod;h=dfacf6f191809e5a4b26acd1f793a0809d66eb5e;hb=116d497c68c2e57f6e92abf8834112a794a145f0;hp=13645456291a4be470ee08d9c165b9a31df5e759;hpb=58abe782bf7137526b4a5c7e6d5d2b145e3b09d2;p=libguestfs.git diff --git a/fish/guestfish.pod b/fish/guestfish.pod index 1364545..dfacf6f 100644 --- a/fish/guestfish.pod +++ b/fish/guestfish.pod @@ -98,7 +98,7 @@ the functionality of the guestfs API, see L. Guestfish gives you structured access to the libguestfs API, from shell scripts or the command line or interactively. If you want to -rescue a broken virtual machine image, you might want to look at the +rescue a broken virtual machine image, you should look at the L command. Using guestfish in read/write mode on live virtual machines can be @@ -313,7 +313,9 @@ the Unix L program): chmod 0777 /public # OK chmod 777 /public # WRONG! This is mode 777 decimal = 01411 octal. -Commands that return numbers currently always print them in decimal. +Commands that return numbers usually print them in decimal, but +some commands print numbers in other radices (eg. C prints +the mode in octal, preceeded by C<0>). =head1 WILDCARDS AND GLOBBING @@ -367,6 +369,9 @@ will create a directory C on the host, and then export the contents of C on the mounted filesystem to C. (See C). +To change the local directory, use the C command. C will +have no effect, due to the way that subprocesses work in Unix. + =head1 PIPES Use CspaceE | command> to pipe the output of the @@ -382,6 +387,7 @@ Other examples: hexdump /bin/ls | head list-devices | tail -1 + tgz-out / - | tar ztf - The space before the pipe symbol is required, any space after the pipe symbol is optional. Everything after the pipe symbol is just passed @@ -738,11 +744,15 @@ I<1> if there was an error. L, L, L, +L, L, L, +L, L, +L, L, -L. +L, +L. =head1 AUTHORS