2,069 reputation
411
bio website
location The Netherlands
age
visits member for 1 year, 5 months
seen yesterday

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.


1d
awarded  Cleanup
1d
comment Passing a variable to a bash script when sourcing it in another bash script?
Don't update the question please. This way we cannot see what was wrong with your initial question. I just rolled it back.
1d
revised Passing a variable to a bash script when sourcing it in another bash script?
rolled back to a previous revision
1d
answered iptables ruleset causes server to stop answering
2d
answered Read Command : How to verify user has typed something
Dec
19
reviewed Approve bash: iptables: command not found
Dec
16
reviewed Approve Archive file with date-stamp
Dec
10
answered How to save stat of all files found in a search?
Dec
10
comment How to quote arguments with xargs
You should read this mywiki.wooledge.org/UsingFind?highlight=%28xargs%29 before doing anything with xargs. Also as the wiki suggests, don't use xargs without passing the -print0 to find.
Nov
28
reviewed Approve How to search empty alternation with tcsh
Nov
25
comment Remove everything that is not a 4 character number
@KasiyA you can add .. file | tr '\n' ' ' to put the numbers in the same line.
Nov
25
comment Compare and print data from different text files to one in Shell
You can use paste -d'' file1 file2 file3. That's what paste does
Nov
22
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?
Nov
21
comment Group by and sum in shell script without awk
@jimmij Your answer is ofcourse the OP wanted. Thanks for providing this solution!
Nov
21
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!
Nov
21
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.
Nov
21
answered Group by and sum in shell script without awk
Nov
21
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
Nov
21
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/
Nov
21
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.