Ssh “Write failed: Broken pipe”

I started to get this error “Write failed: Broken pipe” when I was leaving the terminal alone. Since plumbers are still expensive, despite the crisis, I decided to fix the pipe by myself. Very easy, just add the following line to /etc/ssh/sshd_config: ClientAliveInterval 60 This will send a “keep-alive” packet from the server to the […]

Self executing jar files

I personally always felt bad about the fact that we have to provide a shell script which runs the executable jar file. It would be nice if we could provide a self contained executable in a single file, right? I just discovered a trick which works on unix, but it can possibly be adapted on […]

SSH Bash Completion

Today I was having a look on how the git-completition is implemented. If you have not enabled the completition for git, I think you should really read my article on how to do it. So I found this two links, that explain the basics on how to implement bash completion for simple commands: An introduction […]

Creating a statically linked version of a unix software saves you in all the circumstances where you can’t install the software as root, when you don’t have development tools on the target machine, when you cannot find a prepackaged version for the specific server, when the libraries available on a server are conflicting with the […]

There are a couple of cool features in GIT that may not be well known by everyone, depending on which platform you are using. For example on Linux it is quite common to have the bash completion working, while in Windows msysgit comes with a cool prompt which displays the current branch and some status […]

If you have more than one laptop/computer on your desktop, you may find yourself jumping from a keyboard to another to make use of them. In this article I explain how I configured my laptops to share keyboard and mouse using synergy. It is always a good thing to have a second monitor, for example […]

3G USB Stick on Ubuntu

I am in London for work, and my hotel wants me to pay £ 17 per day for accessing internet. But I found an internet café which is offering Internet connection on a 3G USB stick for £ 19.99 per week ( reload.com 197 Praed Street, Paddington ). The USB stick is from Three, like […]

Ipod touch with Linux

Yesterday night I tried to connect the iPod to Linux. I tried some programs but none was working decently; but the good news is that you don't really need any special program "made for iPod" to do this. For the guys who do not know about iTunes and iPod/iPhone foolishnesses, the problem is that when […]

I discovered today that in Karmic there is an option to format encrypted usb disks. But first of all you need to install the support for this feature; from the terminal: $ sudo apt-get install cryptsetup When you plug in your USB disk, and mount it, you'll see an icon on your desktop. Right-clicking on […]

Suspend/Resume in Karmic /2

Previously I wrote that suspend/resume was not working in Karmic on my MacBook Pro 5.1, and I posted a solution. Now I found a better solution from the Apple Users forum on Ubuntu. The advantage is that with this fix, the suspend/resume is much faster. First you need to revert the change I suggested previously. […]




About

You are currently browsing the NewInstance weblog archives for Linux.

Longer entries are truncated. Click the headline of an entry to read it in its entirety.

Calendar

October 2017
M T W T F S S
« Nov    
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Follow me

twitter flickr LinkedIn feed

Subscribe by email

Enter your email address:

Archives


Categories

Tag Cloud


Listening