Linux: Open a file with the default application

Posted About 8 years ago by Henning Koch.

If you are on a Linux shell and want to open a file with whatever default application is configured for...

netstat: Sum open connections by IP (and sort it)

Posted About 8 years ago by Thomas Eisenbarth.

The following sums up all connections (ESTABLISHED, TIME_WAIT, FIN_WAIT, etc.) and sorts it: netstat -n | awk ' $5 ~ /^[0...

Linux Performance Analysis in 60,000 Milliseconds

Posted Over 8 years ago by Thomas Eisenbarth.
techblog.netflix.com

You login to a Linux server with a performance issue: what do you check in the first minute? uptime

Sending TCP keepalives in Ruby

Posted Over 8 years ago by Henning Koch.

When you make a simple TCP connection to a remote server (like telnet), your client won't normally notice when...

Terminal escape sequences – the new XSS for Linux sysadmins

Posted Over 8 years ago by Henning Koch.
ma.ttias.be

Article shows how to make a script that fakes one kind of content when printed with cat, but uses different...

Install PhantomJS under Ubuntu

Posted Over 8 years ago by Henning Koch.

PhantomJS has no binary builds for Linux, and building it yourself is painful. However, you can install it through npm...

Detect recently added vdisks in a VMware ESXi linux guest

Posted Almost 9 years ago by Claus-Theodor Riegg.

After adding a vdisk to an ESXi linux guest you will assert that you can't find a new device...

Browse Amazon S3 buckets with Ubuntu Linux

Posted About 9 years ago by Henning Koch.

There are some frontends available, but they all suck, are no longer maintained or are hard to install.

Linux: Kill a process matching a partial name

Posted About 9 years ago by Henning Koch.

This is useful to kill processes like ruby my-script.rb: pkill -f my-script.rb With great power comes great responsibility.

Ubtuntu: "FATAL: Could not load /lib/modules/...-generic/modules.dep: No such file or directory"

Posted About 9 years ago by Kim Klotz.

If you get this error (probably because you want to load some modules): # modprobe xt_comment FATAL: Could not load...

Traveling Ruby: self-contained, portable Ruby binaries

Posted Over 9 years ago by Henning Koch.
phusion.github.io

Traveling Ruby is a project which supplies self-contained, "portable" Ruby binaries: Ruby binaries that can run on any Linux...

Installing Adobe Reader on Ubuntu

Posted Over 9 years ago by Arne Hartherz.
askubuntu.com

Adobe no longer supports their PDF reader on Linux and the official page does not offer it for download. \

Install or update Chromedriver on Linux

Posted Over 9 years ago by Thomas Klemm.

Option 0: Download from the official page (preferred) Open https://googlechromelabs.github.io/chrome-for-testing/ In Section "Stable" > chromedriver / linux64 > Download ZIP from...

Fixing tlmgr cannot setup TLPDB

Posted Over 9 years ago by Dominik Schöler.
tex.stackexchange.com

tlmgr is the TeX Live Manager and responsible for the TeX installation on your (Linux) machine. If you're getting...

Linux: Running a program with a different locale than your default

Posted Over 9 years ago by Arne Hartherz.

When your system is not running on English, you may sometimes want to run some applications and not use your...

Linux: Get your public IP address from the shell

Posted Over 9 years ago by Henning Koch.

curl http://ipecho.net/plain; echo

Skype 4.3 for Linux fixes group chats

Posted Almost 10 years ago by Tobias Kraze.
skype.com

Skype has been updated to 4.3 on Linux. This fixes group chat issues with non-linux clients.

Device sizing and network throttling are coming to Chrome DevTools

Posted Almost 10 years ago by Henning Koch.

See screenshot here. This is great news because network throttling is very painful in Linux. The features are already in...

rbenv: How to update list of available Ruby versions on Linux

Posted Almost 10 years ago by Arne Hartherz.

When you tell rbenv to install a Ruby it does not know about, you will get an error message.

Linux: How to print PDF files from the command line

Posted About 10 years ago by Arne Hartherz.
linux.die.net

Sometimes you may want to print files from the command line, especially when you have lots of them.

How to simulate limited bandwidth in Google Chrome and Firefox

Posted About 10 years ago by Tobias Kraze.

Your development machine is usually on a very good network connection. To test how your application behaves on a slow...

Linux: Disable Bluetooth on startup

Posted Over 10 years ago by Henning Koch.

In /etc/rc.local add: service bluetooth stop

Choosing the Right Size and Format for Icons

Posted Over 10 years ago by Henning Koch.
visualpharm.com

Icons Sizes for Windows, MacOS X, iOS, Android and Linux. It's a mess!

Skype screen sharing: Select which monitor to share

Posted Over 10 years ago by Henning Koch.

If you have multiple monitors and want to share a given screen with your call partner, drag the caller window...