2025 Linux Admin Tar, Gzip, Hashing, Encryption

Опубликовано: 28 Июль 2026
на канале: Information Technology
100
3

In this Linux tutorial, I work with archives, search files for content, encrypt data, and verify integrity with hashing. From extracting a .tar.gz website archive to using gpg for encryption, this video walks through real-world sysadmin and security tasks.

What you’ll learn in this video:
Creating and moving archives (tar -xzvf, tar -czvf)
Exploring extracted files with tree and find
Searching for patterns in files (grep, xargs, wc -l)
Redirecting errors with notallowed /dev/null
Encrypting files with gpg -c
Decrypting and recovering encrypted files with gpg
Installing GPG tools with dnf
Verifying file integrity with md5sum, sha256sum, and sha512sum
Checking hash changes after file edits (vi + hash commands)

This is a great session for anyone preparing for Linux+, LPIC-1, or Security+ since it covers both system administration and file security essentials.

By the end of this video, you’ll know how to:
Extract and compress files with tar
Search file contents with grep and find
Encrypt and decrypt sensitive files using GPG
Verify file integrity with multiple hashing algorithms

111 history
112 exit
113 ls
114 mkdir tmp
115 mv site.tar tmp/site.tgz
116 cd tmp
117 ls
118 tar -xzvf site.tgz
119 ls
120 tree
121 ls
122 find .
123 grep http ./www.espn.com/soccer.html
124 find . | grep http
125 find .
126 find . | grep inside
127 find . | xargs grep http://
128 find . | xargs grep http:// | wc -l
129 find . | xargs grep http:// notallowed /dev/null | wc -l
130 ls
131 tar -czvf new.tgz espn.co.uk global.espn.com
132 echo "Check this out" notallowed textfile.txt
133 cat textfile.txt
134 gpg -c textfile.txt
135 dnf install --allowerasing gnupg2-full
136 sudo dnf install --allowerasing gnupg2-full
137 gpg -c textfile.txt
138 ls -ltrah
139 cat textfile.txt
140 cat textfile.txt.gpg
141 rm textfile.txt
142 ls -l
143 gpg textfile.txt.gpg
144 ls -l
145 cat textfile.txt
146 md5sum textfile.txt
147 sha256sum textfile.txt
148 sha512sum textfile.txt
149 cp textfile.txt a
150 sha512sum a
151 vi a
152 sha512sum a
153 cat a
154 history