• Post Reply Bookmark Topic Watch Topic
  • New Topic

How do you create a script in Unix  RSS feed

 
bob morkos
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a file called 'images.tar.gz', How do I go about extracting this file using a script. Please help me out with some example. I'm new to Unix and I woul realy appreciate any help. Thanks.
 
Andre Mermegas
Ranch Hand
Posts: 158
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
tar xvfz images.tar.gz is the command to uncompress it.
if you wante to make it a script to just uncompress that
particular file.
#!/bin/sh
tar xvfz images.tar.gz
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!