*** shmohamud has quit (Remote host closed the connection) | 00:19 | |
*** shmohamud has quit (Remote host closed the connection) | 00:30 | |
*** shmohamud has quit (Ping timeout: 480 seconds) | 00:54 | |
*** shmohamud has quit (Ping timeout: 480 seconds) | 01:06 | |
*** shmohamud has quit (Ping timeout: 480 seconds) | 01:47 | |
*** shmohamud has quit (Remote host closed the connection) | 03:04 | |
scooper | !agenda | 11:00 |
---|---|---|
LittleWebster | This is the agenda for the next meeting: | 11:00 |
LittleWebster | Update on the Rural Cooking Stove Project (5 Minutes Web Team) (added by scooper) | 11:00 |
LittleWebster | Talking With The Sup About Building The School (added by scooper) | 11:00 |
LittleWebster | Weekly Update From Each Group (added by scooper) | 11:00 |
LittleWebster | Financial Report for July (added by scooper) | 11:00 |
*** scooper has quit (Quit: Leaving) | 11:10 | |
*** tboimah has quit (Remote host closed the connection) | 12:15 | |
*** tboimah has quit (Read error: Connection reset by peer) | 12:28 | |
ubuntourist | ACTION yawns... | 13:03 |
ubuntourist | ACTION looks around and sees no one here... | 13:04 |
tboimah | Good morning ubuntourist | 13:05 |
ubuntourist | Ah. Welcome. | 13:05 |
ubuntourist | tboimah, do you know if we'll be seeing mulbah soon as well? | 13:06 |
tboimah | yes he is connecting | 13:06 |
mulbah | How are you doing Mr. Cole | 13:06 |
ubuntourist | Hullo tboimah and mulbah. | 13:06 |
ubuntourist | First, before we get going, I really need to limit to two hours. Last time was closer to three. | 13:07 |
mulbah | okay | 13:07 |
ubuntourist | Seecond, do either of you have questions? Reports on what you've learned or experimented with? | 13:07 |
tboimah | okay | 13:07 |
mulbah | I was experimenting on the wildcard | 13:09 |
*** tboimah has quit (Remote host closed the connection) | 13:10 | |
ubuntourist | mulbah, Do you feel comfortable with it now or did you get stuck? | 13:10 |
*** tboimah has quit (None) | 13:11 | |
tboimah | I will like you to explain more about symbolic link and Hard link | 13:13 |
ubuntourist | tboimah, hold a sec. Waiting for mulbah to answer... | 13:14 |
ubuntourist | mulbah, still there? | 13:15 |
*** mulbah has quit (Read error: Connection reset by peer) | 13:16 | |
ubuntourist | OK.... moving on. | 13:17 |
ubuntourist | tboimah, hard links, in my experience, are very rarely used. But symbolic links, often abbreviated symlinks, get use a LOT. | 13:18 |
ubuntourist | So, let's look at those for a minute. | 13:18 |
mulbah | Hello | 13:19 |
ubuntourist | Microsoft Windows, Mac OS X, and Linux all have a way of creating an entry in a directory that is not "really" a file. | 13:19 |
ubuntourist | In Winddows, they're called "shortcuts". In Mac OS X they are "aliases" and in Linux they are "symbolic links" or "symlinks". | 13:20 |
ubuntourist | They are alternate names that point to a "real" file. | 13:21 |
*** mulbah has quit (Read error: Connection reset by peer) | 13:21 | |
*** tboimah has quit (Read error: Connection reset by peer) | 13:21 | |
*** Thomas_ has quit (Read error: Connection reset by peer) | 13:22 | |
ubuntourist | OK. I'm just going to keep typing and hope you both look at the log a lot. If the connection cannot sustain IRC then this isn't going to work. | 13:23 |
*** mulbah has quit (Read error: Connection reset by peer) | 13:23 | |
ubuntourist | So, continuing: Imagine you have a directory tree with lots of subdirectories. Maybe something based on dates and times: | 13:24 |
ubuntourist | ... /home/tboimah/2023/07/07/13/15/ | 13:25 |
ubuntourist | ... /home/tboimah/2023/07/07/12/00/ | 13:25 |
ubuntourist | ... /home/tboimah/2023/01/01/12/00/ | 13:25 |
ubuntourist | etc. | 13:25 |
*** scooper has quit (Quit: Leaving) | 13:27 | |
ubuntourist | Now, suppose /home/tboimah/2023/07/07/12/00/ has a file that you use very frequently. Let's call it "study-notes" | 13:27 |
ubuntourist | It becomes painful to always type: | 13:27 |
ubuntourist | cd ~/2023/07/12/00 | 13:28 |
ubuntourist | vim study-notes | 13:28 |
ubuntourist | Instead, you can create a symbolic link in your home directory that will point to ~/2023/07/07/12/00/study-notes | 13:29 |
ubuntourist | Then you can use the symbolic link name instead of using cd to change to the directory first. | 13:30 |
mulbah | can I ask a question Mr. Cole | 13:31 |
ubuntourist | mulbah, If you can stay connected long enough, yes. | 13:31 |
ubuntourist | (Type fast, before you drop out again.) | 13:32 |
mulbah | Why symbolic are very useful in linux | 13:32 |
ubuntourist | mulbah, I just explained that above. | 13:33 |
mulbah | oh let me check and see | 13:34 |
mulbah | can we use tmate | 13:34 |
ubuntourist | There are many instances where users or different applications want to be able to find a file quickly, and always in the same place. | 13:34 |
ubuntourist | Hold a sec. | 13:35 |
ubuntourist | OK. | 13:35 |
ubuntourist | Send an invite. | 13:36 |
mulbah | should I | 13:36 |
mulbah | alright | 13:36 |
mulbah | ssh WBq7ZwUvvJDr9eBS4qAwRWZUM@lon1.tmate.io | 13:36 |
ubuntourist | cd /usr | 13:37 |
ubuntourist | find . -type l | 13:38 |
mulbah | -l or l | 13:38 |
ubuntourist | The letter "l" without a dash | 13:39 |
tboimah | Hello sorry the internet is give me hard time | 13:40 |
ubuntourist | mulbah, What is happening: You have asked for a list of all symbolic links in the /usr directory. | 13:41 |
*** mulbah has quit (Read error: Connection reset by peer) | 13:41 | |
ubuntourist | I had forgotten how many there were! (I knew it would be a long list.) | 13:41 |
mulbah | did the link close | 13:41 |
ubuntourist | I think it half-closed. I think I can see your typing but cannot type myself. | 13:42 |
ubuntourist | Nope. I'm still connected. | 13:43 |
mulbah | okay | 13:43 |
mulbah | so what next | 13:43 |
ubuntourist | so, look at the last one in the list. | 13:43 |
ubuntourist | type: | 13:43 |
ubuntourist | ls -l (and the name of the last file in the list.) | 13:44 |
mulbah | sorry mistake | 13:45 |
*** tboimah has quit (Remote host closed the connection) | 13:45 | |
ubuntourist | Excellent. | 13:45 |
ubuntourist | The find command showed a huge list of all symbolic links. The "ls -l" showed information about one of those. | 13:45 |
ubuntourist | It tells us that "/usr/libexec/gst-install-plugins-helper" is another name for the file "/usr/pk-gstream-install" | 13:47 |
ubuntourist | "/usr/libexec.../" is a symlink to "/usr/pk-gstreamer-install" | 13:48 |
ubuntourist | One use of symlinks is to create ways to reference files quickly. Like a bookmark. | 13:49 |
ubuntourist | Another use is to create synonyms, or easy-to-remember names. | 13:49 |
ubuntourist | Suppose you have two users. One speaks English, the other does not. | 13:50 |
ubuntourist | You could create a symbolic link in another language that references the English command name. | 13:50 |
ubuntourist | I only speak English. So, I do not have a good example. But maybe your friend or co-worker has another word that means "most" | 13:51 |
ubuntourist | You could create a symbolic link for your friend and use their native word for "most". | 13:51 |
ubuntourist | When they type their word, Linux understands it is a pointer reference to the program "most" and does the right thing. | 13:52 |
ubuntourist | ACTION waits for everyone to digest, process and understand all that. | 13:53 |
ubuntourist | Let me know when you've finished reading. | 13:53 |
*** mulbah has quit (Read error: Connection reset by peer) | 13:53 | |
ubuntourist | Moving on. The last command you tried illustrates another reason for symbolic links: | 13:54 |
ubuntourist | $ ls -l ./libexec/sudo/libsudo_util.so | 13:55 |
ubuntourist | lrwxrwxrwx 1 root root 21 Jul 6 13:34 ./libexec/sudo/libsudo_util.so -> libsudo_util.so.0.0.0 | 13:55 |
ubuntourist | Linux applications depend upon several files. | 13:56 |
*** tboimah has quit (Read error: Connection reset by peer) | 13:56 | |
ubuntourist | Some of the applications use files which are called "libraries". | 13:56 |
*** mulbah07 has quit (Remote host closed the connection) | 13:57 | |
ubuntourist | Library files contain small functions that are used by many applications. The applications share them. | 13:57 |
ubuntourist | For example, many applications need to be able to display information on the screen. | 13:58 |
ubuntourist | The display function is stored in a shared library. | 13:59 |
ubuntourist | But... | 13:59 |
ubuntourist | Sometimes, "apt install" or "apt full-upgrade" will change the version of a library. This will change the file name. | 13:59 |
ubuntourist | The applications that use the library will not know the new name. | 14:00 |
ubuntourist | So, "apt full-upgrade" will use a "generic" symbolic link, and change it so that it points to the new file name. | 14:01 |
ubuntourist | That is what "ls -l ./libexec/sudo/libsudo_util.so" showed. | 14:01 |
ubuntourist | libsudo_util.so is the "generic" name for a "shared object (so) library". | 14:02 |
ubuntourist | At the moment, it points to the real file "libsudo_util.so.0.0.0" which has version number at the end. | 14:03 |
ubuntourist | In the future, if some upgrade creates a newer version -- libsudo_util.so.0.2.3 -- or something like that, | 14:03 |
ubuntourist | the symlink can still be libsudo_util.so but it can be changed to point to the newer file. | 14:04 |
ubuntourist | ACTION waits for everyone to digest, process and understand all that. | 14:04 |
ubuntourist | Let me know when you've finished reading. | 14:04 |
ubuntourist | This is why I like e-mail. I don't need to worry about the connection dropping every 30 seconds. | 14:05 |
ubuntourist | I have no idea which parts you've read and which parts went missing. | 14:06 |
ubuntourist | If you're missing stuff, just go back to the web log and read, I guess. | 14:07 |
*** Thomas_ has quit (Read error: Connection reset by peer) | 14:08 | |
ubuntourist | ACTION waits for tboimah and mulbah to catch up and respond. | 14:09 |
mulbah07_ | done | 14:09 |
*** tboimah has quit (Ping timeout: 480 seconds) | 14:09 | |
mulbah07_ | I did it | 14:09 |
ubuntourist | mulbah07_, And you are understanding okay, or not. | 14:09 |
*** mulbah has quit (Ping timeout: 480 seconds) | 14:09 | |
mulbah07_ | I'm getting the understanding small small | 14:10 |
tboimah | ACTION i have done reading it | 14:10 |
ubuntourist | It's a lot to absorb. | 14:10 |
ubuntourist | For now, "small small" is probably good enough. | 14:11 |
ubuntourist | Let's try creating a symlink. | 14:11 |
mulbah07_ | okay | 14:11 |
ubuntourist | invite me again. | 14:12 |
mulbah07_ | but the connection is not close | 14:12 |
*** mulbah07 has quit (Ping timeout: 480 seconds) | 14:12 | |
ubuntourist | Hold then. I'll reconnect. | 14:13 |
ubuntourist | $ ssh WBq7ZwUvvJDr9eBS4qAwRWZUM@lon1.tmate.io | 14:13 |
ubuntourist | The session host disconnected 5 seconds ago. | 14:13 |
ubuntourist | Hopefully it will reconnect soon. You may try again later. | 14:13 |
ubuntourist | Connection to lon1.tmate.io closed. | 14:13 |
*** tboimah has quit (Remote host closed the connection) | 14:13 | |
ubuntourist | OK. It connected. | 14:14 |
ubuntourist | Oops. | 14:14 |
ubuntourist | I forgot we were still in /usr... | 14:14 |
ubuntourist | Tat's better. | 14:15 |
ubuntourist | Thanks. | 14:15 |
mulbah | okay | 14:16 |
ubuntourist | I'm typing for a minute to find a good exaple. You can ignore my typing for a minute until I find one. | 14:16 |
mulbah | okay | 14:17 |
ubuntourist | (After it finishes installing "most") | 14:17 |
*** tboimah has quit (Read error: Connection reset by peer) | 14:17 | |
mulbah | most is install now | 14:17 |
ubuntourist | Yeah. I see that. Waiting for my "find" command to process and tell me what it found... It should list something soon. | 14:20 |
mulbah | alright | 14:21 |
ubuntourist | Maybe not... It seems to be taking a very long time. Let me try something else... | 14:21 |
*** mulbah has quit (Remote host closed the connection) | 14:22 | |
ubuntourist | Gah!!! We've GOT to find a stable connection! I don't understand how jelkner can stand working like this! | 14:24 |
*** tboimah has quit (Remote host closed the connection) | 14:27 | |
ubuntourist | Oh. | 14:27 |
ubuntourist | OK. Maybe it's time to install tmate on the MCSS server. | 14:29 |
mulbah07 | okay | 14:29 |
mulbah07 | can I do that | 14:29 |
ubuntourist | Was it just "apt install tmate" or did you need to also "apt install tmate-ssh-server"? | 14:30 |
*** tboimah has quit (Remote host closed the connection) | 14:30 | |
ubuntourist | What's the error message. Try from the shared session so I can see the error. | 14:31 |
mulbah07 | okay | 14:31 |
ubuntourist | OK... Let me reset YOUR passwoed too... | 14:32 |
*** mulbah07 has quit (Remote host closed the connection) | 14:34 | |
ubuntourist | mulbah07, OK. Do you know how to change your password? | 14:35 |
mulbah07 | let me see | 14:36 |
ubuntourist | I do not want to type a new password into the chat unless you are going to change it IMMEDIATELY. The chat is public | 14:36 |
ubuntourist | and anyone will see a password I type in. That would be very bad. | 14:36 |
ubuntourist | Unless you can change it, very fast. | 14:36 |
scooper | Good morning ubuntourist | 14:37 |
ubuntourist | scooper, Hi. | 14:37 |
scooper | Ubuntourist can you please help me reset my password on the mcssstudent server??? | 14:38 |
ubuntourist | Wow. Do any of you remember your passwords? | 14:38 |
mulbah07 | send me it praviately | 14:39 |
scooper | What I have previously is not working...... | 14:39 |
ubuntourist | mulbah07, /msg is only semi-private. It's still a bad idea. I'm not sending it until you're confident you can (a) change it and (b) remember it. | 14:39 |
mulbah07 | no | 14:40 |
mulbah07 | yeah I can change it | 14:41 |
*** scooper has quit (Quit: Leaving) | 14:42 | |
ubuntourist | I've sent the password in e-mail. | 14:43 |
ubuntourist | mulbah07, Let scooper and tboimah know I will be checking back with all three of you to make sure the password has been changed to something I do not know. | 14:44 |
ubuntourist | mulbah07, and I will be checking to see if you have all installed your SSH keys using "ssh-copy-id" so that you don't have to remember your password on mcss if you connect from the same computer each time. | 14:45 |
ubuntourist | I sent email to mulbah.kolleh@novawebdevelopment.org | 14:49 |
*** mulbah07 has quit (Read error: Connection reset by peer) | 14:49 | |
ubuntourist | I sent email to mulbah.kolleh@novawebdevelopment.org | 14:50 |
mulbah07 | Hello | 14:52 |
ubuntourist | I sent e-mail to thomas.boimah@novawebdevelopment.org, mulbah.kolleh@novawebdevelopment.org, spencer.cooper@novawebdevelopment.org | 14:52 |
ubuntourist | And I need to leave in seven minutes. | 14:53 |
ubuntourist | ACTION is stepping away from the computer now for a few seconds... | 14:54 |
ubuntourist | ACTION is back... for three minutes more. | 14:57 |
mulbah | they are saying Permission denied, please try again | 14:59 |
ubuntourist | You are typing "ssh mulbah@students.mcssliberia.org" | 15:01 |
ubuntourist | and then typing the password from the e-mail address? | 15:01 |
ubuntourist | It just worked for me. Again. | 15:01 |
mulbah | it's mulbah07@students.mcssliberia.org | 15:02 |
mulbah | not mulbah@students.mcssliberia.org | 15:02 |
ubuntourist | Nope. It's mulbah. That was the user that was already on the system... | 15:03 |
mulbah | oh I see | 15:03 |
ubuntourist | There is also a user named mkolleh ... | 15:03 |
mulbah | so that was the problem I was fixing | 15:03 |
ubuntourist | I did not change the password for mkolleh ... | 15:04 |
mulbah | okay let me try it again now | 15:04 |
ubuntourist | The current users are: arabach git jkoleah mkolleh scooper tmickelson fkoikoi jelkner kjcole mulbah tboimah | 15:07 |
mulbah | meaning I have two accounts there | 15:08 |
ubuntourist | Yep. | 15:08 |
ubuntourist | (I didn't set that up. So, I don't know how you ended up with two. My guess is that Jeff would have wanted you to use the mkolleh account. So I don't know why you got an mulbah.) | 15:09 |
ubuntourist | I can change the password on mkolleh but you should try the old password with that first, because maybe the old password is right for that one. | 15:10 |
ubuntourist | And, I really must go. | 15:10 |
ubuntourist | read up on "ssh-genkey" and "ssh-copy-id" I'll send email with basic instructions. | 15:11 |
ubuntourist | Bye! | 15:11 |
mulbah | okay bye | 15:12 |
*** mulbah has quit (Ping timeout: 480 seconds) | 15:25 | |
*** ubuntourist has quit (Quit: Leaving) | 15:58 | |
*** shmohamud has quit (Remote host closed the connection) | 20:56 | |
*** shmohamud has quit (Ping timeout: 480 seconds) | 21:05 | |
*** shmohamud has quit (Remote host closed the connection) | 22:22 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!