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, -h like little accessories. ✨
  • rm [-rf] FILE... β€” delete files. -r for recursive, -f for force. she will absolutely not ask twice. πŸ’€
  • mv [-fT] SOURCE... DEST β€” move stuff from SOURCE... to DEST. -f and -T are in the bag. πŸ¦‹
  • mkdir [-p] FILE... β€” make directories, -p does the whole parent-chain thing so you don't have to. 🌸
  • touch [-amc] FILE... β€” touch files, with -a, -m, and -c available. πŸŽ€
  • chmod [-R] OCTAL-MODE FILE... β€” change permissions using an OCTAL-MODE, -R to go recursive. slay. πŸ’œ
  • chown [-R] OWNER[:GROUP] FILE... β€” change the owner to OWNER, and optionally :GROUP too, -R for recursive. πŸ”₯
  • cat SOURCE... β€” dump the contents of SOURCE... right out. πŸ’–
  • head [-n LINES | -c BYTES] SOURCE... β€” the top of your file: -n LINES for lines, -c BYTES for bytes. pick one, bestie. πŸ“
  • tail [-n LINES | -c BYTES] SOURCE... β€” same but from the end: -n LINES or -c BYTES. 😭
  • du [-sh] FILE... β€” disk usage on FILE..., with -s and -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. πŸŽ€βœ¨πŸ’–