Check if multiple files exist in directory
Test if there are files matching a pattern in order to execute a script
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. I have a dual monitor set-up. When I'm on YouTube, and I click the fullscreen icon, the fullscreen automatically goes to the second monitor. How do I get it to go fullscreen on my main monitor? Let $G$ be a finite abelian group s.t. it contains a subgroup $H_{0} \neq (e)$ which lies in every subgroup $H \neq (e) $. Prove that $G$ must be cyclic.   Also what can be said about $o(G)$ ?    I'm clueless about this problem from Herstein. I tried to think $G$ might be a solvable group and its subgroups are all normal (as $G$ is abelian) . But I'm unable to get further. How to know if other threads have finished? Is there a word that means "a span of six months"? That is, I want to connote a stretch of time that lasts half a year, not an event that happens every six months. How to check if jQuery.ajax() request header Status is "304 Not Modified"? Does DTIME(O(n)) = REGULAR? I'm sure this is a newbie question, but I can't figure this out. I have tried to follow the advice here:  and here:   But I can not seem to be able to generate any font change. I either get no change or error messages.  Here is the output of one failed attempt to change the font to Times using this command:  \rmfamily \renewcommand{\rmdefault}{ptm}     Apparently I either don't have a correct package installed or...  The output says " Metric (TFM) file not found." but I am not sure where to go from there. How do I wrap text with no whitespace inside a ? calculating expected number of packets. Is it common to use "where" after "a time" as a relative? I heard the following comment of Mr. Marco Rubio about Mr. Donald Trump on CBS’s “Face the Nation” in a clip in February 29th AP Radio News:  “There is never gonna be a time where the Republican Party rallies around and says you have to get out or anyone has to get out for purposes of rallying around Donald Trump. Donald Trump is not Republican Conservative. Donald Trump is trying to pull off the biggest scam in American political history.”  I thought I misheard “There is never gonna be a time where –“ for “There is never gonna be a time when –“ at first, because I was in understanding that time should be trailed by “when” as a relative noun or adverb. An English Japanese dictionary at hand (Readers English Japanese Dictionary published by Kenkyusha) provides “where” singly as a relative to refer the ‘place.’ However, my lookup of the following two sources endorsed that I heard it right:  Here is what is never going to happen in this race. There's never going to be a time where the Republican Party rallies around and says you have to get out or anyone has to get out for purposes of rallying around Donald..  “Here is what is never going to happen,” Rubio continued. “There's never going to be a time where the Republican Party rallies around and says you have to get out or anyone has to ...   Is it common, at least not uncommon to use “where” after “time” as a relative? GZip of drive image created by using `dd` command I created yesterday a drive image using GZip.  I opened the 51.3 GiB file named ssd.img.gz to see one icon thats a package of 3.9 GiB, yes, thats THree point Nine Gigabytes in size and has the name of the image as ssd.img  That does not seem right to me, has the image creation worked or not?  Yes the drives have data and an operating system on it.  Should I have used cat instead? only I did and it kept on saying that it had nothing to do.  Would using the | zip instead be a better option?    ** EDIT **  The command used was:  mark@zotac:~$ sudo -l Enter password:&lt;entered password to get in to root&gt; root@zotac:~# dd if=/dev/sda | gzip -c &gt; "/media/mark/Seagate External Drive/ssd.img.gz   the terminal spent the best part of 10 Hours at building the image, something in itself that I also found suspect, why so log when copying the files to a folder that I wanted, some 40GiB took 45 minutes...  The source drive /dev/sda had no mounted partitions.     ** EDIT **  Just to clarify, I am trying to make an image of the drive to back up later if things go wrong with a repair, the drive itself needs to be a file on a drive as the target drive partition is using almost all of the drive, the partitions can't be resized on it without formatting it and I am not about to lose 1.4TB of data.   So the dd if=/dev/sda of=/&lt;target&gt; isn't what I need, what I do need is an image of the drive that I can restore the image from to the drive should the repair go wrong.  So what command do I use, dd or cat? Why does | zip keep telling me it has nothing to do when used with cat but no error or warning with dd This is a very basic query I can't figure out....  Let's say I have a two column table like this:  userid  |  roleid --------|--------    1    |    1    1    |    2    1    |    3    2    |    1   I want to get all distinct userids that have roleids 1, 2 AND 3.  Using the above example, the only result I want returned is userid 1.  How do I do this? Obtaining zero-length string from strtok() How to calculate last four digits of $2^{2017}$? can u suggest me any short trick of solving these kind of problems. How to find last four digits of any number raised to some power ? On which Stack Exchange site can I ask customer service questions about product X or company Y? On which Stack Exchange site can I ask questions like        When will [some new feature] for [some product] be released?   Where can I download an update for [some product]?   I'm getting errors when accessing the customer portal for [some company] – how can I fix this?   Why was I banned for doing [some action] on [some platform]?   Why is [some company] discontinuing [some product]?   Why is [some company] giving away [some product] for free?   What's the price for [some product]?      or any other product support/customer service questions?  It's not a product related to programming (or I've read  on Meta Stack Overflow) so I know Stack Overflow isn't the right place. Which other site in the network will take these kind of questions? If $\Sigma \vdash \varphi$ then $\Sigma \vdash \forall x \varphi$. Why when $(\varphi \implies \forall x \varphi)$ is not true? In the book of first order logic I'm reading they say that if $(\varphi_1,...,\varphi_n)$ is a proof from a set of formulae $\Sigma$, then so is $(\varphi_1,...,\varphi_n,\forall x \varphi_j)$ for all $1\leq j \leq n$. They assume that as an axiom but it doesn't make sense to me. Why if $\varphi$ is true then so is $\forall x \varphi$? For example if $\varphi$ is $x=1$ that wouldn't mean that $\forall x : x=1$ , or would it?  Maybe what I don't understand is: why $(\Sigma \vdash \varphi \implies \Sigma \vdash \forall x \varphi)$ is true but $(\varphi \implies \forall x \varphi)$ is not true?  The book is this: A   B   C   D   E   F             I don't even know. It just seemed weird.  Yes, I understand I could just avoid doing something like that. But the problem already exists with a single level.   Consider having 2 images in a post. Both exceed the maximum width of a post. One is nested in a list. Key to this issue is that my original images were much larger. They were automatically resized.  Image    List      I think it looks weird. This seems to be quite a trivial problem, but after some searching I can't stil figure out the answer. One can run tcpdump using "any" as the interface description, ie:   # tcpdump -i any -n host 192.168.0.1   Is there any way to force tcpdump to show on which interface displayed packet was captured?  Update:  As more people confirmed this is probably not possible with vanilla tcpdump, can someone propose a solution to mentioned problem? Perhaps different sniffer?   General issue is as follows: On a system with 50 interfaces determine what is inbound interface for packets coming from specific ip address. Do you have recommendations for books to self-teach Applied Statistics at the graduate level? I took several statistics courses in college but I found that my education was very theory driven.  I was wondering if any of you had a text in Applied Statistics (at the graduate level) that you recommend or have had good experience with.