• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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 482 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 Jan 28, 2023, 1:46 AM

    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
    • S
      stephenw10 Netgate Administrator
      last edited by Jan 28, 2023, 2:09 AM

      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 Jan 30, 2023, 3:31 PM Reply Quote 2
      • J
        JimBob Indiana @stephenw10
        last edited by Jan 30, 2023, 3:31 PM

        @stephenw10

        The -y is what I was looking for.

        1 Reply Last reply Reply Quote 0
        3 out of 3
        • First post
          3/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received