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
Neil and Katy Discuss Fingerprints and Individuality | StarTalk
Why are there seven million people? And why do each one of us have our own fingerprint? Even twins have different fingerprints, who are otherwise genetically identical. Why would you rather we were all the same? No, I’m not. Why is that more odd to you th…
Delicious Food in TOKYO VLOG
Hi guys, I’m Duty. I’m back with another Japan vlog because you guys seem to like them. We had a flight from Japan to Turkey, so we had to get PCR tested. Here’s us on our way to the lab that we’re gonna get tested. What I like about Japanese transportat…
last words
Hey, Vsauce. Michael here. On December 17th, 1977, Gary Gilmore was executed for murder. He was the first prisoner executed by the United States after a 10-year suspension of the practice. When asked if he had any last words, he simply replied, “let’s do…
Khan Academy Ed Talks with LaVerne Srinivasan
Hi everyone! Sal Khan here from Khan Academy. Welcome to the Ed Talks version of our Homeroom with Sal live stream. We have a very exciting conversation today with Laverne Srinivasan. But before we get into that conversation, I will give my standard remin…
Identifying tax incidence in a graph | APⓇ Microeconomics | Khan Academy
We are asked which of the following correctly identifies the areas of consumer surplus, producer surplus, tax revenue, and deadweight loss in this market after the tax. So, pause this video, have a go at it. Even if you struggle with it, it’ll make your b…
Adjective order | The parts of speech | Grammar | Khan Academy
So, Grom Marians, if you’re a native English speaker, the phrase “French old white house” might seem a little weird to you. If you’re not a native English speaker, it might not. This is something that I didn’t really know about before I started preparing …