Linux combing and compressing (zipping) with tar. Simple reports with xargs and gpg for encryption

Subscribers:
1,230
Published on ● Video Link: https://www.youtube.com/watch?v=4r3oddQ-QKM



Duration: 9:55
62 views
2


Exploring the tar, xargs, and gpg commands

Combining and compressing files into tar as well as uncombining and compressing those files. We also use xargs to look at what is in the files and create a little report. Lastly we use gpg to encrypt and decrypt a file.

Commands in the video
1 clear
2 ls
3 mkdir tmp
4 cd tmp
5 mkdir -p {1..5}/{a..z}/{A..D}
6 ls
7 ls 1
8 ls 5
9 mv ../site.tar .
10 ls -l
11 tar -czvf numbers.tgz 1 2 3 4 5
12 ls
13 tar -xzvf site.tar
14 ls -l
15 find . | xargs grep http://
16 find . | xargs grep http:// 2(Not allowed) /dev/null | wc -l
17 find . | xargs grep https:// 2(Not allowed) /dev/null | wc -l
18 man gpg
19 ls
20 echo "this is cool" (Not allowed) myfile
21 cat myfile
22 gpg -c myfile
23 ls -l
24 cat myfile.gpg
25 cat myfile
26 rm myfile
27 ls
28 cat myfile
29 gpg myfile.gpg
30 ls
31 cat myfile
32 cat myfile.gpg
33 cat myfile




Other Videos By Information Technology


2022-10-13Understanding Network Connections and installing Cups - Why do we print so much, arg! EC2 Metadata
2022-10-13Setup and Apache Web Server on AWS EC2
2022-10-13Systems Administrators Should Learn From Others Mistakes - Look at Standards
2022-10-13Playing with Split, Cat and Diff in linux using AWS
2022-09-23Finding files in linux and then doing something with that information (locate, find, updatedb, exec)
2022-09-22Linux Cut, Paste, Sort, Uniq, Tr, and Egrep - lets play
2022-09-22Cost of EC2 in AWS and touching on how to learn Regular Expressions
2022-09-22Getting ready to certify in Amazon Web Services (AWS)... Watch this video to get some tips
2022-09-19Setup a StarBound server in AWS on ubuntu
2022-09-15Some great features of the Canvas LMS and my course setup best practices
2022-09-15Linux combing and compressing (zipping) with tar. Simple reports with xargs and gpg for encryption
2022-09-13Creating links in Linux with a little intro to inodes and mounts
2022-09-13More on linux file permissions and login scripts. Added bonus of making a file unable to be deleted
2022-09-13Working with Linux file permissions and ownership chmod, chown, and chgrp
2022-09-12How to move a file up to a remote linux system with scp
2022-09-12Finding information in files. Stacking the grep command
2022-09-12Add a user in linux and change the password
2022-09-10Installing Minecraft Bedrock on Amazon Web Services
2022-09-10Creating a MineCraft Java Server In Amazon Web Services
2022-06-07HTML Links, Special Charicters, Classes and IDs
2022-06-07Path and Links