Tags » Bash

Length of a String

cohenl06@phoenix2 ~ $ echo ${#a}


You're Not a Software Engineer If You Hate Command Line

What makes a computer a computer is the fact that it computes and it stores information somewhere.  That’s it folks.  A computer that we are all familiar with is just a sophisticated version.  550 more words


8 basic example of $find command, useful for beginners

Previous part: Beauty of Linux Terminal – $find
Today we’ll see basic exemple of $find, which are very useful for beginners.

  1. Find everything
    Find everything in your computer.
  2. 425 more words

Check a live streams connectivity with curl

curl -s http://streams.ir-media-tec.com/bbradio.aac | grep 1 > /dev/null && echo OK || echo BRICKED

curl -s http://streams.ir-media-tec.com/bbradio.aac | head -1 | grep 1 > /dev/null && echo OK || echo BRICKED


The fastest darn Fastq decoupling procedure I ever done seen

There is a joke out there that bioinformatics is 80% file conversion, and the joke always seems to elicit uncomfortable laughs: it’s funny, but hits embarrassingly close to the mark! 759 more words


GNU/Linux - Vytvorenie nového užívateľa

Užívateľov väčšinou v Linuxe nevytváram každý deň. Nie je to žiadna zložitá operácia, ale je dobré to zvládnuť na prvýkrát, takže si to vždy veľmi rád zopakujem. 208 more words


Bash script w. gs: Compressing PDFs

Currently I am working on a paper for publication that involves high resolution data. The data set is over 30TB large! Thus to illustrate the quality of our data, it is important to include high resolution images. 1,167 more words