Handling file names with initial dash character
export PATH=/usr/bin:/bin:/usr/sbin:/sbin export IFS=$' \t\n' mkdir -p ~/Desktop/TestDir touch ~/Desktop/TestDir/file{1,2,3,4,5}.txt open ~/Desktop/TestDir cd ~/Desktop/TestDir touch -i touch ~/Desktop/TestDir/-i touch -- -i chmod 000 -i touch -- --i.txt chmod 000 --i.txt rm -f -i rm -f -i -R * rm -f -- -i rm -f -- --i.txt #rm -f ./-i #rm -f ./--i.txt rm -f -i -R *