158
top 38 comments
sorted by: hot top controversial new old
[-] Bishma@discuss.tchncs.de 108 points 10 months ago
[-] bloopernova@programming.dev 22 points 10 months ago

I was going to post exactly that, lol

[-] Picture_Pig@lemmy.world 3 points 10 months ago
[-] TheGreenGolem@lemmy.dbzer0.com 11 points 10 months ago

No, that's a specific number.

[-] Picture_Pig@lemmy.world 2 points 10 months ago
[-] TheGreenGolem@lemmy.dbzer0.com 2 points 10 months ago

69 -> nice.

I referenced an overused, childish joke.

[-] youngGoku@lemmy.world 2 points 10 months ago
[-] Picture_Pig@lemmy.world 12 points 10 months ago
[-] Bishma@discuss.tchncs.de 33 points 10 months ago

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

[-] Picture_Pig@lemmy.world 17 points 10 months ago
[-] azerial@lemmy.dbzer0.com 7 points 10 months ago* (last edited 10 months ago)

``man watch

Nice command! Thanks!

[-] simpleslipeagle@lemmynsfw.com 5 points 10 months ago

-d if you're feeling sporty.

[-] Bishma@discuss.tchncs.de 3 points 10 months ago

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

[-] Picture_Pig@lemmy.world 2 points 10 months ago
[-] possiblylinux127@lemmy.zip 6 points 10 months ago

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

[-] gornius@lemmy.world 8 points 10 months ago

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.

[-] possiblylinux127@lemmy.zip 1 points 10 months ago

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@lemmy.world 1 points 10 months 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...

[-] Picture_Pig@lemmy.world 1 points 10 months ago

its complicated please dont blame me for WSL

[-] azerial@lemmy.dbzer0.com 6 points 10 months ago

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@lemmy.world 1 points 10 months ago

i try to understand that...

[-] QuaternionsRock@lemmy.world 2 points 10 months ago

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

[-] possiblylinux127@lemmy.zip 2 points 10 months ago

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

[-] QuaternionsRock@lemmy.world 2 points 10 months ago

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@lemmy.world 1 points 10 months ago

true it uses a Microsoft Hypervisor Virtual Machine

[-] Picture_Pig@lemmy.world 1 points 10 months ago

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

[-] lapingvino@lemmy.world 2 points 10 months ago

Best option is still Git Bash 🙃

[-] Picture_Pig@lemmy.world 2 points 10 months ago

most true :3

[-] 0x4E4F@sh.itjust.works 2 points 10 months ago

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

[-] Picture_Pig@lemmy.world 1 points 10 months ago
[-] superbirra@lemmy.world 4 points 10 months ago* (last edited 10 months ago)

while :; do date; sleep 1; done

[-] Picture_Pig@lemmy.world 1 points 10 months ago

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

[-] superbirra@lemmy.world 3 points 10 months ago

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@lemmy.world 0 points 10 months ago
this post was submitted on 01 Jan 2024
158 points (88.0% liked)

linuxmemes

21234 readers
19 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