Search the Community
Showing results for tags 'terminal command'.
Hello! I would love Alfred to run this terminal command: Killall Dock I have to do it 10 times a day and right now I have to open terminal, write it, run it and quit terminal. I would love for it to be done with one click. Any idea? Thank you!
Hey Gang Here's my sample workflow: click here. I am wanting to run a very short sql select and return the result to post to some output like a notification or large type. Is this possible with Alfred's terminal command?
My goal is to automate the process of updating a user's hosts file. (/etc/hosts/) I have a bash script that works fine if I run it from my home directory. User opens Alfred and types in the keyword "hostsup" (No arguments required) Alfred opens a Terminal window and runs a script that has been added to the Workflow folder The script displays some informative text for the user Then the scripts ask the user if they would like to continue On 'y', the terminal prompts the user for their password (Because the command uses sudo) The script outputs a completion message and instructs the user to close the Terminal window If I use "Keyword to Script", I can embed the script as part of the Workflow and run it, but it does not run interactively, so the user receives no prompts or messages. If I use "Keyword to Terminal Command", I can run a simple bash "one-liner", but I can't figure out how to call the script that I've included in the Workflow folder. Any help would be greatly appreciated.