fish-shell 发表于 2018-04-Sun | 阅读次数: 123sudo apt-add-repository ppa:fish-shell/release-2sudo apt-get updatesudo apt-get install fish12345678910111213141516171819202122232425> ls l*.p*lena.pnglesson.pdf> touch "testing_"(date +%s)".txt"> ls *.txttesting_1360099791.txt> for x in (seq 5) touch file_$x.txtend> for file in *.txt cp $file $file.bakendif grep fish /etc/shells echo Found fishelse if grep bash /etc/shells echo Found bashelse echo Got nothingend请作者喝一杯咖啡☕️打赏微信支付