Tag

Terminal

T

Using Terminal to Find Your Mac’s Network Name

U

Your Mac’s network name forms part of its network address. If you want to share your Mac’s files and folders with other computers on your network you’ll need to know its network address so that those other computers can connect to it. This information is readily available in System Preferences, but this article looks at how to get your Mac’s network name using the command line.

(more…)

Add a Recent or Favorites Folder to Your Dock Using the macOS Terminal

A

Type the query add recents dock terminal into any Internet search engine and most – if not all – relevant entries on the first results page will give the following code or a slight variation of it:

defaults write com.apple.dock persistent-others -array-add '{"tile-data" = {"list-type" = 1;}; "tile-type" = "recents-tile";}'; killall Dock

 

 

Most of these articles are from 2015 or earlier and the Mac OS has changed a lot since, but the code still appears to do exactly as advertised.

(more…)

File and Folder Paths in macOS Terminal

F

On the few occasions I use Terminal in OS X the biggest problem I seem to have is being able to navigate the directory hierarchy and access files or folders. After struggling with getting the correct file/folder path I’m usually greeted with No such file or directory reminding me that Terminal doesn’t like spaces in file/folder paths.

With that in mind here are a few ways to enter file/folder paths in Terminal.

(more…)

Recent Comments

Recent Posts