svaye | Good morning Jeff | 10:52 |
---|---|---|
jelkneraway | Good morning, svaye | 11:01 |
jelkneraway | is daniel coming? | 11:02 |
jelkneraway | Good morning dcammue | 11:02 |
dcammue | Good morning | 11:02 |
dcammue | Jeff | 11:03 |
jelkneraway | Let's dive right in, since i have to teach a class in a little over an hour | 11:03 |
svaye | +1 | 11:03 |
jelkneraway | i took the lesson 1 quiz | 11:03 |
jelkneraway | it is 32 questions | 11:03 |
dcammue | sure | 11:03 |
jelkneraway | i got 2 wrong | 11:03 |
jelkneraway | and then i made a web page for each question i got wrong | 11:04 |
jelkneraway | this is the website i use for this study: https://jelkner.github.io/webdesign/ | 11:05 |
jelkneraway | One of the questions i got wrong asked about a canvas method to draw quadratic curves | 11:06 |
jelkneraway | i got it wrong, so i made this so i will remember next time: https://jelkner.github.io/webdesign/canvas_experiments/canvas_experiment2.html | 11:06 |
jelkneraway | the other question i got wrong had to do with the type attribute of the audio element | 11:08 |
jelkneraway | so i made this page: https://jelkner.github.io/webdesign/ciw/Lesson1/orange.html | 11:09 |
jelkneraway | i am trying to model for you two how you need to guide your study | 11:09 |
jelkneraway | did you finish all the labs yet? | 11:09 |
dcammue | no Jeff | 11:09 |
jelkneraway | so that is what you should be working on | 11:10 |
jelkneraway | a rebrand of the lab to a new website for Jetro Web Development | 11:10 |
jelkneraway | you should finish all labs before you take the lesson quiz | 11:11 |
jelkneraway | we won't meet tomorrow, right? | 11:11 |
jelkneraway | i am available, actually, but i believe scooper said school is closed | 11:12 |
dcammue | But we can still meet | 11:12 |
jelkneraway | svaye: can you? | 11:12 |
jelkneraway | i say we meet if you are available | 11:12 |
jelkneraway | especially if you can get started on the labs today | 11:13 |
jelkneraway | and you can show me what you have tomorrow | 11:13 |
jelkneraway | do you need any help getting started, btw? | 11:13 |
dcammue | we are available all day Jeff | 11:13 |
jelkneraway | i'll be available in the morning 7 to 10 am my time | 11:14 |
jelkneraway | 11 am to 2 pm your time | 11:14 |
dcammue | No problem | 11:14 |
svaye | Okay Jeff | 11:14 |
jelkneraway | so, do you need any help getting started with the labs? | 11:14 |
dcammue | Y | 11:14 |
svaye | Yeah | 11:14 |
jelkneraway | so here are my first instructions: | 11:15 |
jelkneraway | 1. Download the zip file that they provide you | 11:15 |
jelkneraway | 2. Unzip it. | 11:15 |
jelkneraway | 3. Look at it in a browser. | 11:16 |
jelkneraway | i'm not sure what to suggest next | 11:16 |
jelkneraway | you could just follow along with the instructions they give you next | 11:16 |
jelkneraway | and then plan to do it all again during the rebranding | 11:16 |
jelkneraway | what questions do you have? | 11:19 |
jelkneraway | this will work best if you two are in control | 11:19 |
jelkneraway | remember, i'm the tutor - here to help | 11:19 |
jelkneraway | but *you* need to drive your learning! | 11:19 |
jelkneraway | i'm looking at the curriculum now | 11:19 |
dcammue | sure | 11:19 |
jelkneraway | i think we should do the optional lab 1-1 | 11:20 |
jelkneraway | and all the optional labs | 11:20 |
jelkneraway | you want to become professionals | 11:20 |
jelkneraway | all of this will help in your study | 11:20 |
jelkneraway | But the mail lab is the Application Project 1-1: Using the structural and multimedia elements | 11:21 |
jelkneraway | that is the one that has the Download button with the lab resources | 11:22 |
jelkneraway | since i only have a little time this morning | 11:22 |
jelkneraway | what do you need from me before you get to work? | 11:22 |
jelkneraway | well? | 11:24 |
jelkneraway | svaye, dcammue? | 11:24 |
dcammue | Are we rebraning it with the lab? | 11:24 |
dcammue | Questions | 11:24 |
svaye | Are we doing something different from what is in the lab | 11:25 |
jelkneraway | the first time you do this, you won't understand clearly | 11:25 |
jelkneraway | so let me try to explain | 11:25 |
jelkneraway | i think you should just do the lab the way it is given first | 11:25 |
jelkneraway | if you do, you will end up with a website about an audio company | 11:26 |
jelkneraway | it will have an image and a video that they provide | 11:26 |
jelkneraway | and the text will be about their made-up company | 11:26 |
jelkneraway | basically, you'll just be following directions | 11:27 |
jelkneraway | you should go ahead and do that | 11:27 |
jelkneraway | *after* you feel comfortable with that, the real challenge begins | 11:27 |
jelkneraway | you need to *apply* what you learned | 11:27 |
jelkneraway | by "rebranding" the audio company into Jetro Web Development | 11:27 |
jelkneraway | i showed you and example that i did | 11:28 |
jelkneraway | a silly one | 11:28 |
jelkneraway | i made a website about the color Orange | 11:28 |
svaye | Yes with the color orange | 11:28 |
jelkneraway | https://jelkner.github.io/webdesign/Orange/ | 11:28 |
jelkneraway | but you will do Jetro Web Development instead | 11:29 |
jelkneraway | this is the beginning of a long process | 11:29 |
jelkneraway | you'll keep working on it | 11:29 |
jelkneraway | making changes as your skills get better and better | 11:29 |
jelkneraway | eventually, you will have a website for our new business | 11:29 |
jelkneraway | does that make sense? | 11:30 |
dcammue | +1 Sir | 11:30 |
jelkneraway | excellent | 11:30 |
svaye | +1 Jeff | 11:30 |
jelkneraway | ok, i need to get ready for class today | 11:30 |
jelkneraway | tomorrow i won't have class | 11:31 |
dcammue | Nice class | 11:31 |
jelkneraway | so i can spend more time working with you | 11:31 |
jelkneraway | btw, did you see my email to Tanaka? | 11:31 |
dcammue | +1 | 11:31 |
jelkneraway | we need to get his user stories into Markdown and on our git repo | 11:32 |
dcammue | sooner | 11:32 |
jelkneraway | starting Wednesday, Toby will be back in town | 11:32 |
jelkneraway | and i will begin working with the PRIME interns next Monday | 11:32 |
jelkneraway | we will only have them for 1 month | 11:32 |
jelkneraway | so we need to make sure we use their time wisely while we have them | 11:33 |
svaye | Okay Jeff scooper will help us with the markdown | 11:33 |
jelkneraway | awesome | 11:33 |
jelkneraway | okie dokie | 11:33 |
jelkneraway | see you here tomorrow at the same time | 11:33 |
svaye | Okay Jeff have a nice day | 11:33 |
jelkneraway | you too! | 11:34 |
dcammue | Have a nice class | 11:34 |
jelkneraway | ACTION signs off for today | 11:34 |
*** jelkneraway has quit (Quit: Page closed) | 11:34 | |
dcammue | ACTION signs off for the day | 11:34 |
*** dcammue has quit (Quit: Leaving) | 11:35 | |
svaye | ACTION signs off for the day | 11:35 |
*** svaye has quit (Quit: Leaving) | 11:35 | |
ubuntourist | Hullo all | 13:00 |
mulbah | How are you doing Mr. Cole | 13:01 |
ubuntourist | Still excited by the 3.5 days of music workshps. | 13:02 |
mulbah | Wow | 13:03 |
ubuntourist | So much music the last 3 days. Met a lot of people, and, spent too much money. | 13:03 |
ubuntourist | (I don't normally spend much on anything but food and housing, but this was an exception.) | 13:04 |
ubuntourist | Anyway, how was your week? | 13:04 |
mulbah | my week was great | 13:05 |
mulbah | and I was just missing your teaching | 13:05 |
ubuntourist | Do you have any Linux questions or areas you would like to explore before I decide what to talk about? (I am still thinking about what I might talk about today.) | 13:06 |
mulbah | we have a task to do | 13:08 |
mulbah | It was given by Jeff | 13:08 |
ubuntourist | Is there a summary somewhre? E-mail? Web? Zulip? IRC logs? | 13:09 |
ubuntourist | mulbah, I can search the IRC logs or Zulip if you know when Jeff gave you the task. | 13:12 |
mulbah | the IRC | 13:12 |
mulbah | on Saturday | 13:14 |
ubuntourist | ACTION is scanning the IRC log now... | 13:15 |
mulbah | He told us to purchased a servers | 13:17 |
ubuntourist | There's a lot of discussion on Saturday... | 13:18 |
ubuntourist | Stuff about getting my friend Commy to build a school, stuff about certification exams... | 13:18 |
ubuntourist | Jeff wants you to buy a server? Wow! That's a big jump. Or is he buying it and you pay and set it up? | 13:20 |
mulbah | and jelknerso i'll reach out to Dr. Hubbard about the server14:56 | 13:20 |
mulbah | jelknerour sys admin team will learn to set up the server14:57 | 13:20 |
mulbah | jelknerbut the bill will go to Dr. Hubbard, not me14:57 | 13:20 |
mulbah | jelknerok, that's all for today | 13:20 |
ubuntourist | OK. So you'll be setting it up. Whew! | 13:21 |
ubuntourist | My guess is that Dr. Hubbard will not have the server yet. | 13:22 |
ubuntourist | Here is what I expect will happen: | 13:22 |
ubuntourist | 1. With Jeff's guidance, Dr.. Hubbard will choose two companies: | 13:23 |
ubuntourist | - One company wiil provide a computer that you can SSH to | 13:23 |
ubuntourist | - Another company will establish the name of the server. | 13:24 |
ubuntourist | - Sometimes the same company provides both. | 13:25 |
mulbah | okay | 13:25 |
ubuntourist | The server is just a poweful computer that is "turned on all the time". The domain name of the server is a permanent, registered name | 13:26 |
ubuntourist | that lets other people find the server.. For example mcssliberia.org or ubuntourist.studio or google.com or gctaa.org. | 13:27 |
ubuntourist | You want to think carefully about the name of the co-op and choose a dpmain name that works well. | 13:27 |
ubuntourist | NOVA Web Development has the domain name novawebdevelopment.org. | 13:28 |
ubuntourist | Originally.. the organization that established domain names was very strict about the last part of a domain name. That part is called the | 13:29 |
ubuntourist | Top Level Domain (TLD). The original idea was like a "tree" At the top of the tree there would be: | 13:30 |
ubuntourist | - .org = usually non-profit organizations | 13:30 |
ubuntourist | - .gov - government agencies | 13:30 |
ubuntourist | - .mil = the military | 13:30 |
ubuntourist | - .edu = educational institutions | 13:31 |
ubuntourist | - .com = commercial companies | 13:31 |
ubuntourist | - .net = Internet service providers | 13:31 |
*** mulbah has quit (Remote host closed the connection) | 13:32 | |
ubuntourist | Since it started as a United States venture, when other countries got involved, two letter abbreviations for country names were added | 13:34 |
ubuntourist | - .us, .ca, .ie, and so on. There is an international standards organization (ISO) that chooses the standard abbrreviations. | 13:35 |
ubuntourist | (ISO also chooses standards for representing time, date, and many other formats. For example, the US represents dates in a stupid way by putting the month firrst then day then year. | 13:37 |
ubuntourist | The ISO standard is better YYYY-MM-DD 2023-07-03 instead of the American 07/03/23.) | 13:38 |
ubuntourist | Anyway.... Now there are MANY top-level domains. For example, because I am interested in music, I learned that there was a TLD called ".studio" | 13:39 |
ubuntourist | and that seemed better for me. | 13:39 |
ubuntourist | Some TLDs cost more money to obtain because they are popular and in high demand. Also, you domain name must be unique. | 13:40 |
ubuntourist | So you need to choose a name for your co-op -- a "human name" that you would use when talking to people about the co-op. Then choose a domain name that represents it | 13:42 |
mulbah | so can we start on the project today | 13:42 |
ubuntourist | and finally a TLD that you can afford. And it has to be something that no one else is already using. | 13:42 |
ubuntourist | Yes. Yoy don't have to purchase a domain name today, but you can use services to find out if your choice is available and affordable. | 13:43 |
ubuntourist | Hold a second... I want to look something up... | 13:43 |
ubuntourist | ACTION switches to a web browser.... | 13:43 |
mulbah | the website that we are do the the project for dose not have a domain name yet | 13:43 |
ubuntourist | ACTION is back. | 13:44 |
mulbah | alright | 13:45 |
ubuntourist | And that's what I think Jeff is asking you to do: With Dr. Hubbard, move the project to a computer that Jeff is not paying for | 13:45 |
ubuntourist | AND choose a name for it, based on the name that you decide for your co-op. | 13:45 |
ubuntourist | Start exploring https://www.namecheap.com/ | 13:46 |
mulbah | sure | 13:46 |
ubuntourist | That is one place that you an purchase a domain name. | 13:46 |
mulbah | so where did you get the link from | 13:46 |
ubuntourist | For now, just try silly stuff: Compare the cost of "mulbah.com" to "mulbah.net" or something like that. | 13:47 |
mulbah | .COM only $5.98* | 13:47 |
ubuntourist | Name Cheap is a company that sells domain registrations. It is one of the better-known companies that do that. It is where I | 13:47 |
mulbah | .NET only $11.98 | 13:48 |
ubuntourist | bought "ubuntourist.studio" and I think it's where Nova Web Development bought "novawebdevelopment.org". | 13:48 |
ubuntourist | Part of the reason that it is inexpensive is that your name is not a company name that everyone in the world knows. It is not in high demand. | 13:49 |
mulbah | sure | 13:50 |
ubuntourist | If you tried the name of a company that already has a domain, you would be told it was unavailable. And if you tried altering the name | 13:50 |
ubuntourist | you might find that it is available, but at ridiculously high price. | 13:51 |
ubuntourist | Read the fine-print too: Some offer you a name that is cheap for the first year, but then becomes really expensive. You are really "renting" the name. | 13:52 |
ubuntourist | If your company or school closes, or changes its name, you do not want to be stuck with the old domain name forever.. | 13:52 |
ubuntourist | But, if your business becomes well-known, you will want to keep the domain name, and the company that sells it can say "Well, now it costs more..." | 13:53 |
ubuntourist | And at that point your business is "addicted". If you don't pay more, you will need to contact everyone you do business with and | 13:54 |
ubuntourist | try to explain why your domain name is changing. That will effect your e-mail address, your web site and all create all sorts of headaches. | 13:55 |
ubuntourist | So, when you're exploring. Think carefully about the name. Is it easy to remember? Is it cheap? Is there any fine-print that will make it expensive next year? | 13:56 |
ubuntourist | Does it represent your group well? | 13:56 |
ubuntourist | I will talk with Jeff and see if that's what he wants you to do. He will probably offer suggestions and advice. (Jeff and my good buddy Paul Flint | 13:58 |
ubuntourist | were smarter than me: When the Internet was first getting started, they both got domain names that they have been able to keep | 13:59 |
ubuntourist | for decades. I got my first domain name last year. I am very new to that part of systems administration.) | 13:59 |
ubuntourist | ACTION will stop talking and wait for you to catch up. | 14:00 |
mulbah | but can we buy the server with out the domain name for now | 14:01 |
ubuntourist | Yes. When you buy the server, you get a numeric address. You can work with that for as long as you want. | 14:02 |
mulbah | can we do that today | 14:03 |
ubuntourist | So "ssh 134.231.2.5" or "https://134.231.2.5/" or stuff like that. Later when you purchase the domain name, you liink it to the IP number provided by the company that you bought the server from. | 14:04 |
ubuntourist | mulbah: I don;t think we can do that today unless you've got a credit card and are willing to pay the monthly bill... ;-) | 14:04 |
mulbah | Jeff will be the one to buy the server | 14:06 |
ubuntourist | So, "we" can't do it today. if Jeff is the person who will actually do it. | 14:07 |
mulbah | alright | 14:07 |
ubuntourist | You can explore the web site https://linode.com/ while you wait: That is where I bought my server and where NOVA Web Development bought its server. | 14:08 |
ubuntourist | Many servers are not Linux-based. A lot of people are too dependent upon Microsoft. However, Linosde and another company "Digital Oceans" | 14:09 |
mulbah | we are buy this server for a website that the web term is developing, the only of the website is going to be the one to pay for the server os that clear? | 14:10 |
ubuntourist | provide servers designed for people who know and love Linux. | 14:10 |
ubuntourist | I think there are some typos there.. I think you mean the owner of the website willl be paying. And yes, that's my understanding. | 14:12 |
mulbah | sure that is what mean | 14:13 |
ubuntourist | Your co-op will be the owner, and will pay both a monthly fee for the server and a fee for the domain name. | 14:13 |
ubuntourist | Domain names can be paid for annually or sometimes every three or five years. Subscription durations vary. | 14:14 |
ubuntourist | Also, the server fee changes if you "over-use". For example, if you set up a website, and fill it with videos, and your site becomes popular. | 14:15 |
ubuntourist | Video uses more data than text. That means more resources are being consumed. You will be charged extra for excessive data traffic. | 14:16 |
ubuntourist | Or, if you're using the server to do tasks that require lots of compputational power or disk space, it costs more. | 14:16 |
ubuntourist | So, this will be a discussion with Jeff. What kinds of services will your co-op provide? How will the co-op earn money? | 14:18 |
ubuntourist | The idea will probably be like what NOVA Web Development does: Find small businesses and organizations that need a very basic web site, | 14:19 |
mulbah | okay but can you email him and cc copy i and tboimah | 14:19 |
ubuntourist | with nice graphics but not a lot of need for video or big storage or heavy scientific mathematics compputation. | 14:20 |
ubuntourist | Will do. | 14:20 |
ubuntourist | Changing topic for a minute: | 14:20 |
ubuntourist | Jeff and I discussed certification exams last week. | 14:21 |
ubuntourist | I've had a very busy week. So I have not investigated much. But last week, | 14:21 |
ubuntourist | I told Jeff that I remember that the Linux Professional Institute (LPI) previously offered several | 14:22 |
mulbah | we was thinking of writing the exam | 14:22 |
ubuntourist | levels of exams. The exams become harder and more expensive at the higher levels, but the first level exams were affordable. | 14:23 |
ubuntourist | We? Jeff and people in Liberia? Who? | 14:24 |
mulbah | I and tboimah | 14:24 |
ubuntourist | Last week, Jeff was concerned that the exam needs to be something that his school system would approve. | 14:25 |
ubuntourist | At least, that was part of the discussion. When you get a certification, it helps to have a certification that others recognize. | 14:25 |
ubuntourist | I may be able to say "Congratulations! Job well done!" but when you try to advertize yourself and tell people "Mr. Elkner and Mr. Cole say I do great work." | 14:27 |
ubuntourist | people will say "Who the heck are they? I don't know them. Maybe they are idiots." | 14:27 |
ubuntourist | But if you can say "I have a certificate from the Linux Professional Insttitujte" that will mean something to a lot of Linux professionals. | 14:28 |
ubuntourist | (You can write your own exams too, but at some point you will need official certification.) | 14:29 |
ubuntourist | The LPI certifications also mean that Jeff and I are teaching well. So it means Jeff's school may be able to provide more | 14:30 |
ubuntourist | opportunity to him and the students he teaches, because he will have proof that his students are succeeding. | 14:31 |
ubuntourist | (He might telll people they are succeeding, but I don't trust him. He's the eternal optimist. ;-) ) | 14:32 |
mulbah | okay | 14:32 |
ubuntourist | So... I've only got about 30 minutes left. | 14:33 |
ubuntourist | Any technical issues? Questions about Linux and Bash and stuff in the book? | 14:34 |
mulbah | so will i and tboimah be writing or not | 14:35 |
mulbah | test | 14:35 |
ubuntourist | I don't know. I'll ask Jeff about that. My guess is "Probably not." You're both still learnig a lot and I don't see how you could | 14:36 |
ubuntourist | write a good exam at this point. | 14:36 |
mulbah | okay | 14:37 |
ubuntourist | You could probably have some really good discussions with each other and explore together. | 14:38 |
mulbah | alright thanks for the understanding | 14:38 |
ubuntourist | Often, programmers work in pairrs - One person watches the other, learning and checking for mistakes, and then they switch, | 14:39 |
ubuntourist | so that neither one becomes too tired and sloppy. It avoids mistakes. And often the one who is watching can come up with | 14:39 |
ubuntourist | good questions or new ideas. So, exploring together and checking each others progress, and maybe writing good questions for me and Jeff | 14:40 |
ubuntourist | can be helpful. | 14:40 |
ubuntourist | Eventually, probably two years from now, you may be able to have an exam that you can give to others. There will still be a need for | 14:42 |
mulbah | okay! so can we do a little practice from the book | 14:42 |
ubuntourist | certification from a recognized group, but perhaps within your area, you can have a test that is recognized locally within the school system. | 14:43 |
ubuntourist | OK... Only a few minutes left. So,.. VERY quickly: | 14:45 |
mulbah | I really want to understand much about the webcribe comman | 14:46 |
mulbah | it is in the book | 14:46 |
ubuntourist | Oooo... Something I never heard of. Let me check quickly.... | 14:47 |
mulbah | I mean wildcard command | 14:48 |
ubuntourist | "webscribe"? I just searched the book. It says there is no such thing as "webscribe" | 14:48 |
ubuntourist | Oh. Better.. Much better. | 14:48 |
ubuntourist | In western card games, sometimes, some cards can be used to mean "any card at all". So, for example, let's say you need a "King of Hearts" card to win, | 14:50 |
ubuntourist | but you don't have one. And but you have a "Joker" or "Ace of Spades". The rules of the game may say that thsoe twio cards can | 14:51 |
ubuntourist | be whatever you want. Anything. So, you show your Joker or Ace of Spades and say "for now it represents King of Hearts". | 14:51 |
ubuntourist | It is called a "wildcard" because it means "any card". It's "wild and free". ;-) | 14:52 |
ubuntourist | On the computer, a wildcard is a symbol ot pattern that means "anything be here". | 14:53 |
ubuntourist | So, for example, maybe I've forgotten how to spell your name. I remember that it begins with "m". Asterisk ("*") os tje wildcard | 14:55 |
mulbah | sure it's used to make the command powerful | 14:55 |
ubuntourist | symbpl. If I seach for "m*" it will might find "m". "mike", "mary", "mulbah", "margaret", etc. Maybe it will find too many. | 14:56 |
ubuntourist | Oh, guess what... I remembered that it ends with "h". So now I try "m*h" and it only finds "mulbah". | 14:56 |
mulbah | can we do that in the terminal | 14:57 |
ubuntourist | The wildcard character is replaced with "any character, any number of times -- including zero times". So "m*h" would find "mh" if there was one. | 14:58 |
ubuntourist | Yes. Many many commands accept wildcards. In fact, you need to be very caareful when deleting files: A wildcard can help you delete | 14:59 |
mulbah | ssh 2qaeBrquqbkAdg9PRfnYAN4dx@lon1.tmate.io | 14:59 |
ubuntourist | a LOT of files... more files than you want to delete. And then you will curse for having deleted something important. | 14:59 |
ubuntourist | So, no files in your directory with "sv" | 15:02 |
ubuntourist | But maybe in a sub-directory. Add a "-R" | 15:03 |
ubuntourist | ls -R *sv* | 15:03 |
ubuntourist | ls -R s*v | 15:03 |
ubuntourist | In your directories do you have a file that matches that? Which files are you searching for? | 15:04 |
mulbah | I'm just trying some thing | 15:05 |
mulbah | I don't think so | 15:05 |
ubuntourist | Ah. Well that's why it's not finding anything. Search for some filenames that you know are there. | 15:05 |
mulbah | Okay | 15:06 |
ubuntourist | Seaching for fiile names wiith commonly used latters is good. That's why I chose "o" for my last searrch. I know that almost every Linux user has files | 15:07 |
ubuntourist | that are automatically put on the system that have "o" in the name. | 15:08 |
ubuntourist | You've got it now. You found the only file -- in this case a directory -- that has a capital "T" in it. | 15:08 |
mulbah | alright | 15:08 |
mulbah | can we go on with another one | 15:09 |
ubuntourist | (The wildcard search won't find files that begin with a "." because those are supposed to be "hidden". | 15:09 |
ubuntourist | To find those, you either need to inclide the period in the pattern or use "-A" in the command. | 15:10 |
ubuntourist | My mistake. You still need the starting period. | 15:11 |
ubuntourist | ls .x* | 15:12 |
ubuntourist | How wiould you search for files that are related to Python in some way? (And use the "-R" because we want to search sub-directories too.) | 15:13 |
ubuntourist | ACTION waits for an experiment.... | 15:14 |
ubuntourist | Are you still on the server? It's quiet over there. | 15:15 |
ubuntourist | Hello? We're 15 mintues into overtime, and I will really need to leave soon... Are you still here and on the server? | 15:17 |
mulbah | yeah | 15:18 |
ubuntourist | ACTION is waiting for mulbah to experiment and try some search... | 15:18 |
ubuntourist | Good. | 15:20 |
ubuntourist | Now try | 15:20 |
ubuntourist | ls -R *.py* | 15:20 |
ubuntourist | Or, whatever you want to try. | 15:20 |
ubuntourist | So... Interesting... It didn't find both... | 15:22 |
ubuntourist | Add the -A "ls -RA *.py*" | 15:22 |
mulbah | so can use the cat command with this to list the file | 15:23 |
ubuntourist | Yes. If you use "cat" and wildcard together, it will just spill the contents of ALL the files that match onto the screen. | 15:24 |
ubuntourist | You probably don't usually want to do that, because it doesn't separate them in any way. | 15:24 |
ubuntourist | You won't know where one files ends and the next one begins. | 15:25 |
ubuntourist | In your test, it worked okay because there was only one file that mached "*.py" | 15:25 |
ubuntourist | Sorry. We were both doing something. You go ahead. | 15:26 |
mulbah | so how can I do it if the was many files | 15:26 |
ubuntourist | THis is where "most" can come in handy. | 15:26 |
ubuntourist | If you have several matches, "most" will show you the first one, but then will wait. If you type ":n" it will ask if you want to go to the next matching file. | 15:27 |
ubuntourist | Try this: | 15:27 |
ubuntourist | most .b* (and look at the bottom of the screen for the filename of the current file) | 15:28 |
ubuntourist | So, what is the name of the file you are looking at? | 15:29 |
ubuntourist | (You do not need to scroll for the answer..) | 15:30 |
mulbah | I'm not seeing the name of the file | 15:30 |
ubuntourist | Read what I wrote above... The answer is at time mark 11:27:50 on my screen. (Yours may be 16:27:50 or whatever the time difference is.) | 15:32 |
ubuntourist | ACTION needs to step away for a second... | 15:32 |
ubuntourist | ACTION is back. | 15:33 |
ubuntourist | The line after "Try this:" has the answer.... | 15:34 |
ubuntourist | Scrolliing up and down is NOT the answer. | 15:35 |
mulbah | but I'm not seeing it | 15:35 |
ubuntourist | that just shows you what is in the file. You don NOT need to type anything. | 15:35 |
ubuntourist | What does the line after "Try this:" tell you to do? (The whole line. Not just the command. You do not need to type anything.) | 15:36 |
ubuntourist | Type my instructions back to me. | 15:37 |
ubuntourist | (the line after "try this") | 15:38 |
mulbah | the line after "try this" | 15:40 |
ubuntourist | No. I mean, above, where I tell you to use the "most .b*" what else does it tell you to do? | 15:40 |
ubuntourist | Without typing or using the arrow keys, look at the terminal window. | 15:41 |
ubuntourist | Don't try to understant what is in the file. What do you see on the screen that is NOT part of the file? What part of the screen lookss "different"? | 15:42 |
ubuntourist | The filename must match the wildcard ".b*" because that is what you asked for with "most .b*" | 15:44 |
ubuntourist | "... (and look at the bottom of the screen for the filename of the current file)" | 15:47 |
mulbah | .bash_aliases | 15:48 |
mulbah | is the name | 15:48 |
ubuntourist | Bingo! | 15:48 |
ubuntourist | Now: Type a colon ":" | 15:49 |
ubuntourist | (shift next to L on my keyboard) | 15:49 |
ubuntourist | ACTION waiting... | 15:50 |
ubuntourist | Now "N" | 15:50 |
ubuntourist | OK.... What do you think it is trying to do? | 15:50 |
mulbah | the new file name is .bash_history | 15:51 |
ubuntourist | Press the Enter key | 15:51 |
ubuntourist | Now, at the bottom of the screen, it shows the new file name. | 15:51 |
ubuntourist | Also, on the right, it shows that you are on line 1, character 1. and 0% through the file --- (1, 1) 0% | 15:52 |
ubuntourist | move the arrow keys slowly and watch the numbers change. | 15:53 |
ubuntourist | Move left and right too a little. Slowly. | 15:53 |
ubuntourist | OK you're on line 5, character 8 | 15:54 |
ubuntourist | Now, :n again | 15:54 |
ubuntourist | Type quickly becayse I need to run. | 15:54 |
ubuntourist | enrer | 15:55 |
ubuntourist | OK. Again | 15:55 |
mulbah | okay I understand it now | 15:55 |
ubuntourist | (Oh it says 100% for the .bash_logout file because it was so small that it fit onto one screen. | 15:55 |
mulbah | thanks | 15:55 |
ubuntourist | :n will keep going to the next file. When it runs out of files, it will start over again with the first file. | 15:56 |
ubuntourist | The first file will have (0) before it, the second (1), the third (2) and so on. Type the :n without enter and it will show you the file number along with the name. | 15:56 |
ubuntourist | And... I really need to go now.... | 15:57 |
ubuntourist | Bye! | 15:57 |
mulbah | okay thanks for the day | 15:57 |
*** ubuntourist has quit (Quit: Leaving) | 15:57 | |
*** mulbah has quit (Quit: Leaving) | 16:00 | |
*** tboimah has quit (Ping timeout: 480 seconds) | 16:58 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!