Guest User

Untitled

a guest
Dec 10th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. phycores=echo $sudoPW | cat /proc/cpuinfo | grep -m 1 "cpu cores" | awk '{print $ 4;}'
  2. echo $phycores
  3.  
  4. for i in {1..$phycores}
  5. do
  6. echo "Core $i"
  7. done
Add Comment
Please, Sign In to add comment