HDFS(1)
β¨ HDFS(1) β¨
okay so bestie, we're in the User Commands section of the manual and today's main character is hdfs. she's an HDFS client, she's iconic, and she's about to make your whole filesystem situation cute. π
π¦ NAME π¦
hdfs β hdfs β the HDFS client. that's it, that's the whole name, no notes. π
πΈ SYNOPSIS πΈ
hdfs COMMAND
likeβ¦ you give her a command, she does the thing. that's the energy. β¨
π DESCRIPTION π
so hdfs aims to be an idiomatic HDFS client β meaning she speaks fluent unix and lets you use all your favourite unix verbs on HDFS like it's no big deal. π«Ά
the flags available are a subset of the POSIX ones, but they should behave similarly. so like, not the full POSIX buffet, but the parts you get? they behave the way you'd expect. no cap. π
π OPTIONS π
π Valid commands:
ls [-lah] [FILE]...β list your files, and you can stack-l,-a,-hlike little accessories. β¨rm [-rf] FILE...β delete files.-rfor recursive,-ffor force. she will absolutely not ask twice. πmv [-fT] SOURCE... DESTβ move stuff from SOURCE... to DEST.-fand-Tare in the bag. π¦mkdir [-p] FILE...β make directories,-pdoes the whole parent-chain thing so you don't have to. πΈtouch [-amc] FILE...β touch files, with-a,-m, and-cavailable. πchmod [-R] OCTAL-MODE FILE...β change permissions using an OCTAL-MODE,-Rto go recursive. slay. πchown [-R] OWNER[:GROUP] FILE...β change the owner to OWNER, and optionally:GROUPtoo,-Rfor recursive. π₯cat SOURCE...β dump the contents of SOURCE... right out. πhead [-n LINES | -c BYTES] SOURCE...β the top of your file:-n LINESfor lines,-c BYTESfor bytes. pick one, bestie. πtail [-n LINES | -c BYTES] SOURCE...β same but from the end:-n LINESor-c BYTES. πdu [-sh] FILE...β disk usage on FILE..., with-sand-h. β¨checksum FILE...β checksum your FILE..., get that verification vibe check. π§get SOURCE [DEST]β pull SOURCE down, with an optional DEST. πgetmerge SOURCE DESTβ merge SOURCE into DEST. π«Άput SOURCE DESTβ push SOURCE up to DEST. π
β SEE ALSO β
no SEE ALSO section in this one, bestie β she stands on her own. main character behaviour only. π
and that's the whole page, mwah π β this was hdfs version 2.0.3, brought to you from December 2022, living her best life in the HDFS(1) manual. go forth and move some files, you got this. πβ¨π
π¦ where this page comes from
- debian bookworm: hdfs-cli 2.3.0-2+b5 Β· MIT
- debian trixie: hdfs-cli 2.3.0-2+b17 Β· MIT
- ubuntu noble: hdfs-cli 2.3.0-2build1 Β· MIT
- ubuntu noble: hdfs-cli 2.3.0-2ubuntu0.24.04.3 Β· MIT
- ubuntu questing: hdfs-cli 2.3.0-2build1
- ubuntu resolute: hdfs-cli 2.3.0-2build2 Β· MIT
- ubuntu stonking: hdfs-cli 2.4.0-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms