watch -n 1 date
I was going to post exactly that, lol
nice
No, that’s a specific number.
what
69 -> nice.
I referenced an overused, childish joke.
it used for cpu cores
Same
what does it do?
it runs the date command once per second until you hit ctrl+c
tysm!
-d if you’re feeling sporty.
If we’re adding dramatic flourish, I’ll suggest
watch -n 1 'date | cowsay'
tysm
Slightly unrelated but cygwin will run better on windows (its way lighter)
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.
i try to understand that…
Best option is still Git Bash 🙃
most true :3
Yep, that’s what I use as well… in Windows I mean.
Can Cygwin run Linux GUI programs effectively? What about GPU-bound workloads? Would happily switch if the answer to both of those is yes.
You can run GUI apps but I’m not sure about GPU workloads. Wouldn’t bare metal be the best for that?
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.
true it uses a Microsoft Hypervisor Virtual Machine
i dont mind the GUI… but is Cygwin open source? just knowing
thanks
while :; do date; sleep 1; done
watch -n1 date
none
thanks this is more like c syntax tho its bash im learning c btw :3
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
what