Galaxie Shell 0.2.6 documentation


Navigation:   | Index   | Search   | Top   | Up   | Prev   | Next   |
Table of Content: |glxshell.utilities.pwd module |glxsh_pwd() |

© Copyright 2020-2024, Galaxie Shell Team.

Top » glxshell » glxshell package » glxshell.utilities package » glxshell.utilities.pwd module

glxshell.utilities.pwd module

glxshell.utilities.pwd.glxsh_pwd(logical=None, physical=None)[source]

The pwd utility shall write to standard output an absolute pathname of the current working directory, which does not contain the filenames dot or dot-dot.

If both logical and physical are specified, the last one shall apply. If neither logical nor physical is specified, the pwd utility shall behave as if logical had been specified.

Parameters:
  • logical (bool) – If the PWD environment variable contains an absolute pathname of the current directory and the pathname does not contain any components that are dot or dot-dot

  • physical (bool) – The pathname written to standard output shall not contain any components that refer to files of type symbolic link

Top » glxshell » glxshell package » glxshell.utilities package » glxshell.utilities.pwd module

© Copyright 2020-2024, Galaxie Shell Team.
This page is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International Public License (CC BY-NC-SA 4.0).
Examples, recipes, and other code in the documentation are additionally licensed under the Zero Clause BSD License.
See History and License for more information.

Last updated on None.
Created using Sphinx 8.0.2.