2,039 reputation
410
bio website
location The Netherlands
age
visits member for 1 year, 5 months
seen 5 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.


Oct
23
comment How to get all IPtables rules
@Yanipan can you update your question and show us what you are getting when you run the command?
Oct
23
answered How to get all IPtables rules
Oct
22
revised Add test user to the sudoers file, to run ifconfig
added 240 characters in body
Oct
22
answered Add test user to the sudoers file, to run ifconfig
Oct
22
comment How to save in a variable the convert from decimal to binary without use an echo
Add a >/dev/null at the end. num1=10; echo "obase=2;$num1" | bc | tee -a register.txt >/dev/null
Oct
21
comment How to find the process with maximum file descriptors?
Well you can fix your command by e.g: for i in $(ps aux | awk 'NR>1{print $2}') ; do lsof -p "$i" | wc -l ; done and work from here.
Oct
21
revised Howto adapt this bash construct to a sh valid construct
Code highlighting
Oct
21
comment Howto adapt this bash construct to a sh valid construct
Your shebang is wrong. #!/bin/sh What is BRIDGES, $RSTP etc? This is not the whole script. Also add set -x just beneath #!/bin/sh
Oct
21
suggested approved edit on Howto adapt this bash construct to a sh valid construct
Oct
20
answered grep command to display only the two words searched for separated by a comma?
Oct
16
comment how to use http proxy in terminal
Fedora 16 is EOL(End of Life). So time to upgrade!
Oct
16
comment What is the easiest way to count the amount of letters in a string entered
You don't need to use expr since this will fork another process thus occupy more resources. It is as simple as echo "${#str}"
Oct
15
comment No prompt after logging in
@ryekayo Because this has nothing to do with PATH modification. See .dotfiles mywiki.wooledge.org/DotFiles
Oct
15
comment No prompt after logging in
This indicates a PS1 problem.
Oct
15
comment Append a file, output to screen and redirect from stderr all at once, without tee
Have you looked for man tee
Oct
15
comment shortest way to replace characters in a variable
Thanks for providing execution times.
Oct
15
comment shortest way to replace characters in a variable
I think you can keep using tr. BASH's PE is good but tr is much faster in this case. e.g. echo "$OUTPUT" | tr -dc '[[:alpha:]]' since you want to have alphanumerics only
Oct
11
comment When does the empty string denote the current directory?
find has the -printf parameter to manipulate how results are shown. find . -name '*.h' -printf '%P\n' will remove the ./ prefix. See what find . -name '*.h' -print does.
Oct
11
revised shell script edited on windows displays unexpected error message
edited body
Oct
10
awarded  Custodian