yego.me
💡 Stop wasting time. Read Youtube instead of watch. Download Chrome Extension

Terminal Lesson 14


2m read
·Nov 3, 2024

Mad kids 101 here today. This is going to be a terminal lesson. So first of all, I'll open up terminal, and this is going to be on how to FTP to your website and upload and download files to your website.

So first of all, I have a file I want to upload: hi hi, not zip. By the way, you cannot upload a folder. So first of all, I have to CD to the directory that has the file that I'm going to upload on it. Ok, and that's where anything I download will go. So now I—once I'm here, I type FTP, and I'm gonna connect to my website maca journaling dot com, and then I'll log in and our password.

Ok, and so once you're connected, you can type 'ls', just like on a normal terminal. You can type 'CD' to go to, say, web root, which is the directory. Instead of CP or FV, it's um, copy and move. So here's how to upload a file: say I want to upload hi hi dot zip. I say 'put space hi hi dot zip'.

By the way, all these commands will be in the description of the video, and I've just uploaded hi hi. Say I want to download something, like I type 'get space um, let's say index dot HTML'. Wrong. Ok, so I've downloaded index dot HTML. Umm, pretty cool!

So now, also say I don't want to get out of this, and 'CD'—well, first of all, if I want to upload from another directory, I type 'L CD' in FTP space and then where I want to go to. So I'll LCD to slash users slash Mac head 101, and now I'm back in Mad kids 101. But um, in FTP, I'm still in web root.

So now what I want to do is I can put any file in my home directory. So right here, I'll open up my home directory and put index dot HTM in there, and I'll put hi hi dot zip in there. So now I will put hi hi dot zip, and it'll still work because I LCD'd to my home folder.

So now I can LCD back to my desktop. So maybe I want to upload OpenOffice. Remember, downloading and uploading with 'getting' and 'put'—do not upload directories, once again. So you have to zip everything you upload up.

So that's how to do this. Thank you for watching, Mac heads. Subscribe and goodbye!

More Articles

View All
Why Buying Coffee Makes You Poor
What’s up, you guys? It’s Graham here. So let’s dive into one of the most controversial and debated topics of financial advice in 2019, and that would be whether or not this cup of coffee is making you poor. That’s right! Today we’re gonna be talking abou…
Ways to manage financial risk | Insurance | Financial literacy | Khan Academy
So, let’s talk a little bit about the different ways that you can manage risk. It’s generally going to fall into a few categories. You can obviously try to avoid the risk altogether or reduce it. You could say, “Alright, that risk is there, but I’m going …
Jeremey Grantham: “A Storm Is Brewing” in the Global Real Estate Market
Real estate is a global bubble. It has driven house prices provably to multiples of family income all over the world. No one can afford to buy a house now. No young kids coming out can buy a house. House prices will come down everywhere. Jeremy Grantham …
A Warning For Landlords | Expectation vs Reality
What’s up you guys? It’s Graham here. So we got to have a serious sit-down conversation today and talk about the business of investing in real estate, owning rental property, and more specifically becoming a landlord. Because I’ll admit it’s easy to glam…
Cruise Ship Propulsion | Making the Disney Wish | Mini Episode 2
Our Disney Wish has a new propulsion system. This is definitely a used Azipod, which is an electric motor-driven propeller under the water. It really allows for some amazing performance. We’ve made the step from going from a conventional shaft line prope…
Ladies and gentlemen, the Hobart Shakespeareans
I’m Rafe and I’ve been my 30th year teaching public school at Hobart Elementary School in downtown Los Angeles. For those of you who don’t know, Hobart school is not easy. The children do not speak English as a first language. The children live in terribl…