<prompt> Kuandika script bash kwa compress faili kwa kutumia gzip compression na kuhifadhi matokeo katika faili na ugani.gz.  <response>: Hapa ni script bash kwa compress faili kwa kutumia gzip compression na kuhifadhi faili compressed na ugani.gz: !binbash filename1 gzip -c filename filename.gz script hii inachukua faili jina kama parameter, compresses kwa kutumia gzip, na kuhifadhi faili compressed na ugani.gz. Kwa kutumia script, kuhifadhi kama faili.sh kwa mfano compress.sh na kuendesha katika terminal na jina la faili kama parameter: shmy.shmyfile.txt Hii itakuwa compress faili file.txt kutumia gzip compression na kuhifadhi faili compressed kama .txt.gz. 