I just can't drag and drop a partition to the left to increase its size. I have 2 partitions:  1 unallocated 118Go  2 ext4 120 Go    And I want to extend the ext2 to all space but can't extend it by drag and drop:  What can I do? EDIT: Sorry, I couldn't do it because it was mounted! I thought it's was not mounted because the USB was disappearing from my Gnome File Manager when Gparted was started and the USB drive selected. I unmounted it, and then could do it!
Previously, I have installed Windows 7 on my 320 GB laptop with three partitions 173, 84 and 63 GB each. The 63 GB partition was where the Windows was installed. The rest were for file containers.  Now I changed my OS to Ubuntu 12.04 LTS. I installed Ubuntu by replacing the entire Windows 7 on the 63 GB partition. The rest of the partitions remain as an NTFS Windows partition and I can still access them both (the 173 and 84 GB partitions).  Now I want to change the two partitions of Windows into an Ubuntu format partitions plus most importantly, I want to extend the 63 GB partition to more than a 100 GB because at the moment I am running out of disk space. Whenever I try to install any application, especially using wine, it always complains for a shortage of disk space.  How do I do the extending activity before I entirely format my laptop again and lose all the important files on my partitions?
Bash shell script output alignment My script:  date echo -e "${YELLOW}Network check${NC}\n\n"  while read hostname do  ping -c 1 "$hostname" &gt; /dev/null 2&gt;&amp;1 &amp;&amp;  echo -e "Network $hostname : ${GREEN}Online${NC}" || echo -e "${GRAY}Network $hostname${NC} : ${RED}Offline${NC}"  done &lt; list.txt         sleep 30 clear done   Is outputting info like this:    Network 10.x.xx.xxx : Online    Network 10.x.xx.xxx : Offline    Network 10.x.xx.xxx : Offline    Network 10.x.xx.xxx : Offline    Network 10.x.xx.x : Online    Network 139.xxx.x.x : Online    Network 208.xx.xxx.xxx : Online    Network 193.xxx.xxx.x : Online   which I'd like to clean up to get something like this:    Network 10.x.xx.xxx       : Online   Network 10.x.xx.xxx       : Offline    Network 10.x.xx.xxx       : Offline     Network 10.x.xx.x         : Online     Network 139.xxx.x.x       : Online   Network 208.xx.xxx.xxx    : Online     Network 193.xxx.xxx.x     : Online   Network 193.xxx.xxx.xxx   : Offline Is there a C++ decompiler? How do I run specific sudo commands without a password? On one particular machine I often need to run sudo commands every now and then. I am fine with entering password on sudo in most of the cases.  However there are three sudo commands I want to run without entering password:   sudo reboot sudo shutdown -r now sudo shutdown -P now   How can I exclude these commands from password protection to sudo? It would seem that LIGO measures wibbles in the metric (not manifold) of spacetime:    It would seem that the expansion of the universe is an expansion of the metric of spacetime:    Imagine for a moment that LIGO is not an interferometer. (So, it just plain times speed changes, rather than using phase shift of orthogonal directions.)  If the ends of one of the arms was indeed receding away from each other, at a speed consistent with the expansion of the universe, is the sensitivity of real-world LIGO of the needed sensitivity of a machine which could measure that shift?  On other words: ideally I'd like to know these two meters:  (A) The left arm of LIGO is about 4km. It was stretched/shrunk (a few times) for roughly .01 seconds by the gravitational wave.  How many meters was it stretched/shrunk in .01 seconds?  (B) Assuming the same abstract LIGO arm was affectable and affected by the expansion of the Universe. How many meters is it stretch/shrunk every .01 seconds?    Note - of course, an interferometer is an ingenious device to measure extremely small changes in speed - assuming the changes are orthogonal. Of course, an interferometer, per se, can't at all measure the expansion of the universe since that is uniform in both directions. The sense of my question is, can something that measures distance changes > as accurately as &lt; the LIGO does, measure the expansion of the universe?  How big or small is the ongoing expansion of the universe compared to the wibble from the black hole system in question? Is there an analytic function $f$ on $B(0,1)$ the open ball with radius 1 such that $f(1/n)=e^{-n}$ for $n=2,3,4,...$? Is there an analytic function $f$ on $B(0,1)\subset\mathbb{C}$ such that $f(1/n)=e^{-n}$ for $n=2,3,4,...$? I know the following doesn't work:  Let $g(z)=\exp(-1/z)$. Then, $f=g$ on a sequence with a limit point in $B(0,1)$ and so $f=g$ on $B(0,1)$. Since $g$ is not $\mathbb{C}$-differentiable at $0$, neither is $f$ and so such a function cannot exist.  This is not the solution because you cannot use the identity principle with a non analytic function like $\exp(-1/z)$ is not analytic at $z=0$. Any help using the identity principle another way? Passing an enum value as command parameter from XAML I want to pass an enum value as command parameter in WPF, using something like this:  &lt;Button      x:Name="uxSearchButton"      Command="{Binding Path=SearchMembersCommand}"      CommandParameter="SearchPageType.First"     Content="Search"&gt; &lt;/Button&gt;   SearchPageType is an enum and this is to know from which button search command is invoked.  Is this possible in WPF, or how can you pass an enum value as command parameter? Different results with Plot option "Evaluated" in V9 and V10 How to convert image of map into vector format? How can I separate multiple quote blocks? I have a series of quotes which I want to display in two separate quote blocks.  &gt; Are questions about Microsoft Word Online on-topic here? I don't &gt; really see any posted here, but perhaps I am not searching correctly. &gt; - mweiss &gt;  &gt; Yes, they are. We even have a specific tag: [tag:word-online]. -ale &gt;  &gt; Thanks! I'm sorry I missed that tag. -mweiss   When I try to add these to my post, they display as a single combined quote.     Are questions about Microsoft Word Online on-topic here? I don't   really see any posted here, but perhaps I am not searching correctly.   - mweiss      Yes, they are. We even have a specific tag: . -ale      Thanks! I'm sorry I missed that tag. -mweiss   How can I separate quotes so that they aren't combined into a single quote block? how to prevent cell color to cover table's borders? When I change the background color of a cell in a table, the color covers the borders, however I want the horizontal lines to remain.  I have a simple command \cellcolor[gray]{0.9} in my table. Can anybody help me with this problem? "Didn't use to get" or "Didn't used to get"? I just made a minor , and  the grammar correction was unnecessary.  The original text was     Another factor--sometimes life happens and you can't fly. In the old days you could simply sell your ticket to someone else, now you either have to eat a hefty change fee or lose it outright. That's money in their pockets that they didn't used to get.   It was corrected to:     Another factor--sometimes life happens and you can't fly. In the old days you could simply sell your ticket to someone else, now you either have to eat a hefty change fee or lose it outright. That's money in their pockets that they didn't use to get.    Was this grammatical correction an improvement? Was the original text grammatically correct? Is the edited text grammatically correct? Why is . not in the path by default? On UNIX-like systems over the years (most relevantly to me, Linux), I've noticed that . (current dir) is never in the $PATH by default.  Why is this?  I recall reading years ago that it was a security problem, but the article I read didn't explain what exactly the problem was.  Is it because someone could leave a malicious version of ls or cp in a directory, and I'd end up running it without realizing it was there? I would like to create a XeLaTeX layout where  multicol's columns (two in this case, no figures, text only) are tilted where they meet. The lines still should be ordinary lines below each other, but the start/end points of each line should glide a bit each line for it to look something like this:  xxxxxxxxxx  xxxx xxxxxxxxxx  xxxx xxxxxxxxx  xxxxx xxxxxxxxx  xxxxx SECTION   xxxxxx xxxxxxxx  xxxxxx xxxxxxx  xxxxxxx xxxxxxx  xxxxxxx xxxxxx  xxxxxxxx xxxxxx  xxxxxxxx xxxxx  xxxxxxxxx xxxxx  xxxxxxxxx xxxx  SUBSECTION xxxx  xxxxxxxxxx   So not the whole column is tilted, but one gets narrower while the other one gets wider.  I've seen examples using \parshape, but those I found are based that one counts lines and more or less manually defines the shape. I also would need that LaTeX keeps the multicol functionality (page breaks, text flow, ...) and does this automatically on each page for a longer chapter.  How do I create such a layout? If multicol is not easy to mix with this layout, what would be an alternative? Confused at + and ++ in TikZ I can't seem to figure out the difference between + and ++ relative coordinates in TikZ.   I understand ++. ++ specifies delta coordinates that are added to the last current point, the current point is then set to the new absolute current point (correct?):  \draw (0,0) -- ++(1,0) -- ++(0,1) means:  set Current Point to (0,0) add (1,0) to Current Point = (1,0) set Current Point to (1,0) add Current Point (1,0) to (0,1) = (1,1) set Current Point to (1,1)   I can't seem to figure out that + does, when I try it out it looks like the coordinates in the +(x,y) are absolute coordinates rather than delta coordinates, but the manual says otherwise How to download all required Ubuntu drivers Is there a package of Ubuntu drivers as driver pack solution? I tried to search for it, but I did not find it. If there is, how can I easily get it? Removing the first line of CSV file How to redirect output to a file and stdout In bash, calling foo would display any output from that command on the stdout.  Calling foo &gt; output would redirect any output from that command to the file specified (in this case 'output').  Is there a way to redirect output to a file and have it display on stdout? Equation's symbols or parameters description are shown below, however, the = and the details of parameter are not aligned.     I want to make a parameters list for a equation like this, in which symbols, = and detail information are aligned in terms of vertical position.  where    ...    P   =   notional permeability factor    N   =   number of waves    Sd  =   damage level    ...   A tabular environment will produce more spacing before and after text. So how to make the = vertical aligned?   The codes is provided:  \begin{equation} \frac{H_s}{\Delta D_{n50} } = 1.0~ P^{0.13}~ \left(\frac{S_d}{N} \right)^{0.2} \xi_m^P~ \sqrt{\cot \alpha} \end{equation} where:   $H_s$ = significant wave height, equal to the average of the highest 1/3 of the waves  $\Delta$  = relative buoyant density, equal to $\rho_r / \rho_w - 1$, where     $\rho_w$ is the water density  $D_{n50}$ = nominal  diameter defined in Equation (2)  $P$ = notional permeability factor  $S_d$ = damage level   $N$ = number of waves  $\xi_m$ = breaker parameter based on mean wave period $T_m$  $\alpha$ = slope angle This question was asked in an entrance test for an undergraduate mathematics program today, held all over India.   Question: $f$ is a differentiable function in $[0,1]$ such that $f(f(x))=x$ and $f(0)=1$.  Find the value of $\int_{0}^{1} (x-f(x))^{2016} dx$.  I tried to solve it by substituting $f(f(x))$ in place of $x$, but could not proceed much further. Any hints or solutions will be appreciated. I've just begun to work learn Linear Algebra on my own through Hoffman and Kunze's book and the first problem set already has a question that I can't solve:  Prove that if two homogeneous systems of linear equations in two unknowns have the same solutions, then they are equivalent.  I can't seem to figure out how to prove this without resorting to case work where you account for the cases where one of the coefficients are zero and when both are.  Is there an elegant way to prove in general that when two systems of linear equations have the same solutions, they are equivalent? The converse is obvious enough though.  Definition of equivalence from the text :     Let us say that two systems of linear equations are equivalent if each equation in each system is a linear combination of the equations   in the other system.