Skip to content

Commit 25eaa9a

Browse files
authored
Update tar.md to show file-listing (#2162)
1 parent 1fa8ae1 commit 25eaa9a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tar.md

+6
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@ tar -xzf archive.tar.gz -C /target/directory
3333
tar -zu archive.tar.gz -C /target/file
3434
```
3535

36+
```shell
37+
# List files in archive
38+
# Add -v for additional details
39+
tar -tzf archive.tar.gz
40+
```
41+
3642
### Common options
3743

3844
| Option | Description |

0 commit comments

Comments
 (0)