[Music]
how to unzip
unzip files using a ssh terminal
on an ubuntu server currently i'm
connected to my server
via sftp using winscp
and that is just to show you what's
going on visually with the files
as you can see on the left hand side we
have my local devices files
and on the right hand side of the window
is my remote servers files
as you can see i have a zip file and
it's called bedrock server
and we're going to be unzipping this
file so let's go ahead and open up an
ssh terminal window
so the first thing you need to do is go
to commands here and then go
open and putty once you've done that
you'll be greeted with
your username which you would have
entered into winscp to originally
connect
and you'll need to put in your password
so i'm just going to go back to my
server details here
to find the password there is my
password here and currently my server is
hosted on vulture if you would like to
use vulture as your server host i'll put
my referral link in the video
description
if you use my referral link you'll get
some credits which you can use to test
out the server
all right so we've copied our password
here and i'm going to go back to the
putty terminal window here
i'm just going to right click to paste
and then hit enter
once you've done that you'll be logged
into your server via ssh
and now i'm just going to minimize my
vulture window here and i'm just going
to pull down the terminal just so you
can see what's going on with the files
all right to begin unzipping this
bedrock server.zip file
we need to install unzip to do this you
need to type the following
apt space install space
unzip once you've typed that in hit
enter and your server will begin
installing on zip once that's been
installed you are now ready to unzip
your file so to unzip your file
enter the following command unzip
and then your file name so mine is
bedrock dash server
dash 1.16.40.02
dot once you've entered the command hit
enter and your server will begin
unzipping your zip file
all right that's complete now and just
to check if it has completed i'm going
to refresh my service directory here
and as you can see there's all the files
that we have unzipped from our zip file
all right
next i'm going to show you how to zip
multiple files to do this
compile all the files into a single
folder that you want to zip so i'm just
going to right click
then go new then go directory i'm going
to call it minecraft
and then hit ok and now i'm just going
to drag all the contents that i have
unzipped
back into minecraft i'm also going to
include the bedrock server.zip file in
there as well
so i'm just going to basically highlight
everything except
the new minecraft folder that i've just
made and then just simply drag it in
all right let's check if all the
contents are in the minecraft folder by
double clicking on it
and there we go yeah everything's in the
minecraft folder let's go back here all
right so how do we zip this minecraft
folder to make it smaller open back up
your ssh terminal
and you're going to want to install zip
so to do this again you need to type the
following command
apt space install space zip
and then hit enter and zip will begin
installing onto your server once that's
done
you're ready to enter the zip command so
please enter the following
zip space dash r space
the zip file name that you're going to
be generating so i'm going to call it
minecraft.zip
space the folder name that you want to
zip so the folder that i want to zip is
called minecraft so i'm just going to go
minecraft
all right once you've typed that in hit
enter and as you can see your server
will begin zipping the file that you
entered in the command
all right guys judging by the ssh
terminal it looks like it's completed
let's just minimize this terminal for
the time being and then refresh the
contents
to see if there is a zip file and there
we go guys we have a new file called
minecraft.zip
alright guys that concludes the video
thank you very much for watching
if you enjoyed this video please give it
a like comment down below
and most importantly of all subscribe to
support the channel i'll see you on the
next video