nyck33@nyck33-ubuntu2304:/media/nyck33/2DA0F2CE46B4B745/fastapi/modern-apis-with-fastapi/ch05-a-realistic-api$ sudo du -sh /var/snap/* | sort -h
[sudo] password for nyck33:
12K /var/snap/bare
12K /var/snap/core18
12K /var/snap/core20
12K /var/snap/flutter
12K /var/snap/gnome-3-28-1804
12K /var/snap/gnome-3-38-2004
12K /var/snap/gtk-common-themes
12K /var/snap/kf5-5-108-qt-5-15-10-core22
12K /var/snap/kf5-5-110-qt-5-15-11-core22
16K /var/snap/code
16K /var/snap/core22
16K /var/snap/gnome-42-2204
16K /var/snap/snapd
16K /var/snap/vlc
488K /var/snap/cups
1.2M /var/snap/snapd-desktop-integration
1.2M /var/snap/snap-store
1.3M /var/snap/skype
1.4M /var/snap/discord
1.4M /var/snap/okular
1.4M /var/snap/spotify
22M /var/snap/firefox
nyck33@nyck33-ubuntu2304:/media/nyck33/2DA0F2CE46B4B745/fastapi/modern-apis-with-fastapi/ch05-a-realistic-api$ snap saved
No snapshots found.
nyck33@nyck33-ubuntu2304:/media/nyck33/2DA0F2CE46B4B745/fastapi/modern-apis-with-fastapi/ch05-a-realistic-api$
删除 ChatGPT 答案
我让 Ubuntu 决定如何安装 23.04,它给了我这个。
答案1
看起来好像/dev/nvme1n1p4
安装在和上/
。/var/snap
安装在/
意味着它是您的根驱动器,并将包含您的大多数文件,而不仅仅是 Snap 在此分区上存储文件。
由于您正在使用 GUI,我建议您运行baobab
以查看哪些内容占用了您的所有空间:
sudo baobab /