I want to see if there is any command or a way to add Aline at the end of the GZipped file in Unix without unzipping the file. If yes help would be appreciated.
mknod /tmp/oracle.pipe p  sqlplus / as sysdba &lt;&lt; _EOF set escape on  host nohup gzip -c &lt; /tmp/oracle.pipe &gt; /tmp/out1.gz \&amp; spool /tmp/oracle.pipe select * from employee; spool off  _EOF  rm /tmp/oracle.pip   I need to insert a trailer at the end of the zipped file out1.gz , I can count the lines using  count=zcat out1.gz |wc -l   How do i insert the trailer  T5 (assuming count=5)   At the end of out1.gz without unzipping it.
What is the motivation behind axiomatically forcing the underpinning group of a ring to be abelian? Noncommutative rings are vastly more complex than commutative ones, so I am assuming that allowing the additive operation to be noncommuting would just make matters worse. Is there something deeper here, or is this a restriction for the sake of convenience and simplicity? 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? I have a script which calls two commands:  long_running_command | print_progress   The long_running_command prints progress but I'm unhappy with it. I'm using print_progress to make it nicer (namely, I print the progress in a single line).  The problem: Connection a pipe to stdout also activates a 4K buffer, so the nice print program gets nothing ... nothing ... nothing ... a whole lot ... :)  How can I disable the 4K buffer for the long_running_command (no, I do not have the source)? Can you break up your Attack action for a bonus action? You can do it to move:     If you take an action that includes more than one weapon attack, you can break up your movement even further by moving between those attacks. For example, a fighter who can make two attacks with the Extra Attack feature and who has a speed of 25 feet could move 10 feet, make an attack, move 15 feet, and then attack again. (PHB 190)   It would be necessary for the Great Weapon Master feat:     On your turn, when you score a critical hit with a melee weapon or reduce a creature to 0 hit points with one, you can make one melee weapon attack as a bonus action   As a level 17 Fighter, if I can not place a bonus action between attacks, there are two possibilities:   I have to wait until I finished all 4 attacks of the action, to make another attack as a bonus action the bonus action attack is wasted unless the kill or crit happens on the 4th attack   So can I take a bonus action in the middle of the attacks of an action? The graduate students at my university (a relatively large state school in the US) are considering joining a union. To help decide whether to sign a union card in support of joining the union, I'm interested in more information about how unions have helped graduate students at other universities. What are some improvements to graduate life gained by graduate students at other universities upon joining a union?  I'm also interested in information about how unions have hurt graduate students at other universities. What are some detriments to graduate life caused by graduate students joining a union?  I'm primarily interested in student-body-wide benefits/detriments, instead of student-specific or faculty/administrator-specific claims (e.g. "my advisor treated me better with the union behind me" or "my students have stopped working since they joined a union" is not what I'm looking for). How does a circular lens produce rectangular shots? How to prevent a background process from being stopped after closing SSH client in Linux I'm working on a Linux machine through SSH (Putty). I need to leave a process running during the night, so I thought I could do that by starting the process in background (with an ampersand at the end of the command) and redirecting stdout to a file.  To my surprise, that doesn't work. As soon as I close the Putty window, the process is stopped.  How can I prevent that from happening?? Is it possible to understand the One Piece storyline by watching the movies only? How do I upgrade from 14.04 LTS to 16.04.1 LTS? So, today is July 21st and . gives me an option to download 16.04.1 LTS. However, attempting to upgrade gets me this message -  $ sudo do-release-upgrade Checking for a new Ubuntu release No new release found   What is wrong? Does it matter that I am running apt-get update behind apt-cacher-ng?  Note: Commenting out the files in apt.conf.d that used apt-cacher-ng did not make a difference.  Edit: Explanation for possible duplicates:  deals with upgrade from 12.04LTS to 14.04LTS. My question is specific to 14.04 LTS to 16.04.1 LTS upgrade. Old answers, while good for archival purposes are less relevant in a fast changing package like ubuntu. Moreover none of the answers answer what is wrong. The link  pointed out is mentioned in one of the comments. This Q &amp; A is more helpful for people upgrading today than the work around mentioned in "". Are the PUT, DELETE, HEAD, etc methods available in most web browsers? I've seen a couple questions around here like , which mentions:     Unfortunately that same browser won't allow me to test HTTP PUT, DELETE, and to a certain degree even HTTP POST.   I've also heard that browsers support only GET and POST, from some other sources like:        However, a few quick tests in Firefox show that sending PUT and DELETE requests works as expected -- the XMLHttpRequest completes successfully, and the request shows up in the server logs with the right method. Is there some aspect to this I'm missing, such as cross-browser compatibility or non-obvious limitations? When Deadpool is in the hallway talking      he makes a joke about Fox springing for a few more X-Men and the camera pans to show Beast closing the door to get rid of the noise.   Who else was in the room? bi-directional sync with rsync I am trying to setup bi-direction or two way sync with rsync. In my case I only need to delete the files when syncing from B to A. So, I was thinking of running rsync twice as follow :  rsync -rtuv ./A/ ./B/ rsync -rtuv --delete ./B/ ./A/   This problem with this solution is that when I run rsync (B->A) which would be right after running the rsync (A-B), Any new file that get created in between the sync will also get removed.  Is there a way I can specify a time stamp as condition that it only delete the file if it created before this date/time.  Updated:  I understand there is a unison solution but the problem with unison is required to install on both ends. I am syncing with a remote server and I can not install unison on the remote end. Why are two different concepts both called "heap"? MySQL Results as comma separated list I need to run a query like:  SELECT p.id, p.name,         (SELECT name            FROM sites s           WHERE s.id = p.site_id) AS site_list   FROM publications p   But I'd like the sub-select to return a comma separated list, instead of a column of data.  Is this even possible, and if so, how? Illustrator - my rectangles are all sheared skewed? When I try to create a rectangle in a certain .ai file they all come out sheared:    but this isn't the case in other projects.  Is there any way to fix permanent hat-like thing? I really like how, in the winter bash, there are hats. They are pretty cool and actually encourage me to get badges, something I didn't care about before. I think there should be something like this, but all year round, to encourage people to get badges. Badges, to me, seem currently pretty useless and I never want to get any because...there is no good reason to. Hats: well, hats are just awesome Are we slightly lighter during the day and slightly heavier at night, owing to the force of the Sun's gravity? Could someone provide me with a good explanation of why $0^0=1$?  My train of thought:  $x&gt;0$  $0^x=0^{x-0}=0^x/0^0$, so  $0^0=0^x/0^x=\,?$  Possible answers:   $0^0\cdot0^x=1\cdot0^0$, so $0^0=1$ $0^0=0^x/0^x=0/0$, which is undefined   PS. I've read the  on mathforum.org, but it isn't clear to me. inequality on the unit disk $n$ points $z_1,z_2,\cdots,z_n$ in the unit open disk are given. Prove or disprove that there exists $z$ in the unit circle such that $\prod_{i=1}^n |z-z_i|^i \ge 1$.  I think it can be solved by elementary analytic methods but no idea. What is the final price if the bid price exceeds the ask price in an order driven market?