Switter.su
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Picture Pig@lemmy.world to linuxmemes@lemmy.world · 1 year ago

Let's go! (sorry i used WSL i have my own reasons for it...)

lemmy.world

message-square
38
fedilink
164

Let's go! (sorry i used WSL i have my own reasons for it...)

lemmy.world

Picture Pig@lemmy.world to linuxmemes@lemmy.world · 1 year ago
message-square
38
fedilink
alert-triangle
You must log in or register to comment.
  • 👍Maximum Derek👍@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    110
    ·
    1 year ago

    watch -n 1 date

    • bloopernova@programming.dev
      link
      fedilink
      English
      arrow-up
      22
      ·
      1 year ago

      I was going to post exactly that, lol

      • Picture Pig@lemmy.worldOP
        link
        fedilink
        arrow-up
        3
        ·
        1 year ago

        nice

        • TheGreenGolem@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          12
          arrow-down
          1
          ·
          1 year ago

          No, that’s a specific number.

          • Picture Pig@lemmy.worldOP
            link
            fedilink
            arrow-up
            2
            ·
            1 year ago

            what

            • TheGreenGolem@lemmy.dbzer0.com
              link
              fedilink
              English
              arrow-up
              2
              ·
              1 year ago

              69 -> nice.

              I referenced an overused, childish joke.

              • account abandoned@lemmy.world
                link
                fedilink
                English
                arrow-up
                3
                ·
                edit-2
                1 year ago

                https://en.wikipedia.org/wiki/Nice_(Unix)

                • Picture Pig@lemmy.worldOP
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  1 year ago

                  it used for cpu cores

      • Goku@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        Same

    • Picture Pig@lemmy.worldOP
      link
      fedilink
      arrow-up
      12
      ·
      1 year ago

      what does it do?

      • 👍Maximum Derek👍@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        33
        ·
        1 year ago

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

        • Picture Pig@lemmy.worldOP
          link
          fedilink
          arrow-up
          17
          ·
          1 year ago

          tysm!

    • azerial@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      7
      ·
      edit-2
      1 year ago

      man watch

      Nice command! Thanks!

      edit: md

    • simpleslipeagle@lemmynsfw.com
      link
      fedilink
      English
      arrow-up
      5
      ·
      1 year ago

      -d if you’re feeling sporty.

      • 👍Maximum Derek👍@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 year ago

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

        • Picture Pig@lemmy.worldOP
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          tysm

  • Possibly linux@lemmy.zip
    link
    fedilink
    English
    arrow-up
    7
    arrow-down
    2
    ·
    1 year ago

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

    • gornius@lemmy.world
      link
      fedilink
      arrow-up
      8
      ·
      1 year 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.

      • Picture Pig@lemmy.worldOP
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        its complicated please dont blame me for WSL

      • Possibly linux@lemmy.zip
        link
        fedilink
        English
        arrow-up
        3
        arrow-down
        4
        ·
        1 year 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.worldOP
          link
          fedilink
          arrow-up
          1
          ·
          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…

    • azerial@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      6
      ·
      1 year 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.worldOP
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        i try to understand that…

    • lapingvino@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Best option is still Git Bash 🙃

      • Picture Pig@lemmy.worldOP
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        most true :3

    • QuaternionsRock@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      1 year 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.

      • Possibly linux@lemmy.zip
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year 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
          link
          fedilink
          arrow-up
          2
          ·
          1 year 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.worldOP
            link
            fedilink
            arrow-up
            1
            ·
            1 year ago

            true it uses a Microsoft Hypervisor Virtual Machine

      • Picture Pig@lemmy.worldOP
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

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

    • 0x4E4F@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

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

    • Picture Pig@lemmy.worldOP
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      thanks

  • superbirra@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    1 year ago

    while :; do date; sleep 1; done

    • TheOPtimal@lemmy.blahaj.zone
      link
      fedilink
      ქართული
      arrow-up
      3
      ·
      1 year ago
      watch -n1 date
      
      • superbirra@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        none

    • Picture Pig@lemmy.worldOP
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

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

      • superbirra@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        1 year 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.worldOP
          link
          fedilink
          arrow-up
          1
          arrow-down
          1
          ·
          1 year ago

          what

linuxmemes@lemmy.world

linuxmemes@lemmy.world

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !linuxmemes@lemmy.world

Hint: :q!


Sister communities:
  • !tech_memes@lemmy.world
  • !memes@lemmy.world
  • !lemmyshitpost@lemmy.world
  • !risa@startrek.website

Community rules (click to expand)

1. Follow the site-wide rules
  • Instance-wide TOS: https://legal.lemmy.world/tos/
  • Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
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 figures

We 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.

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 513 users / day
  • 3.67K users / week
  • 9.65K users / month
  • 17.9K users / 6 months
  • 1 local subscriber
  • 25K subscribers
  • 1.63K Posts
  • 89.1K Comments
  • Modlog
  • mods:
  • Kevin@lemmy.world
  • zephyr@lemmy.world
  • rtxn@lemmy.world
  • BE: 0.19.10
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org