1,999 reputation
410
bio website
location The Netherlands
age
visits member for 1 year, 4 months
seen 55 mins ago

Currently working as system administrator at Bizztravel B.V.. I've earned a bachelor degree in Computer Sciences. Since computing in general is my passion, I try to keep up with the latest development in this field. I'm active on irc.freenode.org and try to contribute to the open source community as much as I can.


16h
comment Cannot type in login credentials in Red Hat
Did you try another tty by pressing ctrl+alt+F2 ? Does the prompt show a Username: prompt?
22h
comment Group by and sum in shell script without awk
@jimmij Your answer is ofcourse the OP wanted. Thanks for providing this solution!
1d
comment Group by and sum in shell script without awk
@jimmij I am curious on your sh answer. If you can achieve the above in sh only, I'll remove my answer!
1d
comment Group by and sum in shell script without awk
@jimmij I can hardly imagine it can be done in purely sh without calling any external binary like uniq, sort etc.
1d
answered Group by and sum in shell script without awk
1d
comment unable to initialize table filter
Alright, so try modprobe /lib/modules/$(uname -r)/kernel/net/ipv4/netfilter/iptable_filter.ko. Also specify < when using iptables-restore
1d
comment unable to initialize table filter
Use the -t and -v So you have more verbosity. I suspect you need to load the module iptable_filter. Check what modules there are availiable ls /lib/modules/$(uname -r)/kernel/net/ipv4/netfilter/
1d
comment 0 byte file created in a simple script
@MichaelKremser I don't think that will work the way how he dumped the output to file1.txt. This file will include % in the second field. while read ... percentUsed will have % sign in there and will never be compared.
1d
revised 0 byte file created in a simple script
added 371 characters in body
1d
answered 0 byte file created in a simple script
2d
awarded  Enlightened
2d
awarded  Nice Answer
Nov
11
comment Grep for pattern at start or middle of a line
@LuisAntolin This part "Tested on Debian 7" (bash). Your answer has no bash included whatsoever.
Nov
11
comment Grep for pattern at start or middle of a line
@LuisAntolin apart from the answer. Please remove (bash) there since the answer has nothing to do with bash. It will probably confuse novice users.
Nov
9
comment Strip Filenames and Rename
A nice one terdon. Though I'd have used ((c++)) instead of let to increment.
Nov
8
comment Syntax error: word unexpected on io redirection on file descriptor ≥10
@MinecraftShamrock help set it shows how commands are executed etc. Try it and see it.
Nov
8
comment Syntax error: word unexpected on io redirection on file descriptor ≥10
Add set -x on top of the script.
Nov
7
answered Deleting lines with different patterns in a file
Nov
6
comment When I run `./command.sh &` the background task is suspended. How can I keep it running?
I've explained once here how to use screen for the job: serverfault.com/questions/466129/restore-ssh-session/…
Nov
3
comment How can I double the newlines in an output stream
To complete the list awk 'BEGIN{ORS="\n\n"}1' file :)