11,465 reputation
13059
bio website
location
age
visits member for 3 years, 4 months
seen 8 hours ago

Mar
17
comment Detecting filesystem changes without direct fs-support
You could use inotify during the execution time of the application. You can select the file system events you're interested in and log those.
Mar
11
revised FreeBSD 10: Disable ZFS full disk encryption
Remove thanks + fix typo
Mar
10
comment Appearing to be on the same network
192.168.0.0/16 addresses are not routed in the public internet and you can't reach the other side. It would work if both Internet-facing machines had public addresses. But I doubt there's a way if both machines only have private addresses.
Mar
4
comment How to check a new hard drive?
Or if you're only interested in the size you can do echo "$(($(cat /sys/block/sdb/size)*512/1024**3)) GiB"
Mar
4
comment How to check a new hard drive?
Does smartctl -x /dev/sdb offer sufficient information?
Mar
2
comment Mint battery hogger
Inspect the power consumption with powertop. Especially have a look at the last tab “Tunables”.
Feb
26
comment Starting Services without Systemd?
You could use a cronjob with the @reboot trigger if your cron supports that feature.
Feb
22
awarded  Popular Question
Feb
17
awarded  vim
Feb
16
answered What does >… mean in vim and how to substitute a single whitespace for it?
Feb
12
answered How to use bash shell for gnuplot to show Greek letter?
Feb
6
accepted Reading from file descriptor fails
Feb
5
comment What is the best site or book for practicing shell scripting?
Possible duplicate: Practical tasks to learn shell scripting or What are good online resources for learning shell scripting?
Feb
4
comment Reading from file descriptor fails
I'd replace #!/bin/ksh93 with #!/usr/bin/env ksh93, you never know where the binary is located. On my system it's /usr/local/bin/ksh93, for instance.
Feb
4
comment Reading from file descriptor fails
Requiring to compile a C program makes this solution not portable. Although this might work in theory, it's not a practical solution.
Feb
4
comment Reading from file descriptor fails
Although this might work, I can't expect ksh93 to be installed on every machine. Thus, this is not really portable.
Feb
4
revised Reading from file descriptor fails
Change shell, bash not required here
Feb
4
comment Reading from file descriptor fails
Yes, it should start at the beginning of the file.
Feb
4
asked Reading from file descriptor fails
Feb
4
revised Change file Association Arch Linux
Fix grammar and formatting