アットウィキロゴ
okoba0119 @ ウィキ
掲示板 掲示板 ページ検索 ページ検索 メニュー メニュー

リストファイルから読み込むshell(bash)

最終更新:

okoba0119

- view
だれでも歓迎! 編集
  • list.txt
    unko.log
    aaa/bbb/log
    aiueo/kakikukekon/unko.log
    
    
  • filecheck.sh
    #!/bin/bash
    
    while read list
    do
        if [ -e $list ]; then
             echo "file exist !!!"
        else
             echo "file is not here!!"
        fi
    done<list
    
最近更新されたスレッド
ウィキ募集バナー