this post was submitted on 20 Apr 2024
978 points (97.1% liked)

linuxmemes

21172 readers
1416 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.

  • Please report posts and comments that break these rules!

    founded 1 year ago
    MODERATORS
     
    top 50 comments
    sorted by: hot top controversial new old
    [–] [email protected] 153 points 6 months ago (12 children)

    Anyone who has to use Windows and suffers this, PowerToys is your friend. Locksmith identifies what's locking your file and allows you to free it up. Dunno why PowerToys isn't bundled by default tbh.

    [–] ProfessorProteus 110 points 6 months ago (5 children)

    Dunno why PowerToys isn't bundled by default tbh.

    PowerToys give the user more power, which goes directly against Microsoft's own goal.

    Also, less seriously, "toys" implies the user might enjoy the experience, and you know they can't let that happen.

    load more comments (5 replies)
    [–] errer 48 points 6 months ago

    Cause they’re too busy finding new ways to bundle ads.

    [–] [email protected] 11 points 6 months ago (1 children)

    Also please pre-install the sysinternals suite, thanks

    [–] [email protected] 11 points 6 months ago (5 children)

    Psexec can be pretty dangerous. Psexec.exe -i -s gives you access to the NTAUTHORITY/SYSTEM account, which is higher than Administrator. One time at work I was trying to do something and was getting permission denied so I decided to use that to get around the problem, I got to spend the afternoon talking to our security administrator because he got a bunch of alerts from our antivirus.

    [–] surewhynotlem 15 points 6 months ago

    Well that was the mistake. The first thing you do with SYSTEM is disable the security software.

    load more comments (4 replies)
    [–] [email protected] 9 points 6 months ago

    There's a list of locked files under shares in computer management

    load more comments (8 replies)
    [–] [email protected] 80 points 6 months ago* (last edited 6 months ago) (2 children)

    mv: cannot move 'a' to 'b': Device or resource busy

    [–] AppleMango 31 points 6 months ago (1 children)
    [–] Opisek 22 points 6 months ago (1 children)
    [–] pandarisu 7 points 6 months ago (1 children)
    load more comments (1 replies)
    load more comments (1 replies)
    [–] [email protected] 66 points 6 months ago (1 children)

    Sorry, but disk erasure is not available in the trial version of Disk© Partition® Wizard™ 2002. To use this feature, please upgrade to Disk© Partition® Wizard™ Pro 2002 for just $49.99 at Whythefuckdoievenneedthis.co.uk/shop

    [–] [email protected] 35 points 6 months ago (1 children)

    Nowadays it would be $19.99 per month and it's a one year contract that renews three months before expiration.

    load more comments (1 replies)
    [–] Bassman1805 59 points 6 months ago (1 children)

    My first attempt at running Arch, I managed to fuck it up so badly that I had to write a script to write zeros to every bit of my HDD. Fun times.

    [–] [email protected] 76 points 6 months ago (1 children)

    Wtf did you do lol I’m scared

    [–] Bassman1805 42 points 6 months ago* (last edited 6 months ago) (1 children)

    Honestly don't even remember, but it was in my peak "know enough to be dangerous" days in college. I almost certainly didn't have to go that nuclear to fix it, but that's what I did.

    Take 2 of Arch, after that wipe was completed, went pretty well. It revived an old piece of shit laptop for another few years before its motherboard gave out.

    [–] [email protected] 16 points 6 months ago

    I’ll wager guess it was something to do with confusing GPT and MBR partitioning. There was a time where some BIOSs and loaders only understood or preferred one over the other, leading to weird incongruences depending on what you’re using to look at the disk. You have to actually overwrite the partition tables to get a clean start.

    [–] [email protected] 55 points 6 months ago (2 children)

    "oh you want to delete your entire root directory lol go right ahead"

    [–] Serinus 37 points 6 months ago (2 children)

    I think it asks "Are you sure?" now first.

    [–] whereisk 27 points 6 months ago

    Not if you indicate you are sure in advance

    load more comments (1 replies)
    [–] Stupidmanager 8 points 6 months ago

    ‘rm -rf /*’ for the win. I was on a production system when I learned I used that combo far too much. Thankfully, lots were deleted and my crimes were never detected.

    [–] [email protected] 41 points 6 months ago (1 children)

    Inodes can be kept active by unlinked filehandles, a fun way to spend a afternoon figuring out where all the space went.

    [–] Strider 11 points 6 months ago (3 children)
    load more comments (3 replies)
    [–] JayObey711 40 points 6 months ago (2 children)

    Meanwhile chromeOS had a stroke because I asked to set a wallpaper

    [–] merthyr1831 38 points 6 months ago

    ChromeOS is so funny because it's either way too anal about what you can do or there's a part they forgot to harden against end users and the power of linux spews forth with endless destructive potential

    [–] [email protected] 11 points 6 months ago

    Windows, too. Turns out, there's a hard-coded image size limit. If you've got a ~5k screen or bigger, or equivalent size virtual desktop with multiple monitors - you gotta find a way to compress it below limit. Nope, webp is not accepted, even though it is perfectly capable of using it.

    [–] [email protected] 32 points 6 months ago (1 children)

    Windows: Noooo, You can't delete and merge this partition!!!1!!!!1!

    Linux:

    PARTITION DELETION

    [–] [email protected] 29 points 6 months ago (3 children)

    Had a call to sort an issue where someone couldn't open an excel file because they already had it open don't know why that needed a warning over a simple window switch to the sheet they wanted but hey stopped me doing what I was doing for nothing

    [–] [email protected] 29 points 6 months ago* (last edited 6 months ago) (1 children)

    Yeah, needing to use Microsoft Office for everything at work is a damn pain. This one time I am trying to close Word, but then I must have clicked the top right X one too many times so the "You can't close Word until the Closing... dialog is dismissed" dialog pops up, which itself interrupts the Closing dialog...

    Screen photo

    load more comments (1 replies)
    [–] [email protected] 17 points 6 months ago (1 children)

    You also can't open two spreadsheets that have the same filename. I'm sure that's led to a helpdesk call or two.

    [–] Buddahriffic 10 points 6 months ago (5 children)

    I lost a lot of respect for Microsoft when I first saw that issue. It's such an easy to avoid limitation. Like probably a similar level of difficulty to remove that limitation than to write the error message explaining it, unless it's more of a spaghetti mess than I'm expecting it to be.

    load more comments (5 replies)
    [–] [email protected] 15 points 6 months ago (4 children)

    "Hello, yes, IT department? I think my co-worker's keyboard is missing all their punctuation marks. Yes, it's making communication very difficult."

    load more comments (4 replies)
    [–] ChunkMcHorkle 24 points 6 months ago* (last edited 6 months ago) (3 children)

    There was a point not so long ago where Adobe Collaboration Sync got so bad on my Windows 10 box it wouldn't let me close any pdfs that were open. "File in use" error, even if all Adobe programs were closed except for that pdf. I'd have to go into Task Manager and manually kill it. Between that and Adobe Updater I couldn't get rid of it by any known means, and it was choking the shit out of my machine.

    I'm transitioning to Linux but not there yet, still need the Windows box for now, so I had to do something. But I'm old school, so it was a DOS batch file to the rescue. I call it "kiladobe.bat":

    taskkill /f /im armsvc.exe       
    del "C:\Program Files (x86)\Common Files\Adobe\ARM\1.0\armsvc.exe"      
    taskkill /f /im AdobeCollabSync.exe     
    del "C:\Program Files\Adobe\Acrobat DC\Acrobat\AdobeCollabSync.exe"      
    

    It's now a scheduled task in taskschd.msc. I put kiladobe.bat in the main Adobe program folder (heh) and run that task as administrator at startup and every four hours or so, give or take an hour.

    No more problems.

    Now, all that remains is that every so often I see the command window flash up for a split second because this batch file is killing Adobe shit, and it just makes me smile. (I could probably make it stop flashing up the CLI, but I genuinely enjoy the reminder of how I'm fucking Adobe's virus-like install and lock endeavors up the ass.)

    EDITED TO ADD a simple "@echo off" by itself as the first line would probably turn off any appearance of the CLI, if anyone wants to use this text for their own batch file. If that didn't work I'd probably throw a space and a ">nul" at the end of each line to grab the output and throw it into neverneverland.

    [–] NoFun4You 18 points 6 months ago (9 children)

    I just use my browser for pdfs lol

    [–] [email protected] 6 points 6 months ago (1 children)
    [–] [email protected] 10 points 6 months ago

    Proprietary 💩

    load more comments (8 replies)
    load more comments (2 replies)
    [–] [email protected] 15 points 6 months ago (1 children)

    VLC: Sure, just move the podcast you're listening to in another directory while listening.

    load more comments (1 replies)
    [–] ricdeh 14 points 6 months ago (6 children)

    The Tux reminds me of playing Super Tux Kart today... I really hate that GIMP mascot now,

    load more comments (6 replies)
    [–] [email protected] 14 points 6 months ago

    Rsync zeroing 🚬😭🚬😭🚬😭

    [–] [email protected] 12 points 6 months ago (3 children)

    This is funny, because copying files to a USB flashdrive, is just inherently disfunctional in linux.

    [–] [email protected] 7 points 6 months ago (1 children)

    TRUE!!! Why "user friendly" distros does not mount removable drives with sync option by default is beyond me.

    [–] [email protected] 9 points 6 months ago (1 children)

    Hang on there is a sync option? Does that make the progressbar work? If so why is it not enabled?

    [–] [email protected] 8 points 6 months ago (2 children)

    Yep. Almost all operating systems have a bufor that tell programs file was moved when it is still in the process. It makes perfect sense, it speed things up and extends the lifespan of the device.

    You can flush that bufor manually with just the sync command or disable it for whole partition with -o sync option. Technically you should unmount drives before unplugging for safety anyway, but people are stupid or more important lazy and in my opinion for external devices mounting with sync really should be the default. Maybe some low-level developer would disagree.

    load more comments (2 replies)
    load more comments (2 replies)
    [–] [email protected] 9 points 6 months ago
    [–] [email protected] 8 points 6 months ago (3 children)

    Many many years ago, it's one of the things that made me switch to Linux. Moving and renaming files while using them was kind of a game changer.

    load more comments (3 replies)
    load more comments
    view more: next ›