Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to get the temp of cpu in linux terminal raspberry pi

cpu=$(</sys/class/thermal/thermal_zone0/temp)
echo "$((cpu/1000)) c"
Comment

PREVIOUS NEXT
Code Example
Shell :: update npm-windows 
Shell :: how to install scipy 
Shell :: pip install requirements.txt ignore errors 
Shell :: install zsh auto suggestion 
Shell :: debian install python 3 
Shell :: git abort REVERTING 
Shell :: Usage: yarn [options] yarn: error: no such option: --template 
Shell :: certbot apache site 
Shell :: install ssh-copy-id 
Shell :: install google chrome on fedira 
Shell :: git clone file name too long 
Shell :: git merge continue 
Shell :: git discard local changes 
Shell :: how to uninstall opencv in ubuntu 
Shell :: homebrew install git 
Shell :: vim hangs 
Shell :: date-fns npm package 
Shell :: how to reset kali keyring 
Shell :: git stash remove 
Shell :: macos install airport 
Shell :: windows npm install permission denied 
Shell :: add staged change to your last commit 
Shell :: unable to start ssh-agent service, error :1058 
Shell :: checkbox github markdown 
Shell :: list of running ports linux 
Shell :: pip install postgresql 
Shell :: list interfaces centos 
Shell :: brave browser linux 
Shell :: git ssl certificate problem 
Shell :: check status smb linux 
ADD CONTENT
Topic
Content
Source link
Name
5+8 =