To search a file in a directory, I found two commands as below:   ls -ltr initialfilename*  find ./ -name initialfilename*   Sometime, first command gives me the search result but sometime I used to execute second command. What is the difference between these two set of Linux command? Please specify your answer around the major difference only.
What is the difference between find . and /home/user/* as an input to for command.? For example:  for var in $(find .) do echo "$var" done   or  for var in /home/user/* do echo "$var" done   In the first case for command breaks up the file with names containing spaces. While in the second case it does not. Why?
Repeating “will” for two verbs with “and” How to remove "onclick" with JQuery? xslt processing on select attribute on apply-templates Boolean b1 = true; Boolean b2 = true; String b3 = 'b1 &amp;&amp; b2'; Boolean b4 = Boolean.valueOf(b3); system.debug('test Bool '+ b4);   Given a string how can you convert into expression without breaking the sting. This question and answer is a response to a request from Joseph Wright.   Why shouldn't I use getnonfreefonts to install additional fonts? Why shouldn't I use updmap when installing or removing fonts?     Background  There are a number of questions on the site concerning problems caused by people installing additional fonts and using updmap to update the 'map' files on which TeX depends.  One common cause of these problems is the use of getnonfreefonts.  Other causes are the use of other font installation scripts or executing updmap directly. Find   $$\lim _{x\to \infty }x\Big(\ln\left(x+1\right)-\ln x\Big)$$  Here's how I do it:  $$x\Big(\ln(x+1)-\ln x\Big) = x\Bigg(\ln(x(1+\frac{1}{x}) - \ln x\Bigg)$$ $$x\Big(\ln x + \ln(1+\frac{1}{x}\Big)-\ln x =x\ln\Big(1+\frac{1}{x}\Big)$$ $$\ln\Bigg( \Big(1+\frac{1}{x}\Big)^x \Bigg) \rightarrow \ln 1^\infty = 0$$  What am I doing wrong? The answer is supposed to be $1$, but I get $0$. Documents with typical LaTeX errors I am giving a LaTeX course and have the idea to let the students find and solve problems within a few documents. Basically they shall learn how to create minimal examples and read error messages.  However, currently I have no document with 'typical' errors around.  If someone has such examples from him- or herself or within this forum I would like to have the code or link. It does not matter if its short or long. It should just be enough to let the students play with it for some minutes. The preimage of continuous function on a closed set is closed. I tried to find a topic here on this (possible problem) but I didn't.   I reported it at  but Tim Hoffmann pointed me that it is not a problem of editor. After tested with nano and pdflatex I'm posting here.  The minimal code produces errors. OK, we can solve it using \\{}.   But is this a problem with TeXlive 2014 or there are some good reasons to have that behavior.  \documentclass{report} \begin{document} test\\ [foo]  test\linebreak [foo]  test\newline [foo] \end{document}      ! Missing number, treated as zero.                        f l.3 test\ [foo] Postgres : Relation does not exist error What is the standard team composition for a conquest game? I'm very new to Smite, and I'm wondering if there is some kind of standard team composition in high level play, comparable to the top, jungle, mid, dual lane meta in LoL.  What are the roles, and where should they go to start the game? I have passed the calc sequence, and thought that I understood things.  But I have trouble with limits now and again.  From the way I understand it, the 'best' way to evaluate a limit, is to evaluate the expression at the number in the limit.  In that way it's not only a limit, but an algebraic expression (so, I think, the need for limits goes away entirely, superseded by accuracy.)  But then I see something like $\lim_{x\to 2} \frac{x^2-4}{x-2}$.  Now, I think in my mind 'the best way to evaluate this is just to plug in $2$'  But it doesn't work that way, as the limit is $4$, and if I plug in, the answer is $0/0$.  I think that people here, with their natural talent in math, can perceive where my train of thought is going wrong, and correct me.  Please! I have installed Ubuntu 12.04-64 bit on my Lenovo IdeaPad laptop, and the wired Ethernet (LAN) connection doesn't work.  Running the lspci -vv | grep Atheros command from the terminal shows me I have the AR8161 Gigabit Ethernet controller:  02:00.0 Ethernet controller: Atheros Communications Inc. AR8161 Gigabit Ethernet (rev 08)   This looks like a new product whose drivers are not built into Ubuntu.  How do I install drivers to get the AR8161 working? I have iterate over numbers in various order. I am able to display them in increasing order, even with steps like:  $ seq --separator="," 1 10 1,2,3,4,5,6,7,8,9,10 $ seq --separator="," 1 2 10 1,3,5,7,9   I am also able to display them in reverse order, neither continuous nor step wise.  $ seq --separator="," 10 1    $ seq --separator="," 10 2 1   No output for above commands.   My shell details:  $ bash --version GNU bash, version 3.2.25(1)-release (x86_64-redhat-linux-gnu) Copyright (C) 2005 Free Software Foundation, Inc.   Let me know how I would be able to display the numbers in descending order? Show that $11^{10} \equiv 1 (\mod 100)$ $11^{10} \equiv 1 \pmod{100}$  I tried to solve by using euler's theorem, But I got stuck.  $\gcd(11, 100) = 1$  $11^{φ(100)} \equiv 1 \pmod{100}$  $11^{40} \equiv 1 \pmod{100}$  I don't know how to go on as $11^{40}$ is bigger than $11^{10}$ Let $R$ be a sub-ring of a ring $S$. Let $f,g$ be non-zero polynomials in $R[x]$ and assume that the leading coefficient of $f$ is a unit in $R$. If $f$ divides $g$ in $S[x]$, show that $f$ divides $g$ in $R[x]$.   Thoughts: If $f$ divides $g$ in $S[x]$, then  $g(x) = f(x)q(x)$ for some $q(x)$ in $S[x]$. From here I'm not sure what the question is asking. Do I have to show that $q(x)$ is an element of $R[x]$ ? Insights appreciated. Is it possible to set DNS for mobile network Recovering data from a faulty disk When I plug in a removable 1TB USB disk in my laptop, the operations led keeps blinking for a while and then you can hear the servo mechanism resetting with a short "tack".  I'd like to recover the data.    I believe there might be some way to get the data through low level IOs.    What I believe is that the mounting process assumes the disk is OK and I should prevent this before using ddrescue or something similar.  Does anybody have a solution to this problem? mysql_fetch_array()/mysql_fetch_assoc()/mysql_fetch_row()/mysql_num_rows etc... expects parameter 1 to be resource "I'm lovin' it" How normal-sounding is the slogan "I'm lovin' it" to native ears?  I know it sounded quite odd to me when I first heard it — and it still sometimes does —, but I can't even tell why. Sure, love is supposedly a stative verb, but it's being used in progressive aspect all the time without sounding weird at all (lots of songs come to mind, e.g. ). It's only this particular slogan that somehow doesn't quite work for me. I would expect that to be totally on purpose — it's advertising, after all —, but Wikipedia  any objections from native speakers (as it does with "" and ""). So I'm asking the native speakers of this community: does "I'm lovin' it" sound completely natural to you? Just a bit off? Completely weird? Why?