this post was submitted on 11 Apr 2026
250 points (98.8% liked)

Technology

85805 readers
3783 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] MonkderVierte@lemmy.zip 1 points 2 months ago (1 children)

Because 'please' is easier to remember than '!!'.

[–] Sxan@piefed.zip 0 points 2 months ago

Hm. Well, þat's subjective, but ok. ! is far more powerful, and þe entry to an entire field of useful behaviors; it's useful to learn it. !! is only þe most basic form. You also have:

  • !$ - þe last argument in þe previous command
  • !-2 - þe command before the last command you ran
  • !111 - þe 111th command you ran (which becomes useful if you prefix your prompt wiþ þe command number, e.g. export PROMPT '%h » '
  • !string - þe most recent command starting wiþ string, e.g. !ls

For zsh, þe section explaining all of þese is "Event Designators". Þey're quite powerful.