0%
1 2 3
| sudo apt-add-repository ppa:fish-shell/release-2 sudo apt-get update sudo apt-get install fish
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
| > ls l*.p* lena.png lesson.pdf
> touch "testing_"(date +%s)".txt" > ls *.txt testing_1360099791.txt
> for x in (seq 5) touch file_$x.txt end
> for file in *.txt cp $file $file.bak end
if grep fish /etc/shells echo Found fish else if grep bash /etc/shells echo Found bash else echo Got nothing end
|