mirror of
https://github.com/nushell/nushell.git
synced 2024-12-01 21:03:58 +01:00
821d44af54
* [ADD] Add draft documentation for autoview * [ADD] Add draft documentation for pwd * [ADD] Add draft documentation for touch * [MOD] Improve description and add examples Add the use of `textview` and `binaryview`. Add examples for single value, source file and binary file.
28 lines
454 B
Markdown
28 lines
454 B
Markdown
# pwd
|
|
|
|
Print the current working directory.
|
|
|
|
`-h`, `--help`
|
|
Display help message.
|
|
|
|
## Examples
|
|
|
|
```shell
|
|
> pwd
|
|
/home/me/nushell/docs/commands
|
|
```
|
|
|
|
```shell
|
|
> pwd | split column "/" | reject Column1 | pivot | reject Column0
|
|
───┬──────────
|
|
# │ Column1
|
|
───┼──────────
|
|
0 │ home
|
|
1 │ me
|
|
2 │ projects
|
|
3 │ nushell
|
|
4 │ docs
|
|
5 │ commands
|
|
───┴──────────
|
|
```
|