Getting user input during bash script

前端 未结 0 1400
南旧
南旧 2021-02-04 12:09

I am trying to create my first bash script:

echo "What file are we looking for: "
read FILE

while [ 1 ]
do 
    ls -lah | grep $FILE
    sleep 1;
    c         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题