Feel free to share some useful terminal commands that you know, which can also be used in recovery mode. These were some sample command, there are various useful terminal command that you can use to perform multiple task.
Moreover, you can refer to the article ” Your Startup Disk Is Almost Full ” message – How to fix it” if you want to delete files from more location to free up some more space. bash-3.2# rm -rf Mac-Screen-Recording-With-Snagit.mp4 MacOS High Sierra Feature macOS High Sierra Public Beta New Safari Feature High Sierra Screen Shot at 3.12.15 PM.png kextlist.txt bash-3.2# rm -rf Duplicate-Cleaner-to-Free-Up-Space.pngįind-App-Install Date Mac Screen Recording Mac-Screen-Recording-With-Snagit.mp4
DS_Store Duplicate-Cleaner-to-Free-Up-Space.png localized Guest Shared alisha nasirsohailĪddress Book Plug-Ins GameKit PreferencePanesĪpplication Support Group Containers PrintersĪudio Internet Plug-Ins Saved Application StateĪutosave Information Keyboard Screen SaversĬoreData Messages Īddress Book Plug-Ins GameKit PreferencesĪpplication Support Group Containers PubSubĪssistants Input Methods Saved Application StateĬolorPickers LanguageModeling Suggestions PKInstallSandboxManager-SystemSoftware bin Here are the complete list of terminal commands that I typed to free up some space on the startup disk. Sample of Mac Terminal Command in Recovery Mode You can even copy data from internal hard drive ( user’s home folder ) to an external USB drive to save them. So the only option left for you is to use terminal in recovery to perform data backup and other troubleshooting. This can be very helpful reference if your computer does’t boot normally and the safe mode does not work either. I though of publishing the whole terminal commands output to those who have never used terminal or recovery mode to free up space on startup disk in case of no boot situation caused by low disk space or by some incompatible kernel extensions(.kext). These are the terminal command that I used in recovery mode when my Mac was unable to boot due to low disk space.
However, If you have already executed some commands, find that the command has been taking too long or if the computer freezes, press CTRL + C to stop the process and save yourself from potential data loss.This is a reference to the article “ Mac stuck on Gray Screen with apple logo during boot after installing macOS Sierra“. When you have typed the command and haven’t pressed the enter key, you can press the backspace key and erase it. The last one on the list is not actually a command but an important shortcut, “CTRL + C” that can interrupt any running command. You can also configure file system type, change volume label, change allocation unit size, and create a compressed volume. This command will delete all the data on that particular partition, so ensure that there is no important information in it before executing this command. To format a specific volume, you need to provide the volume label. If you need to clean format a disk drive using command prompt codes, then you can use command “format”. “help color” – Personalize the Windows Command PromptĢ1. Final Words List of Useful CMD Commands & Tricks for Windows Users 1.“GetMac” – Find the Mac Address of your PC. “wmic product get name” – List all Installed Programs Become a power user of Command Prompt using Function Keys “title” – Change the Title of the Command Prompt Window “Cipher /E” – Encrypt Files Using Command Prompt
“systeminfo” – Get Information About Your PC
“wmic path softwarelicensingservice get OA3xOriginalProductKey” – Check Your Windows License Key “powercfg /batteryreport” – Check Your Laptop’s Battery Health “shutdown -f -t XYZ” – Shut Your Computer Down Later Always Run Command Prompt as Administrator
“netsh wlan show profile SSID key=clear” – Show Your Wifi Password “sfc /scannow” – Scan for System Problems Open the Command Prompt From Any Location “help color” – Personalize the Windows Command Prompt