Then, simply enter your admin password when prompted, and macOS will create your symbolic link.ĭepending on your version of macOS, you might discover that System Integrity Protection (SIP) prevents you from creating symbolic links in certain areas of your system, even with the ‘sudo’ command. Sudo ln -s /location-you’re-linking-to where-you-want-to-place-your-link Sudo ln -s /System/Library/PrivateFrameworks/amework/Versions/Current/Resources/airport /Users/jessicathornsby/Desktop/airport Linking to protected itemsĪs long as you have admin rights, you can create symbolic links to locations in the system that you wouldn’t normally have access to, by adding the word ‘sudo’ to your Terminal command: You can use symbolic links to ensure that Airport is only ever a few clicks away, for example here I’m creating a symbolic link to Airport and placing it within easy reach on my Desktop: ![]() You can create a symbolic link to any item on the system, which comes in particularly useful for advanced utilities that are hidden deep within macOS’ file system.įor example, macOS includes a powerful command line utility known as Airport that can be invaluable for configuring and troubleshooting your Wi-Fi connection, but it’s buried in a seriously obscure location – on my Mac it’s located at /System/Library/PrivateFrameworks/amework/Versions/Current/Resources/airport /Users/jessicathornsby/Desktop/airport, which isn’t exactly easy to remember! Creating links to hidden system utilities This adds the item’s complete path to the Terminal, so you just need to specify where you want to create this link and what the link should be called, and you’re ready to run your command.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |