当前位置:网站首页>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)-[~]
└─$
边栏推荐
- 软件测试 - 概念篇
- 简易数字电路交通灯设计
- Introduction to the four major FPGA manufacturers abroad
- Spark-day03-core programming RDD operator
- Tiger Dao VC products are officially launched, a powerful supplement to seektiger ecology
- 7-2 大盗阿福
- 国标GB28181协议EasyGBS级联宇视平台,保活消息出现403该如何处理?
- How long ago did PHP get
- JS how to judge when data contains integer and floating-point types. Floating-point decimals retain two digits after the decimal point
- Nodejs get get/post request parameters
猜你喜欢
Adobe Acrobat阻止30款安全软件查看PDF文件 或存在安全风险

BigInt:处理大数字(任意长度的整数)

NoSQL mongodb - 01 introduction to NoSQL and mongodb

由错误<note: candidate expects 1 argument, 0 provided>引发的思考

PHP uses laravel pay component to quickly access wechat jsapi payment (wechat official account payment)
![[BSidesCF 2019]Kookie 1](/img/22/585d081668e67b8389a1b90aaebe9d.png)
[BSidesCF 2019]Kookie 1

JS get the current screen height method and listen for DOM elements to enter the viewport

Laravel+gatewayworker completes the im instant messaging and file transfer functions (Chapter 4: server debugging errors)

Redis learning - 05 node JS client operation redis and pipeline pipeline

使用SSH密钥对登陆服务器
随机推荐
计组实践实验9——使用CMStudio设计基于分段模型机微程序指令(2)
PHP returns false when calling redis method decrby less than 0
PHP unit conversion
7-2 数的三次方根
班主任让开股票账户,在挖财理财开户安全吗?
7-2 大盗阿福
KVM 显卡透传 —— 筑梦之路
Iframe usage and contentwindow, parent and PostMessage communication methods
Redis learning - 02 common data types, operation commands and expiration time
2022 edition of Beijing 5g industry investment planning and development prospect forecast analysis report
power designer - 自定义注释按钮
TSMC Samsung will mass produce 3nm chips in 2022: will the iPhone be the first?
2022 China smart bathroom cabinet Market Research and investment Competitiveness Analysis Report
2022 edition of investment analysis and "fourteenth five year plan" development prospect forecast report of China's switchgear industry
机组实践实验8——使用CMStudio设计基于基本模型机微程序指令(1)
710. 黑名单中的随机数
Sharing ideas for a quick switch to an underlying implementation
Demand scale forecast and investment competitiveness analysis report of China's new material market 2022-2028
软件测试 - 概念篇
关于NaN的一些总结