this post was submitted on 01 Jan 2024
163 points (88.3% liked)

linuxmemes

22146 readers
788 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.
  • 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, <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.
  • Β 

    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 38 comments
    sorted by: hot top controversial new old
    [–] [email protected] 110 points 1 year ago (4 children)
    [–] [email protected] 22 points 1 year ago (2 children)

    I was going to post exactly that, lol

    [–] Picture_Pig 3 points 1 year ago (1 children)
    [–] [email protected] 11 points 1 year ago (1 children)

    No, that's a specific number.

    [–] Picture_Pig 2 points 1 year ago (1 children)
    [–] [email protected] 2 points 1 year ago (1 children)

    69 -> nice.

    I referenced an overused, childish joke.

    [–] mypasswordis1234 3 points 1 year ago* (last edited 1 year ago) (1 children)
    [–] Picture_Pig 1 points 1 year ago

    it used for cpu cores

    [–] youngGoku 2 points 1 year ago
    [–] Picture_Pig 12 points 1 year ago (1 children)
    [–] [email protected] 33 points 1 year ago (1 children)

    it runs the date command once per second until you hit ctrl+c

    [–] Picture_Pig 17 points 1 year ago
    [–] [email protected] 7 points 1 year ago* (last edited 1 year ago)

    man watch

    Nice command! Thanks!

    edit: md

    [–] [email protected] 5 points 1 year ago (1 children)

    -d if you're feeling sporty.

    [–] [email protected] 3 points 1 year ago (1 children)

    If we're adding dramatic flourish, I'll suggest watch -n 1 'date | cowsay'

    [–] Picture_Pig 2 points 1 year ago
    [–] [email protected] 5 points 1 year ago (6 children)

    Slightly unrelated but cygwin will run better on windows (its way lighter)

    [–] gornius 8 points 1 year ago (2 children)

    Better in which way? WSL2 is a VM running ALONGSIDE Windows, not inside. Its performance is basically bare metal. If you have enough RAM, there is no reason to use cygwin instead of WSL2.

    [–] Picture_Pig 1 points 1 year ago

    its complicated please dont blame me for WSL

    [–] [email protected] -1 points 1 year ago (1 children)

    In that case why don't you just run a VM or install bare metal. WSL strips you of control just like Windows itself does.

    [–] Picture_Pig 1 points 1 year ago

    its complicated as i replied to someone else's comment...

    im not a "it just works" user too but its complicated to explain why i use windows for now (but ill switich soon)

    like im totally a FOSS enthusiast but like...

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

    AHHHH "Has ptsd flashbacks from having to use Cygwin on a mixed build environment for a popular MMO that's about some kind of war up in the stars.." lol NOT THE CYGDRIVE lol jk but it did take me back ~5 years.

    [–] Picture_Pig 1 points 1 year ago

    i try to understand that...

    [–] [email protected] 2 points 1 year ago

    Yep, that's what I use as well... in Windows I mean.

    [–] lapingvino 2 points 1 year ago (1 children)

    Best option is still Git Bash πŸ™ƒ

    [–] Picture_Pig 2 points 1 year ago

    most true :3

    [–] QuaternionsRock 2 points 1 year ago (2 children)

    Can Cygwin run Linux GUI programs effectively? What about GPU-bound workloads? Would happily switch if the answer to both of those is yes.

    [–] [email protected] 2 points 1 year ago (1 children)

    You can run GUI apps but I'm not sure about GPU workloads. Wouldn't bare metal be the best for that?

    [–] QuaternionsRock 2 points 1 year ago (1 children)

    Wouldn't bare metal be the best for that?

    Technically yes, but WSL2 is remarkably close to optimal in terms of throughput. Unlike WSL1 (a type 2 hypervisor), WSL2 requires Hyper-V (a type 1 hypervisor), meaning Windows also runs as a VM once it’s enabled. The Linux vGPU driver still needs to go through the Windows Nvidia driver as far as I know, but that is seldom the bottleneck for CUDA applications.

    [–] Picture_Pig 1 points 1 year ago

    true it uses a Microsoft Hypervisor Virtual Machine

    [–] Picture_Pig 1 points 1 year ago

    i dont mind the GUI... but is Cygwin open source? just knowing

    [–] Picture_Pig 1 points 1 year ago
    [–] superbirra 4 points 1 year ago* (last edited 1 year ago) (2 children)

    while :; do date; sleep 1; done

    [–] [email protected] 3 points 1 year ago (1 children)
    [–] superbirra 2 points 1 year ago
    [–] Picture_Pig 1 points 1 year ago (1 children)

    thanks this is more like c syntax tho its bash im learning c btw :3

    [–] superbirra 3 points 1 year ago (1 children)

    it's posix shell, also it produces an output similar to your post unlike watch, which everyone is rushing to point out as if it were the ultimate superninja haxxor secret tool that nobody knows about :DDD

    [–] Picture_Pig 0 points 1 year ago