From cc6670ea5620c2c7e244f61e4eccb926d2121a35 Mon Sep 17 00:00:00 2001
From: Matthew Draws <59035262+mdsketch@users.noreply.github.com>
Date: Wed, 9 Aug 2023 12:42:12 -0400
Subject: [PATCH] Update tar.md to add list flag -t

Update tar hints to include -t for listing files in the archive
---
 tar.md | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/tar.md b/tar.md
index f2894cd09cb..b632fbd8caa 100644
--- a/tar.md
+++ b/tar.md
@@ -34,6 +34,11 @@ tar -xzf archive.tar.gz -C /target/directory
 tar -zu archive.tar.gz -C /target/file
 ```
 
+```shell
+# List the contents of an archive
+tar -tf archive.tar.gz
+```
+
 ### Common options
 
 | Option | Description                                                             |
@@ -44,3 +49,4 @@ tar -zu archive.tar.gz -C /target/file
 | `f`    | filename of the archive                                                 |
 | `v`    | verbose, display what is inflated or deflated                           |
 | `a`    | unlike of `z`, determine compression based on file extension            |
+| `t`    | list the contents of an archive