Achieve manager like view of compressed files in Terminal
How can I view the contents of tar.gz file without extracting from the command-line?
I want to schedule my script for last Saturday of every month. I have come up with the below:  45 23 22-28 * *  test $(date +\%u) -eq 6 &amp;&amp; echo "4th Saturday"  &amp;&amp; sh  /folder/script.sh    Is this correct or I need to change it? I can't test it right now as it will be invoked only on last saturday. Please advise.  I have the below for last sunday of every month but i can't understand much of it. The first part gives 24 which is sunday and after -eq gives 7 which i don't know what it means:  00 17  * * 0 [ $(cal -s | tail -2 | awk '{print $1}') -eq $(date | awk '{print $3}') ] &amp;&amp; /folder/script.sh   Can i modify the above to get last saturday?  With Romeo's help I was help to come up with the below answer:  00 17 * * 6 [ $(cal -s | tail -2 | awk '{print $7}') -eq $(date | awk '{print $3}') ] &amp;&amp; /folder/script.sh How do I know what symbols/characters are available in a font package? I usually use xelatex, but I'm exploring pdflatex now. When loading specific fonts in xelatex, I can always know what characters the font has available, since I can inspect the font file in any font viewing program, or I can find out the hard way by just entering the unicode and see if the character is displayed in the output. But how does this work with a font package?  Say, for instance, that I would like to use phonetic symbols in the  font. How do I know whether the font has phonetic symbols (I assume it does), and how do I know what command I need to type in order to make them appear? My only resource is , but this only tells me what characters/commands there are available in LaTeX2e by default (depending on the font encoding), and what symbols I can find in specific packages. Phonetic symbols, for instance, are said to be in the tipa package. Does that mean I am locked to tipa if I want to use phonetic symbols with pdflatex?  Here's a pointless MWE:  \documentclass{article} \usepackage{gentium} \begin{document} Please give me some phonetic symbols here? \end{document} How can I do a line break (line continuation)? HowTo redirect HTTP to HTTPS on the same httpd? Here is what I have got:   CentOS 5.4 (32-bit)    installed Apache httpd (Server version: Apache/2.2.11 (Unix)) mod_rewrite already presents   Question: how to redirect simple  to  not using VirtualHost defines?  PS: tried to find in later answers on SF, but doesn't find nice solution.  Thanks. How can number of subdirectories and files be determined from the output of using ls -ld command?  I realize that this command only lists the directories. This is what happens:  sudo apt-get install vlc Reading package lists... Done Building dependency tree        Reading state information... Done E: Unable to locate package vlc   Please help. I would also like to know when this error occurs, I've seen it before too. Reinstalling Windows 10 - how many digital licenses I have linked to my account I need to reinstall Win 10 (after virus). After reading online, it looks like I would be able to do it easily since my system is activated with digital license.   However, I have a question. I have at least 3 PCs in my house with the same Microsoft account on them. Presumably, all of them have digital license linked to this same Microsoft account. I wonder if there is a centralized place to check all my digital licensed connected to my Microsoft account? Validity and Equivalence of two definitions of the real exponential function The Problem :  We state the following two definitions of the real exponential function from the . We're interested in showing that the two definitions are valid $($i.e. the defining sequence/series does converge to a unique real number$)$ and that the two definitions are equivalent.   I'm stuck at a couple of points $($which are described in highlighted lines$)$. Any help would be much appreciated. Thank you!     Definition $1$. The exponential function can be defined as the following limit of a sequence $$\exp x := \lim_{n \to \infty} \left({1 + \frac x n}\right)^n$$      Definition $2$. The exponential function can be defined as a  $$\exp x := \sum_{n = 0}^\infty \frac {x^n} {n!}$$   My Progress and two places where I'm stuck : Essentially the solution consists of three parts,  namely validity of definition $1$, validity of definition $2$ and equivalence of the two definitions.     Validity of Definition $1$. I'm stuck here! Can we show that the sequence $(a_n)$ given by $a_n = \left(1+\frac{x}{n}\right)^n$ converges for every $x \in \mathbb{R} ??$ Is it eventually monotone and bounded $??$   Validity of Definition $2$. The  of the power series is $$r=\lim_{n \to \infty}\left| \frac{\frac{1}{n!}}{\frac{1}{(n+1)!}} \right|=\lim_{n \to \infty}\left| \frac{(n+1)!}{n!} \right|=\lim_{n \to \infty}(n+1)=+\infty$$ Thus the infinite series in the right-hand side of Definition $2$ converges to a unique real number for all $x \in \mathbb{R}$. Hence the definition is well-defined.  Equivalence of Definition $1$ and Definition $2$.  There's this  of Definition $1$ $\implies$ Definition $2$ in the Pr$\infty$fWiki page, but it's kind of under construction and I'm not really convinced by it. So I decided to try to take my own shot at it.  For all $n \in \mathbb{N} \cup \{0\},$ let  $$T_n=\left(1+\frac{x}{n} \right)^n, ~S_n=\sum_{k=0}^n \frac{x^k}{k!}$$ We have to show that $\lim_{n \to \infty} T_n = \lim_{n \to \infty} S_n$  Now, \begin{align} T_n &amp;= \left(1+\frac{x}{n}\right)^n\\ &amp;= 1+n\cdot\frac{x}{n}+\frac{n(n-1)}{2!}\cdot\frac{x^2}{n^2}+\cdots +\frac{n(n-1)\cdots 1}{n!}\cdot\frac{x^n}{n^n}\\ &amp;= 1+x+\left(1-\frac{1}{n}\right)\cdot \frac{x^2}{2!}+\cdots +\left(1-\frac{1}{n}\right)\cdots \left(1-\frac{n-1}{n}\right)\cdot \frac{x^n}{n!} \end{align}  Clearly, $$S_n-T_n=\left\{1-\left(1-\frac{1}{n}\right)\right\}\frac{x^2}{2!}+\cdots +\left\{1-\left(1-\frac{1}{n}\right)\cdots \left(1-\frac{n-1}{n}\right)\right\}\cdot \frac{x^n}{n!}\geq 0$$     I'm stuck at this point. Can we show that $S_n-T_n \leq B_n$ such that $B_n \to 0$ as $n \to \infty ??$ Is it possible to schedule my laptop to mute and unmute at a specific time? I always used to wake up to my favorite radio station on my alarm clock. However, I have moved and can no longer get that radio station over the air. To solve this problem, I would like to stream the station on my laptop, but have it muted overnight, then set it to unmute at a specific time in the morning, so that it will act as an alarm clock. Is there a way to schedule my laptop (Windows 7 64-bit) to unmute at a specific time? Real world use cases of bitwise operators Solving recurrence relation. Recurrence Caps-lock remapping stops working I have caps-lock key remapped to control, which usually works fine, but after some uptime and one/more suspend/awake cycles* this mapping breaks, and caps-lock reverts back to the default behavior -- i.e. turning on the led and capitalizing whatever I type. (Even though the Tweaks UI still shows it as being mapped to Ctrl -- see picture below.)  Questions:  Is this a known issue (with maybe a known fix)? (Could not find anything relevant with a quick search.) Is there a way to debug the problem, preferably from the command line?  *Remark: I'm not sure it is the suspend/awake cycle that causes the problem, but I can't connect it to anything else... Remark2: removing and readding the mapping (or rebooting) solves the problem, but it would be nice to find a more permanent solution. Mathematica won't give eigenvectors but Wolfram Alpha will? What am I doing wrong? Actually I have installed the new Ubuntu 15.04 64bit, and when I'm trying to install Steam on it, there is a problem. In fact I have downloaded the deb package from steam website, installed it and when I start it nothing happens. I tried to start it from terminal and what I've got  $ steam Running Steam on ubuntu 15.04 64-bit STEAM_RUNTIME is enabled automatically Installing breakpad exception handler for appid(steam)/version(0_client) libGL error: unable to load driver: r600_dri.so libGL error: driver pointer missing libGL error: failed to load driver: r600 libGL error: unable to load driver: swrast_dri.so libGL error: failed to load driver: swrast Better HTTPS support for Stack Exchange sites I noticed that the these two commands to list files below 5 GiB produce different results:  find . -type f -size -5368709120c find . -type f -size -5G   Specifically the one that uses kilobyte unit (5368709120c) returns additional files that are larger than the maximum file size returned by the one that uses the GiB unit (5G).  From the find manual page I read the following:  -size n[cwbkMG]           File uses n units of space.  The following suffixes can be used:           `b'    for 512-byte blocks (this is the default if no suffix is used)           `c'    for bytes           `w'    for two-byte words           `k'    for Kilobytes (units of 1024 bytes)           `M'    for Megabytes (units of 1048576 bytes)           `G'    for Gigabytes (units of 1073741824 bytes)  The size does not count indirect blocks, but it does count blocks  in sparse files that are not actually allocated.  Bear in mind that the `%k' and `%b' format specifiers of -printf handle sparse files differently.   The  `b'  suffix always denotes 512-byte blocks and never 1 Kilobyte blocks,  which is different to the behaviour of -ls.   So, given that the unit of G is 1073741824, 5G should be 5368709120c. Is the issue due to how sparse or indirect blocks are counted?  Thanks in advance for the help. Sum of (example: 0+1+2+3 = 6 , 0+1+2+3+4+5+6+7 = 28 and so on) Too many blanks between summation symbol and its associated expression I know this is a total noob question but then again, when it comes to PostgreSQL I am a total noob...    I have installed the OpenGeo suite on my computer, running Windows 7, 64-bit.  I have downloaded the tutorial data and have been working through it.  I would like to access the database that I have made with ArcGIS so I can start learning about how that works.  However, when I try to connect to the database using the "Add Database Connection..." I can't seem to figure out what to put in for 'Instance' - everything I've tried (localhost, localhost,54321, my IP address with and without the port, my computer name) doesn't seem to work.  I installed and created the nyc test database according to all the instructions in the OpenGeo tutorial pages but am at a total loss here.  I know this must be an easy thing to deal with, I just can't get my head around it.  Can someone with more experience throw me a bone on this one?    Frustratingly enough, QGIS connects to the database with almost no effort and everything works fine - but my organization is heavily ESRI focused and switching to QGIS is a long shot...  EDIT Thanks everyone for pitching in on this.  I really appreciate the advice, it's what makes this site great.  I have installed    OpenGeo Suite 3.0.1 with no extensions ArcGIS Desktop 10.1, no license for server   I just went to the Opengeo website and downloaded the Windows installer and installed the default configuration. I have tried every permutation for the instance name that I can think of - using colons and commas, my machine name, localhost, postgresql, server, my IP address, random curse words, anything I can think of.  I have been using port 54321 instead of 5432 because that is what the OpenGeo workshop told me to set up my 'nyc' practice database to use.    It seems that localhost should work, here is a shot of the server properties from pgAdmin: Python rounding error with float numbers