I have the exact same question as this one . Only difference is I have 3 columns only and I am trying to move the 1st column to the end.  The original file looks like this:  col1,col2,col3 2,2015-01-04,23 196,2015-01-20,36   I didn't make the mistake that other questioner did (i.e. not put comma after F or after OFS=). So, my code is  awk -F, '{print $2,$3,$1}' OFS=, old.csv &gt; new.csv   But I am getting the 3rd column (which used to be the first) in a new line:  col1,col2,col3 2015-01-04,23 ,2 2015-01-20,36 ,196   Why is awk sending the 3rd column data to a new line? I am using awk on Linux Bash Shell (Ubuntu) on Windows, downloaded from .
I've created a bash script but when I try to execute it, I get   #!/bin/bash no such file or directory   I need to run the command: bash script.sh for it to work.  How can I fix this?
What sort of waves are produced by tuning forks? Is it transverse, longitudinal or both? We often know tuning forks are used to to produce wave in various experiments that we do in lab. But the matter of concern is what sort of waves are produced by it? Is it transverse, longitudinal or both? I have a very simple question that can be stated without proof. Are all eigenvectors, of any matrix, always orthogonal? I am trying to understand Principal components and it is cruucial for me to see the basis of eigenvectors. Add "Answer Later" Tab I think it would be useful to add an "Answer Later" tab that would be similar to the "Favorites" tab so you could mark questions to answer at a later time. There are so many times I see a question which I would like to answer but don't have time, then I have a hard time finding it again later. Right now I mark it as favorite, go back and answer it, then unmark it as favorite (unless I really like the question).  Do you think other people might find this useful? Do you do this some other way? The derivation of the Hamilton-Jacobi equation using canonical transformations is typically done involving a type-2 generating function.  Is it possible to use a another type of generating function, namely type 1, 3 or 4? I want to apply for Schengen visa, but employer NOC which is mandatory document for visa is not available with me I have resigned from my current company and will be joining a new company soon.   Hence, I cannot get a leave approval letter from my current company, and if I decide to join a new company and then request a NOC (No Objection Certificate) it will be late for visa process completion because of my traveling dates.   What can I show to the embassy as an alternative to this NOC document? I was just testing Eevee and found that you cannot view a glass object through another glass. Is there any workaround? It works fine only If I rotate the glass window or put my camera to the back side of the scene Animation Cycles rendering remains incredible slow How to detect using c# if a pendrive is plugged into a USB port? Is there a way to find out when in a LAN anyone plugs in a pendrive to the USB port?  Programatically (in C# preferably) or through some tool. Basically I'd imagine a client application sits on each terminal and monitors the USB ports and sends the information to the server.   a.) Can I get the details of the file(s) being copied? b.) Is there a way to do this without a client application?   EDIT  I dont want to disable the USB port entirely. its to be on a need to have basis. Basically just want the users on the LAN to share data responsibly and know that whatever data is tranfered is monitored and logged and can be questioned later. Evaluate $\prod \frac {2k - 1} {2k}$ I came across to this: evaluate $$\prod_{k = 1}^{n} \frac {2k - 1} {2k}.$$  I brought it to a closed-form expression in asymptotics but I suspect my asymptotics is bad and I also want to see different solutions, hence the question.  My original solution: Write   $$\begin {eqnarray} \prod_{k = 1}^{n} \frac {2k - 1} {2k} &amp; = &amp; \exp \left (\sum_{k = 1}^{n} \log \left (1 - \frac {1} {2k}\right) \right) \nonumber \\ &amp; = &amp; \exp \left (- \sum_{k = 1}^{n} \sum_{m = 1}^{\infty} \frac {1} {(2k)^m m}\right). \end {eqnarray}$$  Let $$S = \sum_{m = 1}^{\infty} \frac {1} {(2k)^m m} \tag {1}.$$ Multiply both sides of $(1)$ by $2k$ to get $2k S &lt; S + 1$, and by $4k$ to get $4kS &gt; S + 2$. Hence, $$\frac {2} {4k - 1} &lt; S &lt; \frac {1} {2k - 1}.$$ Then, $$\frac {1} {2} \left( \log (4n - 1) - \log 3 \right) - 2 + O \left(\frac {1} {n^2}\right) &lt; \sum_{k = 1}^{n} \sum_{m = 1}^{\infty} \frac {1} {(2k)^m m} &lt; \frac {1} {2} \log (2n - 1) - 1 + O \left(\frac {1} {n^2}\right).$$ Hence, $$\sqrt {\frac {c} {2n - 1}} &lt; \prod_{k = 1}^{n} \frac {2k - 1} {2k} &lt; \sqrt {\frac {3 c^2} {4n - 1}},$$ where $c$ is a constant. Any better approach? How do I remove the OneDrive folder from my File Explorer folder tree in Windows 10? I don't use or want to use OneDrive, but after upgrading to Windows 10 it's been installed automatically and added to the sidebar of every explorer window:    I can't seem to figure out how to get rid of it. I can't uninstall it like a normal app, and I can't seem to unpin it in Explorer's options.  I tried following  to getting rid of it, but that seems to only remove stored OneDrive files.  I've also tried following another  and , but I can't seem to edit group policies on my computer (maybe because I upgraded from Win7 Home Premium?).  All I would really like is to be able to remove the OneDrive shortcut from my explorer sidebar, though being able to uninstall OneDrive would be a bonus.  I'm not sure what I should try now. Is there a way to remove OneDrive from Windows 10? Auto mount a disk drive in ubuntu 14.04 LTS (Bookmark directory not found) I'm using ubuntu 14.04 LTS. When I start my pc and click on any bookmark from the file manager it shows this error:   Unable to find the requested file. Please check the spelling and try again. Unhandled error message: Error when getting information for file '/media/angel/DOC/edu': No such file or directory   But when I open DOC drive and again clink on the same bookmark it works properly. Can anybody tell me why is this happening and how to solve this issue?   Edit: Output of lsblk is following: (ubuntu is installed in sda5)  NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT sda      8:0    0 119.2G  0 disk  ├─sda1   8:1    0  91.3G  0 part  ├─sda2   8:2    0     1K  0 part  ├─sda5   8:5    0  24.1G  0 part / └─sda6   8:6    0   3.8G  0 part [SWAP] sdb      8:16   0 465.8G  0 disk  ├─sdb1   8:17   0  93.2G  0 part  ├─sdb2   8:18   0     1K  0 part  ├─sdb5   8:21   0  93.2G  0 part  ├─sdb6   8:22   0  89.3G  0 part  ├─sdb7   8:23   0  93.2G  0 part  ├─sdb8   8:24   0  93.2G  0 part  └─sdb9   8:25   0   3.8G  0 part  sr0     11:0    1  1024M  0 rom     After opening the disk drive the output of lsblk is bellow:   NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT sda      8:0    0 119.2G  0 disk  ├─sda1   8:1    0  91.3G  0 part  ├─sda2   8:2    0     1K  0 part  ├─sda5   8:5    0  24.1G  0 part / └─sda6   8:6    0   3.8G  0 part [SWAP] sdb      8:16   0 465.8G  0 disk  ├─sdb1   8:17   0  93.2G  0 part  ├─sdb2   8:18   0     1K  0 part  ├─sdb5   8:21   0  93.2G  0 part  ├─sdb6   8:22   0  89.3G  0 part /media/angel/DOC ├─sdb7   8:23   0  93.2G  0 part  ├─sdb8   8:24   0  93.2G  0 part  └─sdb9   8:25   0   3.8G  0 part  sr0     11:0    1  1024M  0 rom   The output of sudo blkid gives the following information about sdb6:  /dev/sdb6: LABEL="DOC" UUID="04280A22280A12FA" TYPE="ntfs" How do I format a backslash as code with backticks in comments? I'm trying to write a single backslash in a comment as code formatted by backtick. Like this:  `\`   but it escapes the backtick and doesn't close the "inline code block".  I've read  but couldn't figure out.  How do I format a single backslash in comment as code? Question from HNQ widget on Android doesn't load, showing last viewed question instead I have found myself in an uncomfortable situation after clicking the Hot Network Question widget.   I click the widget, it opens Stack Exchange app and doesn't refresh. That causes me seeing the question I haven been reading a while ago. Fact is that I haven't killed the app since using it last time.   Is there any known workaround to prevent this bug occurring every time I want to read a question opened from a widget? Killing the app/deleting data every time is not a convenient option.   It happens on all Android devices, so device specs aren't relevant, I guess.   Edit: it isn't reproducible 100% of the time. Sometimes it works. How to create a Customized Ubuntu Server ISO? I'd like to create a customized Ubuntu Server 12.04 ISO but couldn't find a clear approach on how to do it. I see that Ubuntu-builder is a very good app to create a customized Ubuntu Desktop, but what about Ubuntu Server? Is there an expression to indicate the strategy of wearing someone down with numerous small irritations? I would use rope-a-dope, but it's got connotations of pretending to lose that I don't need. I'm trying to describe the behavior of someone who sends twenty detailed emails a day about various projects, and the recipient of his emails has finally gotten tired of trying to parse them, so the recipient just agrees to whatever he proposes. I'd like an expression that evokes both outward earnestness and hidden creepiness, like Uriah Heep, Dickens's "Humble servant" with veiled ambition, who overdoes it with professions of humility until he's in power. Water torture would work, but comes too close to a more racist expression that I'm not comfortable with. Can the activity dropdown say more than just "+2 tag wiki"? Prove that the ideal $(X_1-a_1,...,X_n-a_n)$ is maximal in $K[X_1,\dots,X_n]$ Let $K$ be a field, and $a_1,\dots,a_n \in K$. Prove that the ideal $$(X_1-a_1,\dots,X_n-a_n)$$ is maximal in $K[X_1,\dots,X_n]$.   I tried proving that the only elements outside the ideal are the invertibles of $K$ (I should still prove that this implies maximality, but it shouldn't be too difficult).  Is there a better strategy, or another stategy? Adding Facebook Online Account - "application you are trying to use doesn't exist or has been disabled" Simple Past vs. Present Perfect: "was" vs. "has been" Recently I noticed that many people post .htaccess files here with:  &lt;IfModule mod_rewrite.c&gt;   Sometimes this even appears several times in the file! It obviously checks to see if mod_write is in fact enabled but the statements it protects are necesary to those sites anyway. So if the IfModule fails, the website is broken anyway.  Is there an advantage in having the &lt;IfModule mod_rewrite.c&gt; fail rather than the RewriteRule statements below it?  mod_write now is so essential and ubiquitous that I do not check for it anymore. Might this cause a vulnerability of some kind?