当前位置:网站首页>Common commands of raspberry pie
Common commands of raspberry pie
2022-07-28 20:19:00 【K.L.Zous】
Search package
apt-cache search softname1 softname2 softname3
Uninstall and clear configuration
apt-get remove –purge softname
Restart the network
sudo service networking restart
Show CPU Information
lscpu
Show CPU temperature
vcgencmd measure_temp
Display memory information
free -h
Show SD Card information
sudo fdisk -l
Print system information
uname -a
voltage
vcgencmd measure_volts core
GPIO Information
gpio readall
lookup
# Find the file in the root directory httpd.conf, It means to search the whole hard disk
find / -name httpd.conf
# stay /etc Files under directory httpd.conf
find /etc -name httpd.conf
# Use wildcards *(0 Or any number of ). It means that /etc Directory to find the file name contains string ‘srm’ The file of
find /etc -name ‘srm’
# It means to search the file name in the current directory. The beginning of the file name is a string ‘srm’ The file of
find . -name ‘srm*’
# Find last in system 10 Files accessed in minutes (access time)
find / -amin -10
# Find last in system 48 Files accessed in hours
find / -atime -2
# Find files or folders that are empty in the system
find / -empty
# Find in system belongs to group by cat The file of
find / -group cat
# Find last in system 5 Files modified in minutes (modify time)
find / -mmin -5
# Find last in system 24 Documents modified in hours
find / -mtime -1
# Find in system belongs to fred This user's file
find / -user fred
# Find out the value greater than 10000000 Byte file (c: byte ,w: Two words ,k:KB,M:MB,G:GB)
find / -size +10000c
# Find out less than 1000KB The file of
find / -size -1000k
边栏推荐
- [C language] Pointer elementary knowledge points
- Basic knowledge of C language
- English translation Portuguese - batch English conversion Portuguese - free translation and conversion of various languages
- [experiment sharing] CCIE BGP reflector experiment
- ssm中项目异常处理
- 2022年下半年系统集成项目管理工程师认证8月20日开班
- 6. Functions of C language, why functions are needed, how functions are defined, and the classification of functions
- [C language] print pattern summary
- 2. Floating point number, the difference between float and double in C language and how to choose them
- 9. Pointer of C language (4) pointer and one-dimensional array, pointer operation
猜你喜欢

产品经理访谈 | 第五代验证码的创新与背景

Handan, Hebei: expand grassroots employment space and help college graduates obtain employment

Deploy LNMP automatically with saltstack

“中国网事·感动2022”二季度网络感动人物评选结果揭晓

跨区域网络的通信学习静态路由

【实验分享】CCIE—BGP反射器实验
![[C language] Gobang game [array and function]](/img/73/1e708b0640c2dbc86393206840b059.png)
[C language] Gobang game [array and function]

Reverse string

KubeEdge发布云原生边缘计算威胁模型及安全防护技术白皮书

Durham High Lord (classic DP)
随机推荐
Digital filter design matlab
[C language] Pointer advanced knowledge points
[experiment sharing] CCIE BGP reflector experiment
Implementation of strstr in C language
Sequential linear table - practice in class
CDGA|工业互联网行业怎么做好数据治理?
How to automatically store email attachments in SharePoint
MySQL command statement (personal summary)
[C language] advanced pointer exercise 1
Method number problem for solving sum of numbers (knapsack problem)
跨区域网络的通信学习静态路由
C语言简单实例 1
软考中级(系统集成项目管理工程师)高频考点
How to use pycharm to quickly create a flask project
Quick sort template
Labelme (I)
XOR operation and its usage
C language functions and pointers
[C language] scanf format input and modifier summary
3、 Are formal and actual parameters in a programming language variables?