DNDIR(1)
DNDIR(1) π
okay bestie, this is dndir from the General Commands Manual β she's a DECnet utilities girlie and she's about to show you what's inside a VMS directory. no cap.
β¨ NAME β¨
dndir β Display VMS directories ποΈ
β¨ SYNOPSIS β¨
dndir [options] directory
Options:
[-sdpbolcntVh] [-w width] [-f filename width]
β¨ DESCRIPTION β¨
dndir displays the contents of directories on VMS systems. she's giving major ls energy honestly β by default she'll display filenames in columns across the screen if the output is a TTY, or in a single column otherwise. π¦ and if you want more tea about your files, you can add options to the command line to display more information about the files or to adjust the column widths. so many options. so much power. π
the directory name should be in the usual transparent DECnet format of node"user password"::directory (peep the EXAMPLES section below, she ate). and if a wildcard specification is omitted from the command line then *.*;* is assumed β she'll just assume bestie. π
as with the dncopy and dntype commands, the VMS file specification should be enclosed in single quote marks to protect special characters from the shell. yes this matters. the shell will literally eat your special characters otherwise and you'll be sad. π
β¨ OPTIONS β¨
-sβ Shows the VMS file size in 512-byte blocks, or in bytes if the-bswitch is present. π-dβ Shows the file creation date. π-pβ Shows the file protection. π-oβ Shows the file's owner. π-bβ Shows the file size in bytes rather than 512 byte blocks. π’-lβ Long format β shows all of the above (including the file size in bytes). the whole fit, the entire look. π-tβ Show the total number of blocks in all the files listed. note that this works even if you did not ask for the size to be displayed. she's gonna count for you anyway, she's generous like that. β¨-Tconnect timeout β Specifies the maximum amount of time the command will wait to establish a connection with the remote node. a0here will cause it to wait forever (no cap, forever π). The default is60seconds.-eβ Show (nearly) everything about the file. LikeDIR/FULL. the full unhinged lore drop. π-nβ Do not show the header line with the VMS directory name on it. This is useful for embeddingdndirin a pipeline. π°-cβ Force the output to single column even on a TTY. one column. one vibe. π-wN β Sets the width of a column to be N characters. The default is22. This option only has an effect on the brief (default) output to a TTY device. π§-fN β Sets the width of the displayed filename to be N characters. The default is18. If the filename is longer than this number then any requested file attributes will be displayed on the next line. she'll wrap it, she's polite. πΈ-h,-?β Displays help for using the command. π«Ά-Vβ Show the version of the tools package thatdncopycomes from. (yes,dncopy. that's what it says. she said what she said. π)
β¨ EXAMPLES β¨
okay so here's the vibe, run these:
dndir 'myvax::'
dndir 'tramp"christine pjc123"::[.pics.cats]*.jpg'
dndir 'trisha"system -"::sys$system:*.exe'
that last one prompts for a password rather than typing it on the command line β secretive. mysterious. main character energy. π€«
β¨ SEE ALSO β¨
dntype(1), dncopy(1), dndel(1), dntask(1), dnsubmit(1), dnprint(1) π
heads up bestie: this page is from the DECnet utilities, dated September 20 1998. yeah she's vintage. she's an icon, she's a legend, and she is the moment. ππ
anyway that's the whole page, ily, go list some directories π¦β¨
π¦ where this page comes from
- ubuntu jammy: dnet-progs 2.65build2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms