Last active
August 12, 2017 08:25
-
-
Save ayman/f2f74df15e2b76db9fa314eaf02a4e4a to your computer and use it in GitHub Desktop.
My friend Jake hates typing `hdfs dfs -` so he made these aliases. Enjoy!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias happendToFile='hdfs dfs -appendToFile' | |
alias hcat='hdfs dfs -cat' | |
alias hchecksum='hdfs dfs -checksum' | |
alias hchgrp='hdfs dfs -chgrp' | |
alias hchmod='hdfs dfs -chmod' | |
alias hchown='hdfs dfs -chown' | |
alias hcopyFromLocal='hdfs dfs -copyFromLocal' | |
alias hcopyToLocal='hdfs dfs -copyToLocal' | |
alias hcount='hdfs dfs -count' | |
alias hcp='hdfs dfs -cp' | |
alias hcreateSnapshot='hdfs dfs -createSnapshot' | |
alias hdeleteSnapshot='hdfs dfs -deleteSnapshot' | |
alias hdf='hdfs dfs -df' | |
alias hdu='hdfs dfs -du' | |
alias hexpunge='hdfs dfs -expunge' | |
alias hfind='hdfs dfs -find' | |
alias hget='hdfs dfs -get' | |
alias hgetfacl='hdfs dfs -getfacl' | |
alias hgetfattr='hdfs dfs -getfattr' | |
alias hgetmerge='hdfs dfs -getmerge' | |
alias hhelp='hdfs dfs -help' | |
alias hls='hdfs dfs -ls' | |
alias hmkdir='hdfs dfs -mkdir' | |
alias hmoveFromLocal='hdfs dfs -moveFromLocal' | |
alias hmoveToLocal='hdfs dfs -moveToLocal' | |
alias hmv='hdfs dfs -mv' | |
alias hput='hdfs dfs -put' | |
alias hrenameSnapshot='hdfs dfs -renameSnapshot' | |
alias hrm='hdfs dfs -rm' | |
alias hrmdir='hdfs dfs -rmdir' | |
alias hsetfacl='hdfs dfs -setfacl' | |
alias hsetfattr='hdfs dfs -setfattr' | |
alias hsetrep='hdfs dfs -setrep' | |
alias hstat='hdfs dfs -stat' | |
alias htail='hdfs dfs -tail' | |
alias htest='hdfs dfs -test' | |
alias htext='hdfs dfs -text' | |
alias htouchz='hdfs dfs -touchz' | |
alias htruncate='hdfs dfs -truncate' | |
alias husage='hdfs dfs -usage' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment