I am trying to create folder in the drive with the username:zedaan . I have try to chmod the drive still the same issue sudo chmod -Rf 777 /media/1666675566673521  Here are the drive lists:
I have messed up my sudoers file and I want to change the permission on it.   When I login in recovery mode, I cannot run the command chmod as it is read-only option.  I tried mount -o remount,rw / in recovery mode. Didn't work for me:  Err : Ext4-fs remount. Opts errors=remount-ro    How can I boot into recovery mode and with read-write option?
What is the syntax for IF/ELSE in bash? I am trying to pull logs and doing few others things directly. written a small line BASH but not working. I am sure thats with IF Condition.    sed -rne '/21:25:07/,/21:50:07/ p'  server.log.2015-04-21 &gt; /tmp/filename.log ; du -sh  /tmp/filename.log ;  if [`du -sh  /tmp/filename.log` -gt 0] then gzip /tmp/filename.log ; Is there any way to create a simple txt file without opening the terminal? Is there any way to create a text file without using the terminal at all? Add/Show comments focuses text box by default If I open a post using the mobile theme, which has many comments, there is a link at the footer "add/show n more comments". If this link is clicked, the comments are loaded and displayed.   At the moment the text area is automatically focused which is not a great experience (in my opinion), as you have to close the editor and scroll back to the top if you just wanted to read the comments, without adding a new one.  Would it be possible to either   not focus the text area by default and to load only the comments add a new link for adding a comment How to locate a font in Ubuntu? Ubuntu desktop with 12.04 is about to crash.  Installed 13.04 on a new machine, want to transfer Book Antiqua font from old machine to the new one.  How do I find it on the old machine?  My /usr directory is empty. My fonts.conf file has these lines: &lt;!-- Font directory list --&gt; &lt;dir&gt;/usr/share/fonts&lt;/dir&gt; &lt;dir&gt;/usr/x11R6/lib/X11/fonts&lt;/dir&gt;  &lt;dir&gt;/usr/local/share/fonts&lt;/dir&gt; &lt;dir&gt;~/.fonts&lt;/dir&gt;  Don't know what this means, but my /usr directory has nothing in it. I want to be able to lock my translation/scale operations to two axes at a time, say xy, xz or yz. It currently takes two operations (one for each axis).  Example, say for a cylinder, I would like to reduce the radius. I currently have to scale on the x axis first, then on the y axis, or I have to manually input the scale values in the object properties panel.  This option is easily accessible in 3dsmax via the axis constraints command bar. Or I can click the intersecting area between the 3d manipulator of the axes in question and move in that plane. novel with psi slavery Why didn't Spock die in The Search for Spock? SSH connection problem with "Host key verification failed..." error I can connect to another Ubuntu machine in my LAN via SSH. On both of then PC's I installed   but from another Ubuntu computer I can not connect to my PC via SSH and I got this error:     Host key verification failed... Merge pdfs sequentially I would like to merge 4 pdfs, pdf1.pdf, pdf2.pdf, pdf3.pdf pdf4.pdf together so that the pdfs are spliced, i.e. the first page will be the first page of pdf1, the second the first of pdf2, the third the first of pdf3, etc.  The pdf files are with plain images, no table of contents.  How would I accomplish this? It would be nice to do it from Terminal as well. What are the rules of parallelism? I've been reading a lot about it since yesterday and all I encounter is "They must have the same grammatical form"? What does this exactly mean?  I know how to make parallel sentences with gerunds. The things get trickier when it comes to using modifiers.  For example:     I love using the phone that you bought me and the computer.   On the left side of the conjunction there is a noun phrase that consists of an article + noun + another modifier and on the right side there is an article + noun.  They are both noun phrases but the first one has additional modifier. Is that still considered a parallel sentence?  Another example:     I like to swim and to feel good.   Here on the right side of the conjunction there is an infinitive and on the left side there is an infinitive + complement? Is that parallel? Circle-Rectangle collision detection (intersection) How can I tell whether a circle and a rectangle intersect in 2D Euclidean space? (i.e. classic 2D geometry) This question is here so we can offer users who are looking for information on how to make one or more common or basic redirects in Apache using the htaccess file. All future questions pertaining to finding information that is that is covered by the question should be closed as a duplication of this question. .  Whats the point in this question? The idea while not perfect is catch the most commonly asked questions regarding redirects using the  htaccess on the Apache platform either on  some type of lamp or a live server. The type of answers should be generally those that you could imagine are used by 100,000’s of sites world-wide and are constantly asked here at Pro Webmasters repeatedly over and over in various forms.  A few examples of the type of answers we are looking for:   How can I redirect non-www to www? How can I redirect a sub domain to the main domain? How can I redirect a sub folder from domain to a root or a subdomain?  How can I redirect an old URL to a new URL?   A few examples of the types of answers that we are not looking for:   Answers that do not involve a redirect. Any answers relating to NGinx, IIS or any other non-Apache platform. Answers that involve custom and complex string or query removals.   Resources for Advanced to Complex Mod_Rewrite Rules:      Please note: that this question is still in construction and may need some refining either by myself or a real moderator of Pro Webmasters, if you have any concerns or questions . Insert HTML markup into Gmail signature Is there any way to add HTML markup signature in Gmail settings? I mean, insert some HTML markup without using rich editor, just inserting HTML? How to fix dpkg error [2]? Every time I try to install or remove a package, I get this error. I thought maybe it was the hard disk, but a disk check gave me a clean bill of health. dpkg: unrecoverable fatal error, aborting: reading files list for package 'linux-headers-3.16.0-31': Input/output error E: Sub-process /usr/bin/dpkg returned an error code (2) A package failed to install.  Trying to recover:  I tried the solution of removing the listing for this file from the dpkg status file, but to no avail. I tried purging the package but no use. I'm stuck at this point as nothing I can find on Google helps. Update: This is now what the error says: dpkg: unrecoverable fatal error, aborting: E: Sub-process /usr/bin/dpkg returned an error code (2) A package failed to install.  Trying to recover:  After trying:  Update2: Seems the drive has bad sectors, but the reallocated sector count is 0. The drive is relatively old, however, so I expect some issues. I won't be able to replace it immediately, and until then I would still like to be able to keep the system up to date (especially for security reasons). I noted that there was an issue with coping some md5 checksums related to the package mentioned in the error, but I don't know what to do with those, such as if clearing them would allow dpkg to continue. Define the Lie algebra $\mathfrak{g}$ of a Lie group G to be the set of all left-invariant vector fields of $G$. I want to prove that   $$          f: \mathfrak{g} \rightarrow T_eG \\              X \mapsto X(e) $$ is a linear isomorphism.  The only thing that I have left to prove is surjectivity.Letting $v\in T_eG$, we set $X\in \mathcal{X}(G)$ such that $\forall x\in G,\,X(x)=L_{x_{*,e}}(v)$ (I still have to show that such an $X$ is indeed a vector field on $G$). We get that  $$ f(X)=X(e)=L_{e_{*,e}}(v)=v $$  where the last equality holds because  $$       L_{e_{*,e}}(v)f = v(f \circ L_e) = v(f \circ id_G) = v(f) $$ for any $f\in C^\infty(G)$. (I am thinking of the tangent vectors as derivations).  Now all we have left to do is prove that such an $X$ is left-invariant, and it is therefore an element of $\mathfrak{g}$, but I do not know how. I tried to prove that  $$            \forall f\in C^\infty(G),\, L_{{x}_*,y}(X(y))f=X(L_x(y))f $$ but with no success. How to deal with travel excitement? How does one usually deal with excitement about travel, prior to travel ? A lot of people feel them butterflies in their stomach before a big travel is coming up. Is there an effective way to put these feelings away ? Or how can one best deal with such excitement/feelings (which almost cause interference with day to day activities) ? I want to create this:  Note that wire lay chaotically, so spiral object not the same thing.  There is a cool way to do this task in 3ds max:  Basically he deform straight spline/curve and then bend it couple iterations (over 9000 degrees angle in max).   Blender can't bend that way with simple deform as I know, only up to 360 degree. Is there any other way to make wire wrapping similar to photo? dividing a string array in groups I was working with a new C++ developer a while back when he asked the question: "Why can't variable names start with numbers?"  I couldn't come up with an answer except that some numbers can have text in them (123456L, 123456U) and that wouldn't be possible if the compilers were thinking everything with some amount of alpha characters was a variable name.  Was that the right answer?  Are there any more reasons?  string 2BeOrNot2Be = "that is the question"; // Why won't this compile? I don't want my users to change the system wallpaper. How do I the lock the wallpaper down? Update  Users are changing wallpaper by right clicking the picture and choosing set as wallpaper. How to restrict this behaviour?  Is it possible to remove Backgrounds Tab from Appearance Preferences? If yes how?