1,160 reputation
26
bio website
location The Netherlands
age
visits member for 1 year
seen 13 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.


Oct
29
answered Why does Bash history not record this command?
Oct
29
comment Why does Bash history not record this command?
you need to set +H to make it work
Oct
29
comment Next day of the user entered date - date +1 day
Oh I totally missed AIX.It would be a matter of looking at the date manual on AIX.
Oct
28
answered Next day of the user entered date - date +1 day
Oct
25
comment How do I reload ~/.dir_colors?
This seems to be a duplicate. I've posted here a description. unix.stackexchange.com/questions/86705/…
Oct
15
comment Awk not rendering any result
You have not explained what you really want. This is a broken code.
Oct
13
comment How can I get my sed command to make permanent changes to a file?
The -e flag stands for expression. You probably want the -i flag which means in-place and I strongly recommend you to use sed -i.bak 's/../' filename
Oct
11
comment Why does copying from a script screw with my files?
The * does not expand within double quotes. So that's wrong to start with.
Oct
8
comment Running python script from Linux Terminal
@Xufyan You first need to locate python2 by typing type -p python2 See where the binary is located and put it in the files' header.
Oct
8
comment Running python script from Linux Terminal
Most probably the file is not chmoded. python pyAES.py or chmod +x pyAES.py && ./pyAES.py should do the job
Oct
8
comment No route to host using ssh
@GhostAnswer delete the 192.168.24.0 and 169.254.0.0 network then add 192.168.24.0 and things will work just fine. BTW, don't put a space in @ val0x00ff otherwise I won't get notifications.
Oct
8
comment No route to host using ssh
@GhostAnswer Please show route -n or netstat -rn You've some routing issues.
Oct
8
comment No route to host using ssh
Look for any firewall on ServerB which might block the ssh connection. Use telnet as in telnet xx.xx.xx.2 22 to test the connection. But first use ping xx.xx.xx.2 and see if you get any response. Finally iptables -F; iptables -X might also help.
Oct
8
comment shell script to print rows if there is a value in column 2
or awk '$2 ~ /2/ && $NF ~ /'TEST'/ {print }' filename
Oct
4
comment Iptables to allow incoming FTP
Cool it worked and glad I pointed you to the right direction. Please mark your own answer as solved so you help other people who seek for the right answer.
Oct
4
comment Iptables to allow incoming FTP
Well, you can add NEW,ESTABLISHED but that shouldn't matter. A connection is first always in a NEW state then it jumps to RELATED which indicates that this connection is related to an already permitted connection. When the connection changes to ESTABLISHED state it informs us that a connection has been established on both sides (server / client). You might try -m state --state ... instead.
Oct
4
comment Iptables to allow incoming FTP
@Being Gokul, That's correct. We can control our server on what ports it should listen for client connections. However in a passive mode, we must use --sport to be an unprivileged mode to privent firewall problems and let clients connect to the server.
Oct
4
comment Iptables to allow incoming FTP
I forgot to mention that --sport 1024: and --dport 1024: mean that we are including all ports in the range 1024:32535 which are unprivileged ports, meaning that users with no privilege access can use these ports to test their applications.
Oct
4
answered Iptables to allow incoming FTP
Oct
4
comment How do the internals of sudo work?
+1 Great exlpanation slm