I want to copy and paste a file to /usr folder but I guess I need root access to do so so I need to learn how to copy and paste a file from one location to another through the terminal.
I have read about copying files with terminal but these examples will help me a lot. So here is what I want to do:  Examples:   I have a file in /home/levan/kdenlive untitelds.mpg and I want to copy this file to /media/sda3/SkyDrive and do not want to delete any thing in SkyDrive directory. I have a file in /media/sda3/SkyDrive untitelds.mpg and I want to copy this file to /home/levan/kdenlive  and do not want to delete any thing in kdenlive directory  I want to copy a folder from home directory to sda3 and do not want to delete any thing on sda3 directory and opposite I want to cut a folder/file and copy to other place without deleting files in that directory I cut it into.
Is there an easy way to convert a number to a word in PHP? In PHP, is there an easy way to convert a number to a word? For instance, 27 to twenty-seven. register_nav_menus() won't register menus Please help with menu registeration:  I have followed this guide (http://codex.wordpress.org/Navigation_Menus) step by step.  Added the following code to functions.php:  function register_my_menus() {   register_nav_menus(     array('header-menu' =&gt; __( 'Header Menu' ) )   ); }  add_action( 'init', 'register_my_menus' );   But the guide says that this will make the menu appear in the Appearance -> Menus admin screen in the "Theme Locations" box as "Header Menu".  When I go to Appearance -> Menus everything is greyed out and there is no option of "Theme Locations" Proof by Induction for inequality, $\sum_{k=1}^nk^{-2}\lt2-(1/n)$ Let $n$ be a positive natural number, $n\ge 2$. Then $\displaystyle\sum_{k=1}^n \frac{1}{k^2} \lt 2 - \frac{1}{n}.$   The basis step was easy but could someone give me a hint in the right direction as to how to do the induction step?  I tried this:  $\displaystyle\sum_{k=1}^k \frac{1}{k^2} + \frac{1}{(k + 1)^2} \lt 2 - \frac{1}{k + 1}$  But it's getting me nowhere or I am doing something wrong. I am no expert so a clear explanation would be appreciated. Thanks. Prove that for each $n$, there exist $n$ consecutive integers, each of which is divisible by a perfect square larger than $1$. What's the difference between denizen, resident, inhabitant? What's the difference between , , and ?  Even if their ODO definitions suggest they are interchangeable most of the time, are there fine differences in meaning between them? I understand that dark matter does not collapse into dense objects like stars apparently because it is non-interacting or radiating and thus cannot lose energy as it collapses. However why then does it form galactic halos? Isn't that also an example of gravitational collapse? queries with db_select don't respect integers Difference between == and === in JavaScript I was using Windows XP, I like Ubuntu, but I'm wondering,because as  I'm a professional photographer &amp; photo editor.  I do my work with Photoshop, so will photoshop work in ubuntu? Find $f(x)$ for $f(f(x))=\sin x$ Find all (if that's possible) functions $f:\mathbb{R}\rightarrow\mathbb{R}$ such that $$f(f(x))=\sin x.$$  This is a problem a friend gave me. He said he saw it on a book a long time ago, but he couldn't remember what book. I literally have no idea how to solve this so I can't post my attempt here. I accidentally issued some commands I thought were safe in the terminal, and I ended up with no System Settings and lots of other missing functionality, but the OS still boots normally. I've decided I want to install Lubuntu instead of fixing Ubuntu for a fresh start and since my laptop is running on a 1GHz dual core AMD CPU.  I created a bootable USB as I usually do and placed Lubuntu 17.10 amd64 using Rufus 2.14.1086. I have GRUB that was installed with Ubuntu upon first install I still have Win8.1 which I still want to keep.  PS: I also tried creating a startup disk from Ubuntu  The question is: How can I boot from USB with GRUB2 so I can overwrite Ubuntu? When you call the object.__repr__() method in Python you get something like this back:    &lt;__main__.Test object at 0x2aba1c0cf890&gt;     Is there any way to get a hold of the memory address if you overload __repr__(), other then calling super(Class, obj).__repr__() and regexing it out? Error 1052 Field is Ambiguous using Inner Join Function Comparing mixed-effects and fixed-effects models (testing significance of random effects) Given three variables, y and x, which are positive continuous, and z, which is categorical, I have two candidate models given by:  fit.me &lt;- lmer( y ~ 1 + x + ( 1 + x | factor(z) ) )   and  fit.fe &lt;- lm( y ~ 1 + x )   I hope to compare these models to determine which model is more appropriate. It seems to me that in some sense fit.fe is nested within fit.me. Typically, when this general scenario holds, a chi-squared test can be performed. In R, we can perform this test with the following command,  anova(fit.fe,fit.me)   When both models contain random-effects (generated by lmer from the lme4 package), the anova() command works fine. Owing to boundary parameters, it is normally advisable to test the resulting Chi-Square statistic via simulation, nonetheless, we can still use the statistic in the simulation procedure.  When both models contain only fixed-effects, this approach---and, the associated anova() command---work fine.  However, when one model contains random effects and the reduced model contains only fixed-effects, as in the above scenario, the anova() command doesn't work.  More specifically, I get the following error:   &gt; anova(fit.fe, fit.me)  Error: $ operator not defined for this S4 class   Is there anything wrong with using the Chi-Square approach from above (with simulation)? Or is this simply a problem of anova() not knowing how to deal with linear models generated by different functions?  In other words, would it be appropriate to manually generate the Chi-Square statistic derived from the models? If so, what are the appropriate degrees of freedom for comparing these models? By my reckoning:  $$ F = \frac{\left((SSE_{reduced}-SSE_{full})/(p-k)\right)}{\left((SSE_{full})/(n-p-1)\right)} \sim F_{p-k,n-p-1} $$  We are estimating two parameters in the fixed effects model (slope and intercept) and two more parameters (variance parameters for the random slope and random intercept) in the mixed-effects model. Typically, the intercept parameter isn't counted in the degrees of freedom computation, so that implies that $k=1$ and $p=k+2=3$; having said that I'm not sure if the variance parameters for the random-effects parameters should be included in the degrees of freedom computation; the variance estimates for fixed-effect parameters are not considered, but I believe that to be because the parameter estimates for fixed effects are assumed to be unknown constants whilst they are considered to be unknowable random variables for mixed effects. I would appreciate some assistance on this issue.  Finally, does anybody have a more appropriate (R-based) solution to comparing these models? What is the mysterious stranger doing in my vault? Can SMT give worse performance than normal CPU? Real-time updates for new review tasks How compute $\lim_{p\rightarrow 0} \|f\|_p$ in a probability space? Can I put \fbox along the diagonal so that they touch each other? #1115 - Unknown character set: 'utf8mb4' When I Import Mysql from local server to web ser it is showng me error 1115 - Unknown character set: 'utf8mb4' in Creating wordpress wp_comment table CREATE TABLE IF NOT EXISTS  `wp_commentmeta` ( // // ) ENGINE = INNODB DEFAULT CHARSET = utf8mb4 AUTO_INCREMENT =1;  #1115 - Unknown character set: 'utf8mb4'  My mysql version is Version information: 4.0.4, latest stable version: 4.4.10 (local version)  Version information: 4.0.10.7, latest stable version: 4.4.10( server version)  Please help me to solve out the error