sudo find -x / -d 1 -regex '.*[^\.\].*' -exec sudo du -shx {} +
MacBook-Pro-TAT:~ tatianasalmon$ sudo find -x / -d 1 -regex '.*[^\.\].*' -exec sudo du -shx {} +
sudo: unable to mkdir /var/db/sudo: No space left on device
Password:
Sorry, try again.
Password:
Last login: Sat Jun 20 12:09:11 on ttys000
touch: /Users/tatianasalmon/.bash_sessions/FD101820-7506-40BA-9B39-D87C650D151A.historynew: No space left on device
97:~ tatianasalmon$
/Vol*/Macin*/usr/bin/du -sh /Vol*/Macin*/*
rm -rf /Volumes/"Macintosh HD"/cores/*
19G /Volumes/Macintosh HD/Applications
du: /Volumes/Macintosh HD/Library/Application Support/Apple/Screen Sharing/Keys: Permission denied
du: /Volumes/Macintosh HD/Library/Application Support/Apple/ParentalControls/Users: Permission denied
du: /Volumes/Macintosh HD/Library/Application Support/Apple/AssetCache/Data: Permission denied
du: /Volumes/Macintosh HD/Library/Application Support/Apple/Remote Desktop/Task Server: Permission denied
du: /Volumes/Macintosh HD/Library/Application Support/Apple/Remote Desktop/Client: Permission denied
du: /Volumes/Macintosh HD/Library/Application Support/ApplePushService: Permission denied
du: /Volumes/Macintosh HD/Library/Application Support/Malwarebytes/MBAM/Settings/1: Permission denied
du: /Volumes/Macintosh HD/Library/Application Support/Malwarebytes/MBAM/Settings/501: Permission denied
du: /Volumes/Macintosh HD/Library/Application Support/com.bombich.ccc/PreBoot/com.apple.installer: Permission denied
du: /Volumes/Macintosh HD/Library/Caches/com.apple.iconservices.store: Permission denied
13G /Volumes/Macintosh HD/Library
0B /Volumes/Macintosh HD/Network
du: /Volumes/Macintosh HD/System/Library/DirectoryServices/DefaultLocalDB/Default: Permission denied
du: /Volumes/Macintosh HD/System/Library/User Template: Permission denied
df -H /du: /Volumes/Macintosh HD/System/Library/Caches/com.apple.coresymbolicationd: Permission denied
6,2G /Volumes/Macintosh HD/System
31G /Volumes/Macintosh HD/Users
0B /Volumes/Macintosh HD/Volumes
2,5M /Volumes/Macintosh HD/bin
158G /Volumes/Macintosh HD/cores
4,5K /Volumes/Macintosh HD/dev
0B /Volumes/Macintosh HD/etc
1,0K /Volumes/Macintosh HD/home
0B /Volumes/Macintosh HD/installer.failurerequests
1,0K /Volumes/Macintosh HD/net
du: /Volumes/Macintosh HD/private/var/run/mds: Permission denied
du: /Volumes/Macintosh HD/private/var/backups: Permission denied
du: /Volumes/Macintosh HD/private/var/agentx: Permission denied
3,4G /Volumes/Macintosh HD/private
1,0M /Volumes/Macintosh HD/sbin
0B /Volumes/Macintosh HD/tmp
du: /Volumes/Macintosh HD/usr/sbin/authserver: Permission denied
443M /Volumes/Macintosh HD/usr
0B /Volumes/Macintosh HD/var
Filesystem Size Used Avail Capacity iused ifree %iused Mounted on
/dev/disk1s1 251G 249G 8.6M 100% 868850 9223372036853906957 0% /
MacBook-Pro-TAT:~ tatianasalmon$ rm -rf /Volumes/"Macintosh HD"/cores/*
MacBook-Pro-TAT:~ tatianasalmon$
sudo launchctl limit core
rm -rf /Volumes/"Macintosh HD"/cores/*
chflags uchg /Volumes/"Macintosh HD"/cores
diskutil list
-bash-3.2# diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.1 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk2 499.9 GB disk0s2
/dev/disk1 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme +2.1 GB disk1
1: Apple_HFS macOS Base System 2.0 GB disk1s1
/dev/disk2 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +499.9 GB disk2
Physical Store disk0s2
1: APFS Volume Macintosh HD 490.4 GB disk2s1
2: APFS Volume Preboot 25.6 MB disk2s2
3: APFS Volume Recovery 507.4 MB disk2s3
4: APFS Volume VM 2.1 GB disk2s4
/dev/disk3 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +5.2 MB disk3
/dev/disk4 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk4
/dev/disk5 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk5
/dev/disk6 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk6
/dev/disk7 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +2.1 MB disk7
/dev/disk8 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk8
/dev/disk9 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk9
/dev/disk10 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +12.6 MB disk10
/dev/disk11 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +4.2 MB disk11
/dev/disk12 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +1.0 MB disk12
/dev/disk13 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +2.1 MB disk13
/dev/disk14 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk14
/dev/disk15 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk15
/dev/disk16 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +1.0 MB disk16
/dev/disk17 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk17
/dev/disk18 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +6.3 MB disk18
/dev/disk19 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +6.3 MB disk19
/dev/disk20 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk20
/dev/disk21 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +2.1 MB disk21
-bash-3.2#
-bash-3.2# diskutil list
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.1 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk2 499.9 GB disk0s2
/dev/disk1 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme +2.1 GB disk1
1: Apple_HFS macOS Base System 2.0 GB disk1s1
/dev/disk2 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +499.9 GB disk2
Physical Store disk0s2
1: APFS Volume Macintosh HD 490.4 GB disk2s1
2: APFS Volume Preboot 25.6 MB disk2s2
3: APFS Volume Recovery 507.4 MB disk2s3
4: APFS Volume VM 2.1 GB disk2s4
/dev/disk3 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +5.2 MB disk3
/dev/disk4 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk4
/dev/disk5 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk5
/dev/disk6 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk6
/dev/disk7 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +2.1 MB disk7
/dev/disk8 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk8
/dev/disk9 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk9
/dev/disk10 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +12.6 MB disk10
/dev/disk11 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +4.2 MB disk11
/dev/disk12 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +1.0 MB disk12
/dev/disk13 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +2.1 MB disk13
/dev/disk14 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk14
/dev/disk15 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk15
/dev/disk16 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +1.0 MB disk16
/dev/disk17 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk17
/dev/disk18 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +6.3 MB disk18
/dev/disk19 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +6.3 MB disk19
/dev/disk20 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +524.3 KB disk20
/dev/disk21 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: untitled +2.1 MB disk21
-bash-3.2#