tar zcvf code example
Example: how to put directory in archive bash
tar cf ostechnix.tar ostechnix/
# Here, c flag refers create new archive and f refers the file name.
tar cf ostechnix.tar ostechnix/
# Here, c flag refers create new archive and f refers the file name.