Aug 30

I’m presenting here some text file manipulation commands with examples of usage. I want to enlarge on cat, tac, uniq, sort, head, tail, tr, wc and cut. Read More


Aug 27

There is a known problem in Ubuntu connected with high frequency of load/unload cycles on hard disk.
Here are useful links:
https://wiki.ubuntu.com/DanielHahler/Bug59695
http://ubuntuforums.org/showpost.php?p=3675960&postcount=26
http://ubuntuforums.org/showpost.php?p=5031046&postcount=3

I used approach from Ubuntu forums and Load_Cycle_Count stopped increasing. Unfortunately, everytime when I woke up my Asus F3F from suspend to RAM (even it was on AC power), Load_Cycle_Count started dramatically increasing. Read More


Aug 27

You can easily check temperature of your hard drive:
Type in command line:

sudo apt-get install hddtemp

Read More


Aug 13

There are two files (for example called „f1” and „f2”). We want to swap contents of these files. Here is an easy bash script, which solves this problem:

#!/bin/sh
# Created by Wojtek Jamrozy (www.wojtekrj.net)
mv $1 cop_$1
mv $2 $1
mv cop_$1 $2

  swap (93 bytes, 625 hits)

Read More


Switch to our mobile site