• 0 Posts
  • 14 Comments
Joined 3 years ago
cake
Cake day: June 15th, 2023

help-circle
  • I’m a Linux sysadmin. I was issued a Windows laptop. But I have been allowed to add a second NVME drive to it that has Debian 12 installed. So Debian 12 has been my main working environment.

    I also have a desktop in my cube running Windows.

    I rarely boot my laptop to windows. But if I need to do something with modifying Windows smb shares or active directory I just remote into my Windows Desktop. I’m also running a ssh server on my windows desktop so about half of my windows active directory work is done via powershell over ssh.



  • Mine shows the full path and a new line for commands.

    It will also print the exit code of the last command in red above the prompt, if the exit code is not 0.

    PS1='$(ec=“$?”; if [ $ec -gt 0 ]; then echo -e “\n”[\e[91m]“exit code: $ec”[\e[0m]; fi)\n[\e[92m]\u[\e[38;5;213m]@[\e[38;5;39m]\h[\e[0m]:$PWD\n$ ’


  • My 72 year old, non techy father in law had a laptop that could not be updated to Windows 11 without modifying the installer to get around Microsoft limitations. I suggested Linux, He decided to just buy a new laptop with Windows 11 on it. About a week later he was complaining about the way Microsoft was forcing him to have an online account and how he wanted to get rid of onedrive. I suggested Linux again and he said why not?

    I installed Linux Mint for him and gave him the password. I offered to show him around but he said he would take a look at it and let me know if he has trouble doing anything.

    Its been a few months now, and he hasn’t had any problems or even questions. Everything is just working for him.

    I also gave my 16 year old daughter a Linux Mint laptop and the password a couple of years ago. She uses it all the time and has never asked for help in figuring out how to do anything.

    The distro doesn’t really matter too much, but if you are coming from Windows 7 or 10, Linux Mint will seem very familiar to you.



  • I really like and use fastmail.

    Although I have just started to try to completely de-google. Its a bit frustrating that they don’t offer an apk download. I put in a ticket today saying as much.

    They seemed to understand,but basically just said that all I can do is to use the browser version.

    I’m using aurora store to download their official google play version for now but it feels icky.

    They are obviously now the only ones that I am having trouble with but I thought that they might be more willing to help people distance themselves from Gmail and Google, as Gmail is their obvious competition.



  • Top shelf of a walk in closet that was obscured from view from the door.

    Under a futon couch.

    On the roof of the house in the angled portion where 2 downward slopes come together.

    In the back of a truck in the back yard.

    In the middle of a grassy area behind our garage

    My parents used to wake me up at 4:30 in the morning to take a cold shower and then spend the next 4 hours doing religious worship. The only time I could read “Horrible secular books” like Mutiny on the Bounty, the three musketeers, and the man in the iron mask was late at night after everyone went to bed. I would stay up till 2:30-3:00am sometimes reading and I knew waking up at 4:30 was just not gonna happen.

    Yeah, I got in a bunch of trouble when I came out of my hiding spot the next morning, but sometimes it was worth it.



  • diff -y -W 200 file1 file2

    Shows a side by side diff of 2 files with enough column width to see most of what I need usually.

    I have actually aliased this command as diffy

    ctrl-r

    searching bash history

    du -sh * | sort -h

    shows size of all files and dirs in the current dir and sorts them in ascending order so you can easily see the largest files or dirt ant the end of the list

    ls -ltr

    Shows the most recently modified files at the end of the listing.


  • If you are going to dual boot and your computer has room for 2 drives. The way I would recommend doing it is to add a second drive for Linux, and disconnect to windows drive from the computer. Do a normal linux install. And then add the windows drive back in. Then you can set one of the drives as the default boot device and if you want to boot to the other just open the Boot options on boot.

    This keeps things totally separated and you can even remove one of the drives later if you want to single boot.