• 🏠 Home
  • 🧰 Online Generators
  • 📰 Blog
  • 🔎 Search
  • 📧 Contact
  • 📘 Guestbook
  • 🗞️ News
  • 💰 Support
  • ℹ️ Info: The website has been modernized to improve readability and smartphone compatibility. Feel free to report any bugs using the contact form

    Some Bash tips


    Search inside historic:

      Ctrl-R: Lets do a history search.
      Example:
      Ctrl-R, then enter mkd
      This will display the last mkdir commands launched.

    Remind the last argument of previous command:

      For that, you have to use: !$.
        Example:
        ls Scripts
        cd !$

        Will let you enter in the scripts directory.

    Remind the last command:

      Enter: !!

    Specify to ask for confirmation before launching the Bash command:

      shopt -s histverify
      Then,
      !ls
      Display the contents of the last ls command. You just have to validate it to launch it.

     

    Go back



    (c) 2005-2025 Jérôme DESMOULINS
    Data privacy