The shortcut is easy to remember because the period is the character Unix uses to hide files and directories. Wouldn’t it be helpful if you could just see these invisible files in a Finder window? You can! However, sometimes you don’t want to mess with Terminal, or it would just be easier if you could open one of these files in a text editor by dragging it to the app’s Dock icon. Most recently, and the event that was the impetus for this article, I needed to check to see if I had a public key in ~/.ssh.īecause macOS is based on Unix, you can open Terminal and list all the files in a directory, including the invisible ones, with ls -asl (only -a is necessary, but I always use -asl to get hidden files, file sizes, and a detailed listing). Maelstrom-data that must have been related to the game Maelstrom, a fun blast from the past. I currently have 61 files and directories that start with a period at the top level of my home directory, one dating as far back as 2008. Some Unix-level files and directories start with a period so they are hidden by default, and many apps create such items to hide support files from the user. This need goes beyond revealing the ~/Library folder, which we wrote about first in “ Dealing with Lion’s Hidden Library” (20 July 2011) and covered again in “ Colonel Mustard in the Library with the Shift Key” (7 April 2017). Now and then, advanced Mac users need to work with files or folders that are normally invisible because their names start with a period. #1662: New Macs, 12 top OS features for 2023, vertical tabs in Web browsers, watchOS 9.5.1.#1663: Exploring the Apple Vision Pro, 12 more OS features coming in 2023, new Apple service features, Apollo shuts down.#1664: Real system requirements for OS 2023, beware Siri creating alarms instead of timers.#1665: Important OS security updates, abusive Web notifications, solve myopia with an iPhone, Self Service Repair.#1666: Air quality websites and apps, The Password Game.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |