1) pwd 2) mkdir prove 3) cd prove/ 4) touch fileuno.txt filedue.txt filetre.txt 5) echo Uno >> fileuno.txt 6) echo Due >> filedue.txt 7) echo Tre >> filetre.txt 8) cat fileuno.txt filedue.txt filetre.txt 9) cat fileuno.txt filedue.txt filetre.txt > fileordinato.txt 10) echo pera > filedisordinato.txt 11) echo mela >> filedisordinato.txt 12) echo banana >> filedisordinato.txt 13) cat filedisordinato.txt | sort 14) mkdir esercizio1 15) mv *.txt esercizio1/ 16) mkdir copia_esercizio1 17) cp esercizio1/*.txt copia_esercizio1/ 18) cd esercizio1/ 19) rm *.txt 20) mkdir esercizio11 21) rmdir esercizio11 22) mkdir esercizio11 23) cd .. 24) rmdir -p esercizio1/esercizio11 25) mkdir copie 26) cd copia_esercizio 27) mkdir cartella_copia 29) cd .. 30) Che non si riesce a copiare cartella_copia perché è una directory. In copie sono presenti solo i files. 31) cd copie 32) rm *.txt 33) cd .. 34) cp -R copia_esercizio/* copie/ 35) cd copia_esercizio 36) ls 37) ls -l 38) touch .vedimi 39) No, è nascosto. 40) ls -a 41) ls > file_elenco.txt 42) tail -n 1 file_elenco.txt 43) head -n 1 file_elenco.txt 44) tail -n 2 file_elenco.txt 45) head -n 2 file_elenco.txt 46) haed -n 3 file_elenco.txt | tail -n 1 47) shutdown -h now