当前位置:网站首页>Solutions to insufficient display permissions of find and Du -sh
Solutions to insufficient display permissions of find and Du -sh
2022-06-26 13:15:00 【Tickets are also used for taking the bus】
Add after command
2>/dev/null
for example
du -sh
┌──(liuyi㉿kali)-[~]
└─$ du -sh /* 2>/dev/null
0 /0
0 /bin
168M /boot
0 /dev
12M /etc
11G /home
0 /initrd.img
0 /initrd.img.old
0 /lib
0 /lib32
0 /lib64
0 /libx32
213G /media
0 /mnt
4.5G /opt
0 /proc
0 /root
1.5M /run
0 /sbin
0 /srv
0 /sys
328K /tmp
11G /usr
2.5G /var
0 /vmlinuz
0 /vmlinuz.old
┌──(liuyi㉿kali)-[~]
└─$
Find
┌──(liuyi㉿kali)-[~]
└─$ find / -name *java-11-openjdk* 2>/dev/null
/etc/java-11-openjdk
/usr/lib/debug/usr/lib/jvm/java-11-openjdk-amd64
/usr/lib/jvm/java-11-openjdk-amd64
/usr/share/gdb/auto-load/usr/lib/jvm/java-11-openjdk-amd64
/usr/share/icons/Flat-Remix-Blue-Dark/apps/scalable/java-11-openjdk.svg
┌──(liuyi㉿kali)-[~]
└─$
边栏推荐
- MySQL数据库常见故障——遗忘数据库密码
- J - Wooden Sticks poj 1065
- 组合模式(Composite )
- scrapy——爬取漫画自定义存储路径下载到本地
- C structure: definition and example
- 倍福PLC基于NT_Shutdown实现控制器自动关机重启
- Zoomeeper sets ACL permission control (only specific IP access is allowed to enhance security)
- Script - crawl the customized storage path of the cartoon and download it to the local
- 偶言佳句,孤芳自赏
- 2、并行接口、协议和相关芯片介绍(8080、8060)
猜你喜欢

Composite mode

Electron official docs series: Processes in Electron

MySQL数据库讲解(三)
![Hdu1724[Simpson formula for integral]ellipse](/img/57/fb5098e150b5f3d91a5d0983a336ee.png)
Hdu1724[Simpson formula for integral]ellipse

倍福PLC实现绝对值编码器原点断电保持---bias的使用

Script - crawl the customized storage path of the cartoon and download it to the local

C语言:练习题二

Do you know the limitations of automated testing?

8、【STM32】定时器(TIM)——中断、PWM、输入捕获实验(一文精通定时器)

Beifu PLC realizes data power-off maintenance based on cx5130
随机推荐
UVA5009 Error Curves三分
J - Wooden Sticks poj 1065
HDU 3555 Bomb
8. [STM32] timer (TIM) -- interrupt, PWM, input capture experiment (proficient in timer)
Explain C language 11 in detail (C language series)
Script - crawl the customized storage path of the cartoon and download it to the local
Electron official docs series: Testing And Debugging
Source code learning: atomicinteger class code internal logic
System tasks (display / print class) in Verilog - $display, $write, $strobe, $monitor
sql 将数据表b字段值赋值到数据表a中某一列
PostGIS geographic function
Electron official docs series: Testing And Debugging
G - Cow Bowling
Dark horse notes - Common APIs
解中小企业之困,百度智能云打个样
code force Party Lemonade
Processing polyhedron change
postgis計算角度
Software testing - concept
外观模式(Facade)