• 1 Post
  • 11 Comments
Joined 2 months ago
cake
Cake day: March 13th, 2025

help-circle


  • mina86@lemmy.wtftoLinux@lemmy.mlWorld on warcraft on Linux
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 month ago

    Admittedly, I’m probably not the best person to ask for recommendation of a noob-friendly distro, but I feel people are overthinking this. If someone produces a list which includes distros I’ve never heard of, I think they spent too much time on ‘Top 10 Noob Friendly Distros in 2025’ websites.

    If you really care about my recommendation, just start with Mint.

    PS. I should also add, this isn’t criticism of you or any other new user who does search online for recommendation. This is more a comment on state of the Internet where there are so many websites which seem to pad their list with obscure distros where really all such articles should give recommendation for one of the same three distributions. Which three I don’t exactly know.






  • You want readlink -f rather than ls -l. ++OK, actually not exactly. readlink won’t print path to the symlink so it’s not as straightforward.++

    Also, you want + in find ... -exec ... + rather than ;.

    At this point I feel committed to making readlink work. ;) Here’s the script you want:

    #!/bin/sh
    
    want=$1
    shift
    readlink -f -- "$@" | while read got; do
    	if [ "$got" = "$want" ]; then
    		echo "$1"
    	fi
    	shift
    done
    

    and execute it as:

    find ~ -type l -exec /bin/sh /path/to/the/script /path/to/target/dir {} +