shell常用技巧彙總

1、  shell如何判斷某個文件路徑是否存在 [XX]$ t=`hadoop fs -test -dhdfs://ns/user/hive/warehouse/database_name.db/hotelrankings_final_train/d='2017-05-25';echo$?` [XX]$ echo $t 0 [XX]$ t=` hadoop fs -test -dhdfs://ns
相關文章
相關標籤/搜索