1,816 reputation
29
bio website
location The Netherlands
age
visits member for 1 year, 3 months
seen 11 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.


Aug
21
answered How can I replace ^I into tab spaces in vim editor for .java file?
Aug
21
awarded  Organizer
Aug
21
revised How can I replace ^I into tab spaces in vim editor for .java file?
code highlight, adding tags
Aug
21
suggested suggested edit on How can I replace ^I into tab spaces in vim editor for .java file?
Aug
20
comment Count how many elements in the nth column in a whole file
This is a short and the way it should be done using simple syntax!
Aug
20
comment How to kill a process running in specific script
kill -9 is the worst idea I've ever seen. kill -9 doesn't send a signal to the parent process which subsequently will signal it's children to finish work. It just kills the process without notification. You'd need to send the SIGTERM to the process. Another clean way to kill the process is using pkill which will defaultly send SIGTERM. Though pkill is not availiable on all modern OS'es.
Aug
20
comment Recover atime after vim
@dotancohen The access time cannot be recovered. The system doesn't keep track of file access times. This is for a reason since auditing otherwise would be impossible
Aug
20
comment Recover atime after vim
Doing a cat file will not change the atime at all. You can check it using stat file If you used view file or vi file that would alter Access, Modify and Change attributes
Aug
20
comment How to kill a process running in specific script
In both scripts you can get the process id of the java application. E.g runJavaApp & then in the next line scr1javaAppId=$! You can kill the running process using kill -s 15 $scr1javaAppid
Aug
19
comment Logging in to VirtualBox via SSH
Tell us what OS you are using for the Virtual machine. Is the ssh service running? Is there a firewall preventing you from logging to the machine? Can you ping the machine.. and so on.?
Aug
19
comment Why asterisk in command result in for loop is expanding?
You are missing quotes " "
Aug
19
answered How print only the current logged in “root” user IP address?
Aug
18
comment Fix “Route hash chain too long” without restart
See the following link: serverfault.com/questions/106537/…
Aug
16
comment bash: iptables: command not found
iptables should be in your PATH so it is the sudo you are missing.
Aug
15
comment Using $ in a password
@glennjackman nice catch. I just edited the answer. The last EOF should indeed not contain single quotes.
Aug
15
answered Using $ in a password
Aug
15
comment Using $ in a password
You can use <<'EOF' newline and close it with 'EOF'
Aug
14
comment Vim: join lines by replacing ^M
This might help also: First I used tr -d \\r <source> destfile then sed -e :a -e '$!N;s/\n\([[:blank:]]\)é*//;ta' -e 'P;D' destfile
Aug
14
comment Convert string into date time stamp in gawk or awk
Ah, cool. Thanks for reviewing and fixing the offset!
Aug
14
comment Convert string into date time stamp in gawk or awk
Ah. This is a much efficienter way! Nicely done.