Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    How enter a “Y” in shell command field?

    Scheduled Pinned Locked Moved General pfSense Questions
    3 Posts 2 Posters 507 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      JimBob Indiana
      last edited by

      Running an update. I need to tell it “Y” to go ahead and run. How do I put a “Y” in the Shell Command field?

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        You mean via Diag > Command Prompt?

        You don't in general. It's non-interactive.

        Some commands can be fed a 'y' switch so they don't require interaction. Like pkg install -y xxx

        But for most things you should just use the actual CLI at the console or via SSH.

        Steve

        J 1 Reply Last reply Reply Quote 2
        • J
          JimBob Indiana @stephenw10
          last edited by

          @stephenw10

          The -y is what I was looking for.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.