IRC log of #novawebdev for Friday, 2023-07-07

*** 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!agenda11:00
LittleWebsterThis is the agenda for the next meeting:11:00
LittleWebsterUpdate on the Rural Cooking Stove Project (5 Minutes Web Team) (added by scooper)11:00
LittleWebsterTalking With The Sup About Building The School (added by scooper)11:00
LittleWebsterWeekly Update From Each Group (added by scooper)11:00
LittleWebsterFinancial 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
ubuntouristACTION yawns...13:03
ubuntouristACTION looks around and sees no one here...13:04
tboimahGood morning ubuntourist13:05
ubuntouristAh. Welcome.13:05
ubuntouristtboimah, do you know if we'll be seeing mulbah soon as well?13:06
tboimahyes he is connecting13:06
mulbahHow are you doing Mr. Cole13:06
ubuntouristHullo tboimah and mulbah.13:06
ubuntouristFirst, before we get going, I really need to limit to two hours. Last time was closer to three.13:07
mulbahokay13:07
ubuntouristSeecond, do either of you have questions? Reports on what you've learned or experimented with?13:07
tboimahokay13:07
mulbahI was experimenting on the wildcard 13:09
*** tboimah has quit (Remote host closed the connection)13:10
ubuntouristmulbah, Do you feel comfortable with it now or did you get stuck?13:10
*** tboimah has quit (None)13:11
tboimahI will like you to explain more about symbolic link and Hard link13:13
ubuntouristtboimah, hold a sec. Waiting for mulbah to answer...13:14
ubuntouristmulbah, still there?13:15
*** mulbah has quit (Read error: Connection reset by peer)13:16
ubuntouristOK.... moving on.13:17
ubuntouristtboimah, hard links, in my experience, are very rarely used. But symbolic links, often abbreviated symlinks, get use a LOT.13:18
ubuntouristSo, let's look at those for a minute.13:18
mulbahHello13:19
ubuntouristMicrosoft 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
ubuntouristIn Winddows, they're called "shortcuts". In Mac OS X they are "aliases" and in Linux they are "symbolic links" or "symlinks".13:20
ubuntouristThey 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
ubuntouristOK. 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
ubuntouristSo, 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
ubuntouristetc. 13:25
*** scooper has quit (Quit: Leaving)13:27
ubuntouristNow, suppose /home/tboimah/2023/07/07/12/00/ has a file that you use very frequently. Let's call it "study-notes"13:27
ubuntouristIt becomes painful to always type:13:27
ubuntouristcd ~/2023/07/12/0013:28
ubuntouristvim study-notes13:28
ubuntouristInstead, you can create a symbolic link in your home directory that will point to ~/2023/07/07/12/00/study-notes13:29
ubuntouristThen you  can use the symbolic link name instead of using cd to change to the directory first.13:30
mulbahcan I ask a question Mr. Cole13:31
ubuntouristmulbah, If you can stay connected long enough, yes.13:31
ubuntourist(Type fast, before you drop out again.)13:32
mulbahWhy symbolic are very useful in linux13:32
ubuntouristmulbah, I just explained that above.13:33
mulbahoh let me check and see13:34
mulbahcan we use tmate13:34
ubuntouristThere 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
ubuntouristHold a sec.13:35
ubuntouristOK.13:35
ubuntouristSend an invite.13:36
mulbahshould I13:36
mulbahalright13:36
mulbahssh WBq7ZwUvvJDr9eBS4qAwRWZUM@lon1.tmate.io13:36
ubuntouristcd /usr13:37
ubuntouristfind . -type l13:38
mulbah-l or l13:38
ubuntouristThe letter "l" without a dash 13:39
tboimahHello sorry the internet is give me hard time13:40
ubuntouristmulbah,  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
ubuntouristI had forgotten how many there were! (I knew it would be a long list.)13:41
mulbahdid the link close13:41
ubuntouristI think it half-closed. I think I can see your typing but cannot type myself.13:42
ubuntouristNope. I'm still connected.13:43
mulbahokay13:43
mulbahso what next13:43
ubuntouristso, look at the last one in the list.13:43
ubuntouristtype:13:43
ubuntouristls -l  (and the name of the last file in the list.)13:44
mulbahsorry mistake13:45
*** tboimah has quit (Remote host closed the connection)13:45
ubuntouristExcellent.13:45
ubuntouristThe find command showed a huge list of all symbolic links. The "ls -l" showed information about one of those.13:45
ubuntouristIt 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
ubuntouristOne use of symlinks is to create ways to reference files quickly. Like a bookmark. 13:49
ubuntouristAnother use is to create synonyms, or easy-to-remember names.13:49
ubuntouristSuppose you have two users. One speaks English, the other does not. 13:50
ubuntouristYou could create a symbolic link in another language that references the English command name.13:50
ubuntouristI 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
ubuntouristYou could create a symbolic link for your friend and use their native word for "most".13:51
ubuntouristWhen they type their word, Linux understands it is a pointer reference to the  program "most" and does the right thing.13:52
ubuntouristACTION waits for everyone to digest, process and understand all that.13:53
ubuntouristLet me know when you've finished reading.13:53
*** mulbah has quit (Read error: Connection reset by peer)13:53
ubuntouristMoving on. The last command you tried illustrates another reason for symbolic links:13:54
ubuntourist$ ls -l ./libexec/sudo/libsudo_util.so13:55
ubuntouristlrwxrwxrwx 1 root root 21 Jul  6 13:34 ./libexec/sudo/libsudo_util.so -> libsudo_util.so.0.0.013:55
ubuntouristLinux applications depend upon several files.13:56
*** tboimah has quit (Read error: Connection reset by peer)13:56
ubuntouristSome of the applications use files which are called "libraries".13:56
*** mulbah07 has quit (Remote host closed the connection)13:57
ubuntouristLibrary files contain small functions that are used by many applications. The applications share them.13:57
ubuntouristFor example, many applications need to be able to display information on the screen.13:58
ubuntouristThe display function is stored in a shared library.13:59
ubuntouristBut...13:59
ubuntouristSometimes, "apt install" or "apt full-upgrade" will change the version of a library. This will change the file name.13:59
ubuntouristThe applications that use the library will not know the new name.14:00
ubuntouristSo, "apt full-upgrade" will use a "generic" symbolic link, and change it so that it points to the new file name.14:01
ubuntouristThat is what "ls -l ./libexec/sudo/libsudo_util.so" showed.14:01
ubuntouristlibsudo_util.so is the "generic" name for a "shared object (so) library".14:02
ubuntouristAt the moment, it points to the real file "libsudo_util.so.0.0.0" which has version number at the end.14:03
ubuntouristIn the future, if some upgrade creates a newer version -- libsudo_util.so.0.2.3 -- or something like that,14:03
ubuntouristthe symlink can still be libsudo_util.so but it can be changed to point to the newer file.14:04
ubuntouristACTION waits for everyone to digest, process and understand all that.14:04
ubuntouristLet me know when you've finished reading.14:04
ubuntouristThis is why I like e-mail. I don't need to worry about the connection dropping every 30 seconds.14:05
ubuntouristI have no idea which parts you've read and which parts went missing.14:06
ubuntouristIf 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
ubuntouristACTION waits for tboimah and mulbah to catch up and respond.14:09
mulbah07_done14:09
*** tboimah has quit (Ping timeout: 480 seconds)14:09
mulbah07_I did it14:09
ubuntouristmulbah07_, 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 small14:10
tboimahACTION i have done reading it14:10
ubuntouristIt's a lot to absorb.14:10
ubuntouristFor now, "small small" is probably good enough.14:11
ubuntouristLet's try creating a symlink.14:11
mulbah07_okay14:11
ubuntouristinvite me again.14:12
mulbah07_but the connection is not close14:12
*** mulbah07 has quit (Ping timeout: 480 seconds)14:12
ubuntouristHold then. I'll reconnect.14:13
ubuntourist$ ssh WBq7ZwUvvJDr9eBS4qAwRWZUM@lon1.tmate.io14:13
ubuntouristThe session host disconnected 5 seconds ago.14:13
ubuntouristHopefully it will reconnect soon. You may try again later.14:13
ubuntouristConnection to lon1.tmate.io closed.14:13
*** tboimah has quit (Remote host closed the connection)14:13
ubuntouristOK. It connected.14:14
ubuntouristOops. 14:14
ubuntouristI forgot we were still in /usr...14:14
ubuntouristTat's better.14:15
ubuntouristThanks.14:15
mulbahokay14:16
ubuntouristI'm typing for a minute to find a good exaple. You can ignore my typing for a minute until I find one.14:16
mulbahokay14:17
ubuntourist(After it finishes installing "most")14:17
*** tboimah has quit (Read error: Connection reset by peer)14:17
mulbahmost is install now14:17
ubuntouristYeah. I see that. Waiting for my "find" command to process and tell me what it found... It should list something soon.14:20
mulbahalright14:21
ubuntouristMaybe 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
ubuntouristGah!!! 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
ubuntouristOh.14:27
ubuntouristOK. Maybe it's time to install tmate on the MCSS server.14:29
mulbah07okay 14:29
mulbah07can I do that14:29
ubuntouristWas 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
ubuntouristWhat's the error message. Try from the shared session so I can see the error.14:31
mulbah07okay14:31
ubuntouristOK... Let me reset YOUR passwoed too...14:32
*** mulbah07 has quit (Remote host closed the connection)14:34
ubuntouristmulbah07,  OK. Do you know how to change your password?14:35
mulbah07let me see14:36
ubuntouristI do not want to type a new password into the chat unless you are going to change it IMMEDIATELY. The chat is public14:36
ubuntouristand anyone will see a password I type in. That would be very bad.14:36
ubuntouristUnless you can change it, very fast.14:36
scooperGood morning ubuntourist14:37
ubuntouristscooper, Hi.14:37
scooperUbuntourist can you please help me reset my password on the mcssstudent server???14:38
ubuntouristWow. Do any of you remember your passwords?14:38
mulbah07send me it praviately14:39
scooperWhat I have previously is not working......14:39
ubuntouristmulbah07, /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
mulbah07no14:40
mulbah07yeah I can change it14:41
*** scooper has quit (Quit: Leaving)14:42
ubuntouristI've sent the password in e-mail. 14:43
ubuntouristmulbah07,  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
ubuntouristmulbah07, 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
ubuntouristI sent email to mulbah.kolleh@novawebdevelopment.org14:49
*** mulbah07 has quit (Read error: Connection reset by peer)14:49
ubuntouristI sent email to mulbah.kolleh@novawebdevelopment.org14:50
mulbah07Hello14:52
ubuntouristI sent e-mail to thomas.boimah@novawebdevelopment.org, mulbah.kolleh@novawebdevelopment.org, spencer.cooper@novawebdevelopment.org14:52
ubuntouristAnd I need to leave in seven minutes.14:53
ubuntouristACTION is stepping away from the computer now for a few seconds...14:54
ubuntouristACTION is back... for three minutes more.14:57
mulbahthey are saying Permission denied, please try again14:59
ubuntouristYou are typing "ssh mulbah@students.mcssliberia.org"15:01
ubuntouristand then typing the password from the e-mail address?15:01
ubuntouristIt just worked for me. Again.15:01
mulbahit's mulbah07@students.mcssliberia.org15:02
mulbahnot  mulbah@students.mcssliberia.org15:02
ubuntouristNope. It's mulbah. That was the user that was already on the system...15:03
mulbahoh I see 15:03
ubuntouristThere is also a user named mkolleh ...15:03
mulbahso that was the problem I was fixing15:03
ubuntouristI did not change the password for mkolleh ...15:04
mulbahokay let me try it again now15:04
ubuntouristThe current users are: arabach git jkoleah  mkolleh  scooper  tmickelson fkoikoi jelkner kjcole mulbah tboimah15:07
mulbahmeaning I have two accounts there15:08
ubuntouristYep.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
ubuntouristI 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
ubuntouristAnd, I really  must go.15:10
ubuntouristread up on "ssh-genkey" and "ssh-copy-id" I'll send email with basic instructions.15:11
ubuntouristBye!15:11
mulbahokay bye15: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/!