I want to delete my parent directory but keep all of its content. Currently my directory structure   $ /usermanagement/usermanagement/file1   After deleting my parent directory I want to see like  bellow structure  $ /usermanagement/file1
My directory (in Linux) looks like com/com/{various,files} where com and com are folders of the same name and the second com holds the various files. I want the first com removed, but the second and files in the second kept.
I was reading a website where common English sentence errors are written -     INCORRECT - He doesn't know to swim.      CORRECT - He doesn't know how to swim.   I know He doesn't know how to swim is a correct sentence. But why is the other one wrong, is my question?  I know that know is a transitive verb. So, the following are correct -   i) He knows swimming.  Swimming is a gerund. We can also use the infinitive form here - to swim  ii) He knows to swim. How to define orbital angular momentum in other than three dimensions? In classical mechanics with 3 space dimensions the orbital angular momentum is defined as  $$\mathbf{L} = \mathbf{r} \times \mathbf{p}.$$  In relativistic mechanics we have the 4-vectors $x^{\mu}$ and $p^{\mu}$, but the cross product in only defined for 3 dimensions. So how to define orbital angular momentum e.g. in special relativity in terms of 4-vectors? Or more generally in $d$ dimensions? Why is removing instationarities a good thing when trying to forecast a time series? order $a$ = 5, $a^3b = ba^3$. show that that $ab = ba$. Prove that ${x dy - y d x\over x^2 + y^2}$ is not exact How to add the word "Figure" to the list of figures? How does a half-life work? Carbon-14 has a half-life of 5,730 years.  That means that after 5,730 years, half of that sample decays.  After another 5,730 years, a quarter of the original sample decays (and the cycle goes on and on, and one could use virtually any radioactive isotope).  Why is this so?  Logically, shouldn't it take 2,865 years for the quarter to decay, rather than 5,730? "Have you ever seen anyone walk (walking) the streets like that?" Have you ever seen anyone walk the streets like that? Have you ever seen anyone walking the streets like that?  Are both the above sentences grammatically correct? Do they mean the same?  I saw him kiss her the other day. I saw him kissing her the other day.  Are both the above sentences grammatically correct? Do they mean the same? And I'm sorry, if the latter two sentences come off immature .-. I couldn't come up with better sentences. If in a topological space only finite subsets are compact sets, is it then the discrete topological space?   Thank you. How to adapt the color of a label using pgfplots I created this style that shifts the labels and put them on the bottom of the ybars.  However, I have a problem with the bars that have too short length (for example, see the 8.7 and 5.1 in the example below). I want to check if the values are less than some threshold, or the length of the bar is shorter than the label (number) then change its color.  How can I overlay another label on top of the one in white when the bar is shorter? or maybe change the color of the label to a gradient color? or just overlay the part that is outside of the bar?    \documentclass{standalone}  \usepackage{tikz} \usepackage{pgfplots} \usepackage{pgfplotstable} \usetikzlibrary{calc}  \begin{document} \makeatletter \begin{tikzpicture} \begin{axis}[ ybar, every node near coord/.style={   check for zero/.code={ % If meta=0, make the node a coordinate (which doesn't have text)     \pgfmathfloatifflags{\pgfplotspointmeta}{0}{         \pgfkeys{/tikz/coordinate}     }{}   },   check for zero, color=white, text opacity=1, font=\footnotesize, inner ysep=0.5pt, },% % Bottom nodes  calculate full offset/.code={     \pgfkeys{/pgf/fpu=true,/pgf/fpu/output format=fixed}     \pgfmathsetmacro\testmacro{((\pgfplotspointmeta-\pgfkeysvalueof{/pgfplots/ymin})*10^\pgfplots@data@scale@trafo@EXPONENT@y)*\pgfplots@y@veclength}     \pgfkeys{/pgf/fpu=false} },% nodes near coords bottom/.style={     every node near coord/.append style={         /pgfplots/calculate full offset,         yshift=-\testmacro,         rotate=90, anchor=west,%I need the rotate text here and not in the          %general style, as the ybar redefines the style     } },% ymin=0, nodes near coords={\pgfmathprintnumber[fixed zerofill,precision=1]{\pgfplotspointmeta}}, nodes near coords bottom, ] \pgfplotstableread{ % set real imag mag 1 8.7 2 5.1 3 91.8367  }\mydata \addplot table[x index=0,y index=1,header=false] {\mydata}; \end{axis} \end{tikzpicture} \makeatother \end{document}   * EDIT *  I need to create some special gradient on each label that is below the bar height. For example, I need to adapt something like  to each label that is not showing. However, I cannot find a way to put the macro in the style section of the codes. Or is there any equivalent solution? Using `M` instead of `k` when rep is >= 1M on https://chat.stackexchange.com/users I read on  ()    Shouldn't it be 1.03m or (if we really follow the conventions of the metric system) 1.03M instead? How to smooth camera animation to have fluid feel? When dealing with camera motion, its very sensitive to any movement discontinuities. Is there a way to easily achieve natural looking motion when dealing with complicated motion paths and timings?  Follow path animation feels too robotic unless I adjust all the keyframe easings carefully and this has to be re-done everytime the animation changes (the automatic bezier type just doesn't work). What happens to Bucky's arm at the end of Infinity War? Bucky (Winter Soldier) has a metal arm (possibly made from vibranium?) but it's an attachment to his body as far as I understand. Why, when Thanos destroys half of the universe at the end of Infinity War, does his metallic arm also disappear with him? Shouldn't it be left behind as his gun did? Conveying "under the radar" in a less colloquial way I am searching for a word to contrast with iconic  I want to characterize views of the city as both iconic and under the radar, maybe "non-iconic."  I was thinking about saying that a view of the city was undiscovered, but I think that maybe that overstates what I'm think-- I more mean under-appreciated. Are there any other words that come to mind? After reinstalling TeXLive distribution (install-tl-20160318, Ubuntu 14.04), a issue occurs with the updated version of the titlesec package: the section numbering is lost.  What could it be missing? Is there a modification I have not seen?  Below is a MWE comparison of the two versions. The prevtitlesec package is a reinstall of the previous version (2011/12/15).  \documentclass{book} \usepackage[margin=2cm,a4paper]{geometry} %\usepackage{prevtitlesec}% 2011/12/15 version \usepackage{titlesec}% 2016/03/15 version \usepackage{lipsum}  \begin{document}  \chapter{Title of the first chapter} \lipsum[1] \section{A test section} \lipsum[4] \subsection{A test subsection} \lipsum[4] \subsection{A test subsection} \lipsum[4]  \end{document}   titlesec package 2011/12/15:    titlesec package 2016/03/15: Show that if $|f(z)| \leq M |z|^n$ then $f$ is a polynomial max degree n I can't prove this statement, can anybody show me how to prove it?    $$f:\mathbb{C}\rightarrow \mathbb{C} \in \mathcal{O}(\mathbb{C}), \exists n\in \mathbb{N}, R &gt;0 , M&gt;0 : |f(z)| \le M|z|^{n} \ \ \forall |z|&gt;R \Rightarrow \deg(f)\le n $$  To show is that if there exists such an $M$, that then $f$ is a polynomial of max degree $n$. I started like this:   $$f(z) = \sum_{n=0}^{\infty} a_n (z-z_0)^n$$ So if I put this into the inequality: $$|f(z)| = \left| \sum_{n=0}^{\infty} a_n (z-z_0)^n \right| \le M |z|^n .$$ What is the setting in bash for globbing, to control whether * matches dot files I was surprised recently when I did something like mv ./* ../somedirectory and found that files like .gitignore were not moved.  I do most of my work in zsh on OS X, and this surprise bit me in bash on CentOS.  I tried bash on OS X and found the same behavior: * does not match dot files.  This seems very undesirable to me, but apparently it's the bash default.  (It may be the zsh default too for all I remember, but I may have changed it years ago in my .zshrc and forgotten it ever worked differently.)  How can I configure bash to behave as I expected: for * to match all files, and not ignore dot files.  In case this is at all unclear, here's how to reproduce it    cd /tmp mkdir {t,d}est touch test/{.,}{1,2,3,4,5,6,7} ls -hal test mv test/* dest ls -hal test     # notice dot files are still there ls -hal dest     # notice only some files were mv'ed On the first puzzle of the quest Under Saarthal (the one with the six pillars), I enter the correct combination, but the door still doesn't open, and arrows are still shot at me. I've reloaded the game a couple hundred times, I've left the room, and it still doesn't work. What do I do? Is Firefox 57 multithreaded? According to  on MDN, Firefox 57 finally runs things in different processes.  So is Firefox 57 multithreaded?  In particular, how many cores does it use at most? Say I open 20 tabs at once on a quad-core machine, will Firefox 57 launch as many threads, or at least as many as needed to max out my CPU?  (Chromium for instance spawns a number of sub-processes and very easily uses all the resources available. Firefox up to 56 in GNU/Linux is rarely seen going over 135 % of one core however many tabs I open.) How can I remove the first line of a text file using bash/sed script?