this post was submitted on 24 May 2025
496 points (98.4% liked)

linuxmemes

25054 readers
1446 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 users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • 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.
  • 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, no politics, no trolling or ragebaiting.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. πŸ‡¬πŸ‡§ Language/язык/Sprache
  • This is primarily an English-speaking community. πŸ‡¬πŸ‡§πŸ‡¦πŸ‡ΊπŸ‡ΊπŸ‡Έ
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • 6. (NEW!) Regarding public figuresWe all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.
  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.
  • Β 

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.

    founded 2 years ago
    MODERATORS
     
    top 21 comments
    sorted by: hot top controversial new old
    [–] [email protected] 2 points 2 hours ago

    I don't have to use a perl script to view the contents of a file?

    open(my $fh, '<', 'filename.txt') or die "Could not open file: $!"; while (my $line = <$fh>) { print $line; } close($fh);

    Sick!

    [–] [email protected] 5 points 6 hours ago

    Everything is valid Perl code.

    [–] [email protected] 2 points 6 hours ago
    [–] [email protected] 14 points 8 hours ago (1 children)

    You can also use ffmpeg to convert music and pictures! And to summon the devil into your kernel!

    [–] [email protected] 2 points 5 hours ago

    How has BSD never had "Summon the devil into your kernel" as a slogan!?

    [–] [email protected] 51 points 17 hours ago

    FFMPG/Linux, or as I've recently taken to calling it, FFMPG plus Linux.

    [–] [email protected] 67 points 22 hours ago (2 children)

    my ass searching up any ffmpeg command every time I wanna run them instead of memorizing it or putting it in a text file to reuse

    [–] [email protected] 3 points 5 hours ago

    I do that with yt-dlp

    [–] [email protected] 18 points 15 hours ago (1 children)

    Just remember if you need to do anything with subtitles in FFMpeg, you need to install libass

    [–] [email protected] 2 points 13 hours ago

    it for the streets

    [–] [email protected] 78 points 23 hours ago (1 children)

    ffmpeg is wild as far as tools go

    [–] [email protected] 65 points 23 hours ago (2 children)

    Yeah, there are massive projects that serve as a frontend to a subset of ffmpeg features.

    [–] [email protected] 2 points 6 hours ago

    Man who memorized the ffmpeg docs: Look at what they need to mimic a fraction of my power.

    [–] [email protected] 3 points 7 hours ago

    Like Firefox

    (partially kidding)

    [–] [email protected] 142 points 1 day ago (1 children)

    What AI-generated, non-working, obviously incorrect garbage is this? Also, you want to define this as an alias to type the command 33% faster, too!

    alias fc='ffmpeg -c copy -map 0:0 -f data - 2>/dev/null -i '
    

    Amateurs.

    [–] [email protected] 62 points 23 hours ago (1 children)

    Sigh, it's always "2>/dev/null" never "what is your problem 2?"....

    [–] [email protected] 24 points 18 hours ago (1 children)

    I call this part "shut up, tin can, I know what I'm doing".

    Sometimes you just don't care about these 42 files find couldn't access. If I don't have permissions to read them, I'm not interested!

    [–] [email protected] 2 points 8 hours ago

    bruh! take this, computer!! I didn't want to search them anyway!!!

    I do the same thing too all the time

    [–] [email protected] 42 points 1 day ago (1 children)

    That doesn't work for me, but it also doesnt give me an error

    [–] [email protected] 42 points 23 hours ago (1 children)

    Then it works. Just not in the way you wanted

    [–] [email protected] 2 points 9 hours ago

    Well specifically it does not work "to display text files", it just silently exits.