Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6740329
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T11:35:35+00:00 2026-05-26T11:35:35+00:00

Every day I do the following commands: [0] Start terminal Open window -> memcached

  • 0

Every day I do the following commands:

[0] Start terminal

  1. Open window -> memcached
  2. Open window -> redis-server
  3. Open window -> memcached
  4. Open window -> devo
  5. Open window -> cd /some/path
  6. /some/path$ -> rails s --port=3002
  7. Open window -> cd /other/path
  8. /other/path$ -> rails s --port=3000

Can these steps be accomplished in a single script? I’m losing my mind doing these steps every time I restart my system

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T11:35:36+00:00Added an answer on May 26, 2026 at 11:35 am

    Create an applescript. You will just need to run the applescript and it’ll do all that for you :

    tell application "Terminal"
        activate
        do script "memcached" in window 1
        do script "redis-server" -- Each do script opens a new window
        do script "memcached"
        do script "devo"
        do script "cd "
        do script "rails s --port=3002" in window 1 -- does script in last opened window
        do script "cd "
        do script "rails s --port=3000" in window 1 -- does script in last opened window
    end tell
    

    Save it as an Application so you can double click it to run it. You could also assign it to start on system start or even to a shortcut with a necessary third party program.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I see questions every day asking how to parse or extract something from some
The following User History table contains one record for every day a given user
In our project we are following agile practices ( Sprint ). So every day
Every now and then (once every day or so) we're seeing the following types
I know many people who use computers every day, who do not know how
We have a batch job that runs every day and copies a file to
I want to get the data every day within one year backward but I
We have a feed process which runs every day of the year. As part
I have to transform a few hundred images every day in a specific way.
Multi-touch seems to be gathering more and more references worldwide every day. Soon the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.