printf "%b" "rkt /root/keytab/hdfs.keytabnrkt /root/keytab/hive.keytabnwkt /root/keytab/merged.keytab" | ktutil
交互式: [root@master]# ktutil
ktutil: rkt hdfs.keytab
ktutil: rkt hive.keytab
ktutil: wkt merged.keytab
ktutil: exit
查看:klist -ket merged.keytab