Currently browsing tag

bash

Bash Guide for Beginners

記錄一下這幾個連結 http://tldp.org/LDP/Bash-Beginners-Guide/html/index.html http://ppewww.physics.gla.ac.uk/~chrisc/SUPA/lecturenotes/bash/bash.html 常有機會寫 bash 但是bash還是不熟悉.

列出linux有幾核心?

[root@cluster1 ~]$  cat /proc/cpuinfo | grep processor | tail -n 1 | awk ‘{print $3 + 1}’