• 8 Posts
  • 410 Comments
Joined 2 years ago
cake
Cake day: August 4th, 2023

help-circle

  • TootSweet@lemmy.worldtolinuxmemes@lemmy.worldThe Terminal
    link
    fedilink
    English
    arrow-up
    29
    ·
    18 hours ago

    I had a friend who wasn’t very technical who had some issue where he couldn’t boot into his OS (Windows) and bought a new computer, but wanted the files off the old computer. So he asked me for help. I remember bringing a Knoppix live CD (remember Knoppix?) And when I was there, I realized I had a severe lack of general networking equipment. (I didn’t have a switch, so I couldn’t plug both computers into the network so they could communicate with each other and the internet.)

    So I started up the old computer in Knoppix, plugged it into the network, and installed a bunch of networking packages like a DHCP server and such. And then I used the Ethernet cable to plug the two computers into each other, letting the Knoppix box give the new Windows machine its IP. And then I installed Putty on the Windows machine and used it to SCP the files from the old machine to the new one.

    The whole thing went way smoother than I’d have expected, never having attempted that before. But I felt like such a hacker that day. Lol.





  • TootSweet@lemmy.worldtolinuxmemes@lemmy.worldCommand line tip of the day
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    1
    ·
    4 days ago

    Huh. Only 11 days on the Raspberry Pi I’m using as a “desktop system” right now. (Arch Linux Arm, btw… though Arch Linux Arm sucks now-a-days.)

    Let’s check my RPi-based NAS:

    [tootsweet@mynasserver ~]$ uptime
     19:56:07 up 212 days, 18:43,  4 users,  load average: 0.16, 0.04, 0.01
    

    Also not as long as I’d have guessed.















  • If you’re a software engineer, memorizing an ASCII table (particularly the hex numbers of each character code) is definitely helpful. If for no other reason than so that you can read things that are randomly written in binary without having to consult a table.

    Something not really otherwise terribly useful that nonetheless helped me keep my sanity: learn how to convert to base64 in your head. At work, we had really boring 8-hours-a-day training for a couple of weeks. To pass the time, I came up with random strings to base64 encode in my head. “Hat is 48 61 7a. The first six bits are 010010 which in base64 is an S. The next six bits would be 000110 which in base64 is G.” Etc. I’d write down the base64 strings character by character as I derived them and then check my results for errors when I got back to my desk.