4 ms·
cmd + shift + h = home directory cmd + shift + a = applications directory cmd + shift + d = desktop directory Semi-related, type `open .` in terminal to open
by house9-2 6y ago
cmd + shift + h = home directory
cmd + shift + a = applications directory
cmd + shift + d = desktop directory
Semi-related, type `open .` in terminal to open that directory in Finder
- ramses0 6y ago`xdg-open .` is the Linux equivalent.
- haddr 6y agoAnd when you are in terminal and want to change dir to some different path, just drag and drop it from finder (either a file or just a icon from the title bar)
- donarb 6y agoIf you cmd-drop a file icon into Terminal, it will automatically cd into the parent directory, it prefixes the path with cd and appends ; at the end and executes it. If the icon is a folder, it will automatically cd into that directory. If you shift-drop a file icon into Terminal, it will paste the file path to the command line without escaping spaces.
- throwawaw 6y agoIs there a reverse version of that last one? For navigation I prefer Finder over `cd; ls`, but once I end up where I want to be I generally need a terminal. edit: Another user replied with what I want as I typed this! Thank you haddr.
- roryokane 6y agoYou’re referring to the tip to drag the Finder folder onto the Terminal window. There’s another way that is easier if you don’t already have a Terminal window open: Install the app “cd to…” (https://github.com/jbtule/cdto https://github.com/jbtule/cdto) and add it to your Finder toolbar. Now clicking that icon will open a new Terminal (or iTerm) window within the selected folder.
- m463 6y agoI use cmd+shift+u all the time. It's great when you don't have a mouse, or don't want to use it: cmd+tab: pulls up app switcher, keep clicking until you select Finder cmd+shift+u: opens utility menu t: highlights Terminal.app cmd+o: opens a terminal type
- antipaul 6y agoCould also spotlight search for Terminal cmd-space, terminal, return