It's normal when using terminals that pressing up and down cycles through previous commands entered chronologically.  I learned from a site how to add to that behaviour by autocompleting what I'm typing at the cursor based on previously entered commands when pressing up and down.  For example, let's say I typed the following commands in this order:   ls Videos ls Vids lsomething ls Videos/Funny/Old vi file ls Music   If I haven't typed anything, pressing up and down will cycle through all of the lines just like normal. But, if I've typed ls, pressing up and down cycles through all commands where the first 2 characters are ls (lines 1,2,3,4,6 above). Entering ls (with a space after) though, will only let up and down cycle through lines 1,2,4,6. Similarly, ls Vid lets the arrows cycle through lines 1,2,4 but ls Videos just allows cycling between lines 1 and 4.  It's pretty useful to complete values specific to commands that you need to enter over and over again without having to cycle through every single unrelated command you've entered between them. For example, I'm trying to test the effects of env values, like locale, on things:  env [many different values] [command] [insert many different commands here] env [slightly different values from before] [command] [doing other stuff]   I'd only have to press up a few times after typing env to cycle between the values I've tried.  I apologize if it's a bit of a long way to describe it. I don't know what it's called. My terminals used to have this behaviour, but they seem to have lost it and I can't find the site I learned it from. I think it has something to do with editing ~/.bashrc.
I have searched, but not found anything on this. I am looking for a functionality in bash, using a terminal.  Way back when, I had a user on a debian system, and a friend set me up with a convenient history search feature (I believe I used tcsh then), where I would type the beginning of a previous command, hit up-arrow, and it would do a search, based on the partial string.  E.g. if my history is:  ./script.pl ./script.pl arg1 cat output cat output | grep yada   And I type ., and press up-arrow, it would show me: ./script.pl arg1. Press it again and it would show ./script.pl, etc.  Very much like it would perform a grep on .bash_history. Is there a way to get this functionality?
Let ($x_s$) be a convergent sequence, where $x_s&gt;0$ for all s, and $y_s$ be a sequence such that   $$\displaystyle \Large y_s=\frac{s}{\frac{1}{x_1}+...+\frac{1}{x_s}}$$  Prove $\displaystyle \lim x_s$=$\lim y_s$  So I know things like $x_s$ is bounded, and that it's Cauchy, but I can't think of anything to solve it.  Any help is appreciated. How do I debug when the system freezes or when it crashes back to login? I am fairly new to Ubuntu and I was wonder what a good way is to debug when something crashes?   For example: I installed 11.04 and the default media player banshee makes my laptop crash after a few minutes of playing music. Since the system completely freezes and there is not error message it's hard to find out what is wrong.  Second problem I have is that sometimes the system crashes to login. I am suspecting it to be a Chromium or Flash but I am not 100% sure.  So anybody got some tips on how to debug stuff like this? How can I restore configuration files? I would like to restore LightDM to its default state, because for some reason /etc/lightdm/unity-greeter.conf is now an empty file.  Deleting /etc/lightdm/unity-greeter.conf and then running sudo apt-get install --reinstall unity-greeter doesn't create a new config file as you might expect.   How can I restore a missing config file? Short circuit evaluation and side effects What is the advantage of using wp_mail? What is the advantage of using wp_mail() over mail(). Codex says they're similar, but they seem to be very similar. The whole multi-continent aspect of A Song of Ice and Fire seems to be getting out of hand. Do the other continents suffer those long winters?  Can the Others harm the other continents?  In The Lord of the Rings there were other realms than Middle-earth, but Middle-earth was still all of humanity and dwarf population and hobbits.  Sure there are stories like Romeo and Juliet where the only thing that matters is whether those 2 are going have a chance to love.  But in these fantasy / sci-fi stories there's usually danger of world domination by evil.  It's not usually just one continent is going to be a terrible (or impossible) place to live but other civilizations will flourish. Redefining "cited on" string (and others) in biblatex I'm trying to modify the strings biblatex uses to set the "cited on" string used in the bibliography to identify the pages where a given references has been cited.    What I gather from the biblatex documentation (e.g., § 4.9.2.16) is that something like   \renewbibmacro{backrefpage}{&lt;newtext&gt;} \renewbibmacro{backrefpages}{&lt;newtext&gt;}   ought to work, but they have no effect for me (I'd also like to get this working for the "visited on" string, urlseen).  My MWE is unchanged from , with the addition of these (and related lines) just about anywhere. Fastest way to convert string to integer in PHP Custom macro for multicolumn with & without xparse The following example has two normal LaTeX \newcommand macros and two xparse \NewDocumentCommand for specifying multicolumn text. The only difference between each pair of commands is one has the alignment character as part of the macro and one does not.  However, the xparse version that requires the alignment character to be outside of the macro does NOT work and results in Misplaced \omit. error.  \documentclass{article} \usepackage{xparse}  \newcommand{\MulticolumnA}[3]{&amp;\multicolumn{#1}{#2}{#3}} \newcommand{\MulticolumnB}[3]{ \multicolumn{#1}{#2}{#3}}  \NewDocumentCommand{\MulticolumnX}{m m m}{&amp;\multicolumn{#1}{#2}{#3}} \NewDocumentCommand{\MulticolumnY}{m m m}{ \multicolumn{#1}{#2}{#3}}  \begin{document} \[ \begin{tabular}{lllllll}     {a} \MulticolumnA{4}{l}{A-abcdefghijkli}\\     {a}&amp;\MulticolumnB{4}{l}{B-abcdefghijkli}\\     {a} \MulticolumnX{4}{l}{X-abcdefghijkli}\\     %{a}&amp;\MulticolumnY{4}{l}{Y-abcdefghijkli}\\     {col1}&amp;col2&amp;{col3}&amp;{col4}&amp;{col5}\\ \end{tabular} \] \end{document}   Above compiles as is, but does not compile if the one line is uncommented. This can probably be fixed quite easily. I tried to research and find the answer to this but couldn't find anything relevant.     Basically, I can access my website perfectly through its url. (ex. example.com)  Whenever I click a link, go to my /wp-admin, or go to any other page, my domain changes into the IP address. (ex. instead of showing example.com/about it would show 192.111.223.4/about)  How do I fix this? Do I have to edit a file or can this be fixed by adding a domain record?  Thanks. Python: Invalid Token I just want Telegram to be run and I have added it to startup apps. The point is that I need it to be minimized. Any commands? Why does the introduced part-title in letter appear twice? Can I gift a game via the PlayStation Network? Is it possible to "gift" a game (e.g., Castle Crashers) to someone through the PlayStation Network?  I don't have a PS3 but was considering buying Castle Crashers as a gift for a friend so that we could play co-op.  Is this possible? I was really happy when I heard that HoTD would be continued. And even happier when the first new chapter actually came. but now after several months of waiting there still has been no other chapter. So my question is, has HoTD gone on hiatus again ? Fatou's lemma and measurable sets I don't know how can I imply Fatou's lemma for any measurable sets $A_k$, that is, $$\lambda(\liminf A_k)\le\liminf\lambda(A_k).$$ How can I prove it? And is there any example in $\mathbb R$ of sequence of measurable sets $A_k$ such that $A_k\subset[0,1]$, $\lim\lambda(A_k)=1$, but $\liminf A_k=\varnothing$ ? Thanks for your help! Under Wild Shape it says "assume the shape of a beast" you have seen before. Does this mean they can only transform into creatures that have the beast type, such as bear, wolf, crocodile, etc.? Or can they turn into things with other types, like dragon, monstrosity, humanoid, fiend, etc.? Unable to forward search Bash history similarly as with CTRL-r Could Dark Matter form black hole? Some people speculate that the mysterious dark matter in the universe could be tiny black holes. But on the other side, could dark matter particles attract each other by gravity and finally form a black hole? Since dark matter is even more abundant than normal matter, the dark matter black hole should not be rare. Why does "stigmata" [often] have penult stress? I have been studying the pronunciation of Greek-derived words in English, and I've found an odd anomaly. There are (at least) two possible pronunciation patterns for plural word-forms that end in -&#8288;mata (which correspond to singular word-forms that end in -&#8288;ma).   Antepenult stress (expected)  It appears that it is always possible to place the stress on the antepenult (third-to-last) syllable, such as:    /ˈlɛmə/, /ˈlɛmətə/  /ˈskiːmə/, /ˈskiːmətə/  /ˌtɛrəˈtoʊmə/, /ˌtɛrəˈtoʊmətə/~/ˌtɛrəˈtɒmətə/  /ˈstɪɡmə/, /ˈstɪɡmətə/   This is what would be expected from  (I believe most or all of these words came through Latin before entering English), since the penultimate "a" in the original Greek words is short.  Maybe Latin vowel quality and stress rules are not very relevant; certainly, few English speakers know about them nowadays. And even with antepenult stress, some of these pronunciations do not seem to follow all of the traditional rules for pronouncing Latin-derived terms in English. I was reminded by some comments in this  that  in antepenult stressed syllables, we would expect tense ("long") vowels to be shortened due to  (TSL), yielding pronunciations like /ˌtɛrəˈtɒmətə/ (which I just noticed is in fact listed in the Oxford English dictionary) and ?/ˈskɛmətə/ (which is not). (Compare to genus~genera /dʒiːnəs/~/dʒɛnərə/, and perhaps opus~opera /oʊpəs/~/ɒpərə/). However, there are other Latinate plural forms that typically don't have trisyllabic laxing (matrices, also I think helices), or where both the lax- and tense-voweled pronunciations coexist (codices, apices), so I guess the apparent lack of it in schemata should not be surprising. (There are even some exceptions to TSL in singular nouns like obesity.)  Penult stress (unexpected)  The other pronunciation seems to exist only for a couple of words, in which the penultimate "a" is commonly stressed and broadened: stigma ~ stigmáta  (listed by both the Merriam-Webster dictionary and the ), and also sometimes schéma ~ schemáta /skiːˈmɑːtə/ (listed only by the ). (Neither the Merriam-Webster dictionary nor the Oxford Learner's Dictionaries list *"lemmáta").  I'm wondering why this pronunciation exists. It's an irregular plural either way, and putting the stress on the penultimate syllable creates a stress change between the singular and the plural forms.  (It's true that all of these words are rare, and some people might pronounce some of their plurals differently. The pronunciations I give here are simply the ones listed in dictionaries.)  The plural form "stigmata" is probably most common in religious or theological contexts (where it refers to the wounds of Christ), so at first I wondered if the penultimate stress was supposed to be closer to the original Greek pronunciation, but according to , the stress is on the antepenult in Greek as well.  So, what's up with this? Did the stress perhaps change in Latin over time, is this a tradition of Greek accentuation that I'm not familiar with, is this a simple matter of ignorance of the original position of the stress that has now become entrenched with time and usage, or is this somehow explainable by established English stress patterns? (For example, do English speakers have some natural preference for a penultimate stress on polysyllabic words?)  If nobody knows of a reason, I suppose I can just put it down to people encountering the word mainly in text, not knowing which syllable to stress, and choosing the penult because it sounds better to them.  (I asked this question a while back on , but nobody knew of any reason.)