当前位置:网站首页>find及du -sh显示权限不够的解决方法
find及du -sh显示权限不够的解决方法
2022-06-26 12:37:00 【坐公交也用券】
在命令后面加上
2>/dev/null
例如
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)-[~]
└─$
边栏推荐
- 2022 China smart bathroom cabinet Market Research and investment Competitiveness Analysis Report
- 轻流完成与「DaoCloud Enterprise 云原生应用云平台」兼容性认证
- 7-1 n皇后问题
- Scala-day03- operators and loop control
- openlayers 绘制动态迁徙线、曲线
- Operation analysis and investment prospect research report of China's organic chemical raw material manufacturing industry 2022-2028
- 不到40行代码手撸一个BlocProvider
- 环形队列php
- 快手实时数仓保障体系研发实践
- Scala-day05-set
猜你喜欢
![[solved] data duplication or data loss after laravel paginate() paging](/img/68/7bf51bbf893a91bee24f5f7d4a369f.jpg)
[solved] data duplication or data loss after laravel paginate() paging

goto语句实现关机小程序
![[solved] laravel completes the scheduled job task (delayed distribution task) [execute a user-defined task at a specified time]](/img/13/c2c63333a9e5ac08b339449ea17654.jpg)
[solved] laravel completes the scheduled job task (delayed distribution task) [execute a user-defined task at a specified time]

TSMC Samsung will mass produce 3nm chips in 2022: will the iPhone be the first?

使用SSH密钥对登陆服务器

Mysql8 master-slave replication

PHP uses laravel pay component to quickly access wechat jsapi payment (wechat official account payment)

el-form-item 包含两个input, 校验这两个input

手把手带你学会Odoo OWL组件开发(7):OWL项目实战使用

A must for programmers, an artifact utools that can improve your work efficiency n times
随机推荐
KVM 显卡透传 —— 筑梦之路
dried food! Yiwen will show you SD card, TF card and SIM card!
国标GB28181协议EasyGBS级联宇视平台,保活消息出现403该如何处理?
Research on the current situation of China's modified engineering plastics market and demand forecast analysis report 2022-2028
程序员必备,一款让你提高工作效率N倍的神器uTools
Msvcr110 not found DLL, unable to continue code execution Solution for startup
Examples of how laravel uses with preload (eager to load) and nested query
Redis learning - 06 drifting bottle case
使用SSH密钥对登陆服务器
7-2 大盗阿福
NoSQL mongodb - 04 mongodb database and web service combination case
2022 edition of China's medical robot industry investment status investigation and prospect dynamic analysis report
The laravel dingo API returns a custom error message
MS17_ 010 utilization summary
7-2 摘花生
Redis learning - 05 node JS client operation redis and pipeline pipeline
Sharing ideas for a quick switch to an underlying implementation
不到40行代码手撸一个BlocProvider
小白懒人专用-win10-win11一键安装版
Current situation investigation and investment prospect forecast analysis report of China's electrolytic copper market from 2022 to 2028