logoalt Hacker News

reddit_clonetoday at 4:18 PM0 repliesview on HN

If it is a one-off task, it doesn't matter if you use GUI or Terminal commands to do it. But more than once, terminal starts paying off IMO.

Here are some advantages.

  - It is repeatable, you can do the same exact thing you did before. With ZSH history + FZF, recalling a command is a breeze.

  - Auditability. The command in your shell history is there for you to revisit and servers as a permanent record of something you did (or didn't do).

  - A command line doesn't make a mistake at 10th time, due to fatigue, inattention etc.

  - Reusability. You may have to repeat the same command for different folders (or remote servers). A slight modification of the previous command will do it for you.