cores=\$(lscpu | grep 'CPU(s)' |awk '{print \}' | head -n 1)
      ${2:echo "\${cores\}"}
      
      Shell language logo

      system processor count

      Shell public recipes

      Shortcut: system.processor.count

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.