Jump to content

Multiple Terminal Commands?

Recommended Posts

How do I create a workflow that will pass multiple commands to the terminal with a pause in between?


I am trying to simulate the following:


  1. Open terminal
  2. ssh nuc@
  3. Insert password
  4. Press return to submit password


I tried the following workflow:


keywords to open a terminal and enter

ssh nuc@ && sleep 2 && password && yes

Alfred ends up entering everything as a single line

Share this post

Link to post

&& password doesn’t work because it’s already a different command. Neither the problem nor the solution are Alfred-related; you need to get a more general solution. See this Stack Overflow question for your best options.

Edited by vitor

Share this post

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...