20 lines
626 B
JSON
20 lines
626 B
JSON
{
|
||
"name": "realpath",
|
||
"section": 1,
|
||
"title": "print resolved logical path",
|
||
"synopsis": ["realpath [-m] FILE..."],
|
||
"description": "Prints the VFS-resolved absolute path (same as the shell’s logical resolution). Does not traverse the host filesystem.",
|
||
"options": [
|
||
{
|
||
"flag": "-m, --canonicalize-missing",
|
||
"meaning": "Do not require the path to exist"
|
||
},
|
||
{ "flag": "-h, --help", "meaning": "Print usage" }
|
||
],
|
||
"keywords": ["realpath", "bare-os", "coreutils"],
|
||
"examples": [
|
||
{ "caption": "resolve under $HOME", "code": "realpath ./notes.txt" }
|
||
],
|
||
"listCategory": "coreutils"
|
||
}
|