3 votes

Using terminal, how to copy paste a folder, like you would from finder?

I don't want to know every path of everything so I refuse to do anything like... Most of us don't remember long and complex paths either, so this is very relatable. For example, there is an ...
  • 89.3k
3 votes

How to edit text normally in Terminal

You might want to take a look at Warp, which is a Terminal alternative app. One of its main selling points is: Writing code in your terminal shouldn’t feel like 1978. Edit your commands like in a ...
  • 9,033
2 votes

How to edit text normally in Terminal

Or is there some other alternative app that is more graceful to use for command line operations? The alternative would be to use a fully-fledged text editor, like BBEdit, in which you can execute a ...
  • 29.1k
2 votes

How to edit text normally in Terminal

The nano editor can do this (included with macOS). To get nano to behave more like a GUI editor, you first enable “mouse support.” Command Line Enable mouse support by adding the -m flag. nano -m ...
  • 89.3k
2 votes

How to edit text normally in Terminal

Most of the Bourne-compatible shells allow you to use ^X^E and open the current command line in your $EDITOR. ksh, bash, and zsh (shipped with macOS) all do. dash does not. I recommend that $EDITOR ...
  • 4,721
2 votes

What does these extended attributes mean and where are they documented?

To understand the output of xattr you'll first need to know that files on macOS consist of both their main payload (what you probably think of as the file) as well as ordinary metadata (which you're ...
  • 72.5k
1 vote

macOS Terminal - Always resets to default

Under the General tab in the Terminal settings, Make sure your desired profile is set in the "On startup, open: New window with profile:" ...and the "New windows open with:" is set ...
  • 2,329
1 vote

Is there a Terminal command to get the current front most app's title?

To get the active application: ➜ osascript -e 'tell application "System Events" to tell (first process whose frontmost is true) to return name' To get the active window's title: ➜ osascript ...

Only top scored, non community-wiki answers of a minimum length are eligible