1,818 reputation
29
bio website
location The Netherlands
age
visits member for 1 year, 3 months
seen 13 hours 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
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.
Aug
14
answered Convert string into date time stamp in gawk or awk
Aug
14
comment Execute a script as root at boot on Fedora 15/16
Fedora 15/16 support ended ~3 years ago.
Aug
13
comment How to count how many different word do i have in a file, in a column
@richard based on "AGNOLI Valerio","ITA","AST" I'm not sure how it will fail.
Aug
13
answered How to count how many different word do i have in a file, in a column
Aug
13
answered Getting a propmt when deleteing a non-directory
Aug
12
comment How is PATH set for users in puppet?
You can either provide a shell (bash,zsh,ksh) to user puppet and then set PATH variable accordingly in the .bash_profile or you can tweak sudoers file. Also see the following: askubuntu.com/questions/247738/…
Aug
12
answered How is PATH set for users in puppet?
Aug
12
comment How simulate a Windows like admin password prompt in Linux?
@JechtTyre you can use su -c 'command_to_run' if that's what you want.
Aug
12
comment RSA keys demanding nonexistant passphrase
Read the comment of dave_thomson_085. The -i parameter expects the private key and not the .pub
Aug
11
comment store the command output in an array and print one by one
@StéphaneChazelas array+=.. is indeed useless in this case since the stdin is not user input but it's a file. And yes delimiter is set to indicate NULs or \0 ending of the arguments passed to the array otherwise unexpected result can occur.
Aug
11
comment store the command output in an array and print one by one
@StéphaneChazelas well I hope you've nothing personal against me. The answer does meet all requirements of the OP. I quote "or can be any number of values, I need to store these values in an array and print one by one...using their index number." Which is what I do with `printf '%s\n' "${array[0]}" printing first index of the array. If the answer does not make sense, I'd like to be pointed on the mistakes I've made. Cheers.
Aug
11
revised Use ssh without trying ssh-keys
removed 'works' at the end of the answer contained within code blocks
Aug
11
suggested suggested edit on Use ssh without trying ssh-keys
Aug
11
revised store the command output in an array and print one by one
added array.
Aug
11
comment Use ssh without trying ssh-keys
@rub77. The answer has already been given. You can add your solution and mark it as answer. Glad you solved it.