2011-12-19 9 views

答えて

0

なぜあなたのような簡単なコマンドのために行くいけない:あなたの問題に来て

ls -p|grep -v/

#!/bin/bash 
for FILE in "[email protected]" 
do 
if [ -f "$FILE" ] 
then 
ls -l "$FILE" 
fi 
done 

この

for FILE in [email protected]/* 

代わりの

for FILE in "[email protected]" 
を試してみてください
関連する問題