79188022

Date: 2024-11-14 09:20:25
Score: 0.5
Natty:
Report link

The best way to avoid repetition is to use the special variable $_ (= the last argument of the previous command):

test -f /path/to/some/file && source $_

The post How can I recall the argument of the previous bash command? has lots of interesting details on those special "recalled" variables.

Reasons:
  • Blacklisted phrase (0.5): How can I
  • Low length (0.5):
  • Has code block (-0.5):
Posted by: Demi-Lune