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

  • SEARCH
  • Home
  • 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 3962708
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T03:07:42+00:00 2026-05-20T03:07:42+00:00

I like how you can autocomplete previous commands in MATLAB by typing a few

  • 0

I like how you can autocomplete previous commands in MATLAB by typing a few words and pressing the key. The same works in python IDLE. Is there an equivalent of that in unix shells? If it helps, I’m using csh.

  • 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-20T03:07:43+00:00Added an answer on May 20, 2026 at 3:07 am

    You can set an alias like so:

    alias prev 'history | grep \!^'
    

    when you type prev foo, it searches your history for all occurrences of foo and spits out a list like so:

    23 17:43 foo bar
    47 19:29 foo fighters
    

    where the first column is the command number, the second is the time it was executed and the last is the command. You can re-execute the previous command by typing !<command number>

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

Sidebar

Related Questions

Im after a plugin to do autocomplete like facebook does in that you can
When entering something like svn checkout file:///var/svn/repos/my-projects I can use to autocomplete up to
How can I implement Autocomplete without a dropdownlist? I'd like for the autocomplete to
Can we use unobtrusive javascript to implement features like autocomplete in jquery? or should
I'm using autocomplete so user can easly enter data on inputs, like this: <?
Hello I have something like div.find(input).autocomplete({ ..... and am wondering if I can add
I have a few jquery thinngs added to my site like gallery, callendar, autocomplete
I have names in the database like tést The Autocomplete works fine and all
I often hear things like Can we load our employee info using LDAP? Yet,
JavaScript libaries such as RequireJS and the like can be used to declare one

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.