this post was submitted on 01 Jan 2024
162 points (88.2% liked)

linuxmemes

20484 readers
948 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 
top 36 comments
sorted by: hot top controversial new old
[–] [email protected] 110 points 7 months ago (4 children)
[–] [email protected] 22 points 7 months ago (2 children)

I was going to post exactly that, lol

[–] [email protected] 3 points 7 months ago (1 children)
[–] [email protected] 11 points 7 months ago (1 children)

No, that's a specific number.

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

69 -> nice.

I referenced an overused, childish joke.

[–] [email protected] 3 points 7 months ago* (last edited 7 months ago) (1 children)
[–] [email protected] 1 points 7 months ago

it used for cpu cores

[–] [email protected] 2 points 7 months ago
[–] [email protected] 12 points 7 months ago (1 children)
[–] [email protected] 33 points 7 months ago (1 children)

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

[–] [email protected] 17 points 7 months ago
[–] [email protected] 7 points 7 months ago* (last edited 7 months ago)

man watch

Nice command! Thanks!

edit: md

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

-d if you're feeling sporty.

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

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

[–] [email protected] 2 points 7 months ago
[–] possiblylinux127 5 points 7 months ago (5 children)

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

[–] [email protected] 8 points 7 months 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.

[–] [email protected] 1 points 7 months ago

its complicated please dont blame me for WSL

[–] possiblylinux127 -1 points 7 months 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.

[–] [email protected] 1 points 7 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...

[–] [email protected] 6 points 7 months 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.

[–] [email protected] 1 points 7 months ago

i try to understand that...

[–] [email protected] 2 points 7 months ago

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

[–] [email protected] 2 points 7 months 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.

[–] possiblylinux127 2 points 7 months 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?

[–] [email protected] 2 points 7 months 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.

[–] [email protected] 1 points 7 months ago

true it uses a Microsoft Hypervisor Virtual Machine

[–] [email protected] 1 points 7 months ago

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

[–] [email protected] 1 points 7 months ago
[–] [email protected] 4 points 7 months ago* (last edited 7 months ago) (2 children)

while :; do date; sleep 1; done

[–] [email protected] 3 points 7 months ago (1 children)
[–] [email protected] 2 points 7 months ago
[–] [email protected] 1 points 7 months ago (1 children)

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

[–] [email protected] 3 points 7 months 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

[–] [email protected] 0 points 7 months ago