I'm trying to make a ping sweep using bash: #!/bin/bash  for x in seq 74 254 do   ping -w 4 192.168.1.$x done  According to what I've read on the Internet this should be looping from 74 to 254 but outputs only results from 74 and 254. What am I doing wrong ?
How do I iterate over a range of numbers in Bash when the range is given by a variable?  I know I can do this (called "sequence expression" in the Bash ):   for i in {1..5}; do echo $i; done   Which gives:     1    2    3    4    5   Yet, how can I replace either of the range endpoints with a variable? This doesn't work:  END=5 for i in {1..$END}; do echo $i; done   Which prints:     {1..5}
What does linear time series refer to? Can "THAT" be omitted here? So we can say   "Do you think (that) he'll come?"   (in other words, we can omit THAT in conversation)  But what about with a sentence like   "Did he deny （that） he went to Thailand?"   Can "that" also be omitted like in the sentence above? requireJS optional dependency I was wondering if it is possible for you to make a command block spawn hostile mobs in random places in a specified area?   I need the mobs spawned on different Y coordinates too because you need to fight your way up a tower to the top and I want the mobs to vary on each level to have specialty to each floor every time you play the mini game. Will wolves attack and kill ocelots in Minecraft? I know they kill sheep. I just don't want my cats being eaten. Playing a remote movie on the remote computer Prove or the disprove the existence of a limit of integrals Let $A \subset \mathbb{R}^2$ be the annulus defined, in polar coordinates, as  $$ A = \{ (r, \theta) \in [0, \infty) \times [0, 2\pi) : 2 \leq r \leq 3 \} \, .$$ Let $F: A \to A$, $F:(r, \theta) \mapsto (r, r \theta \text{ (mod } 2\pi))$. Let $g : A \to \mathbb{R}$ be a continuous function. Discuss the existence of the limit $$ \lim_{n \to \infty} \int_A g \circ F^{(n)}(x) \, \text{d}x \, ,$$ where $F^{(n)} = F \circ F \circ \dots \circ F$ denotes the composition of $F$ with itself $n$ times.  I cannot find a way to attack this problem. Here's what I tried: if $g \circ F^{(n)}$ converged, I think we could take the limit under the integral sign. So I tried to show the convergence of $F^{(n)}$. If it converged, then the limit function must send every point to a fixed point of $F$. So I determined the fixed points of $F$. But I don't think $F^{(n)}$ converges. Functions satisfying $f\left( f(x)^2+f(y) \right)=xf(x)+y$ I've had my HTC Desire for a couple of months now and it is awesome! (A huge improvement to my previous phone... Nokia 3315)  Though recently, I've realised that the phone semi-freezes more and more often - ie. when swiping between homescreens it will either pause/freeze and I will have to re-swipe to get it to change screens. Or worse, it just won't respond to any further swipes and I have to lock the screen then unlock to get the phone back into action.  Got quite annoyed at this (was probably happening once or twice a day) so I thought it might help to turn it off and on again. So I did - not sure if it was a placebo effect but it seems to have helped a bit?  So given that this is my first smartphone, I was wondering if it is 'normal' to need to restart the phone every so often. If so, how often is 'normal'? If not, what can I do to diagnose/fix this problem? I've been trying to work out what generic means but I'm not making much progress.   You can find an example of the usage of the word generic for example : "School on Generic Singularities in Geometry" or :  "Rigidity of generic singularities of mean curvature flow"  Here is what I have so far:  I found  which mentions   "... "generic" singularities, i.e., singularities that appear for almost all maps ..."  Just after that he mentions "generic maps" but does not elaborate on what it means. He mentions it later (kind of) by saying  "...The precise definition of a generic map is very delicate; for the moment, we say only that any map may be approached by a generic map (up to an approximation on the derivatives of order r), and that any map that is sufficiently close to a generic map, in the preceding sense, is itself generic. ..."  and later  on he gives a definition of "generic singularity of a singular set":  "... A critical point $x$ of $S_r$ will be called transversally critical, or, furthermore, generic, if the tangent planes to $ \overline{f}(\mathbb R^n) $ and $F_r$ are in general position at the point $\overline{f} (x)$ of the Grassmannian, which is assumed to be ordinary on $F_r$ . ..."  Does this mean that generic and transversally critical are synonyms?  I feel I still don't understand what generic means even after reading this definition and part of the article.      Please could someone help me understand what generic means? Solve the following equation in positive integers $x$ and $y$ remote ssh tcpdump command, through a gateway, to be opened, in realtime, in Wireshark, on local machine I (Host A - Windows based using plink) am trying to connect to a remote linux server (Host C), through a gateway linux server (Host B), and run this tcpdump on Host C to be piped all the way back to Host A (through Host B I assume), and opened, in real time, with Wireshark on Host A:  Below is what I saw as the command when not using a gateway ("direct remote fetch").  So, how would I make this work going through my gateway host B scenario above?  Host A$ plink.exe -ssh -pw abc123 root@Host C "tcpdump -s0 -U -n -w - -i eth0 not port 22" | "C:\Program Files\Wireshark\Wireshark.exe" -k -i - Combination with repetitions. When installing user applications, where do "best practices" suggest they be located? Occasionally I install applications manually, rather than using apt or another package manager.   What location (/usr/, /usr/local/, /opt/, /home/, etc.) is suggested by "best practices" for the installation of user applications? How can I use Photoshop to imitate a photo taken with a low-quality camera? How can I create an image in Photoshop that imitates a photo taken with a low-quality phone camera? Examples of qualities I want to simulate:   blurring in some areas caused by a dirty lens low quality exposure handling in the darkroom noise   Some examples: Prove that the interval $(0, 1)$ and the Cartesian product $(0, 1) \times (0, 1)$ have the same cardinality Prove that the interval $(0, 1)$ and the Cartesian product $(0, 1) \times (0, 1)$ have the same cardinality  using the SB theorem? Also how does one find a bijection on $f:(0, \infty) \to (0,1)$ such that they have the same cardiniality? Why don't we add a question with the same tag on multiple Stack Exchange sites? Now that all SE sites have their own meta site, why doesn't Stack Apps have a meta?  Sure, Stack Apps is somewhat of a limited site (or rather, a site about a limited subject), so by some counts, it might not need a meta. However, I think there are some things that could be discussed about how Stack Apps should be run and there is no good place to do that now. Thus, I support the creation of a Stack Apps meta. How to retrieve a module's path? When looking at my objects in 3d view I'm seeing a gray cone that seems to be hiding other objects.   Can anyone help me turn this off and explain what it is please.  Screenshots attached.