Tagsalgorithm archiver Asus bash bible C++ code commands dd Django Entropy exaile exponentiation file manipulation firefox gui application hard drive Java kill Linux localization music muti-thread application online judge packages Perl perl 5.10 PHP programming contest purging Python regular expressions Scheme script sorting SQL ssh swap Synchronizing terminal text file Threads Ubuntu updater variable
Tag Archives: bash
Imagine that you are waiting for marks from exam. Lecturer is going to publish them on his website, but you don’t know when. I’ve created following script, because I don’t like pressing F5 for hours 🙂 You have to provide … Continue reading
Before I have setted up my encrypted partitions I had to fill them with random sequention of data. I’ve noticed that dd if=/dev/urandom of=DEVICE is very slow. It has 3-4 MB/second on my computer. I wanted to make it faster. … Continue reading
dd is a great tool for low-level copying and conversion of raw data. It can be also used for data erasure. Unfortunately, it doesn’t show any information about progress of copying. Here is my little, but useful script: 1 2 … Continue reading
Here is my script for auto-purging of removed packages (the script deletes remaining configuration files of package) in Ubuntu: #!/bin/sh for i in `dpkg -l | grep ^rc | cut -f 3 -d ‘ ‘` do dpkg -P $i; done#!/bin/sh … Continue reading
It’s very easy to iterate over lines of standard output of command.