197 reputation
215
bio website gaman.pl
location Upper Silesia, Poland
age 35
visits member for 2 years, 5 months
seen Dec 5 at 19:03

I'm just an average person, that uniquely combines strict, engineering mind with a non-schematic, humanistic and magical way of looking on life and surrounding world.

Add a little bit of madness, and you'll get entire picture of me! :]

I'm a developer, both desktop and mobile, with 15+ years of experience and 50+ small-to-big projects on account. In the very same time I'm a writer with similar experience and a lot of books, articles, blog posts or own blogs ideas on account.


Oct
9
comment Two exact copies of folder using FTP and command-line only
Hm... I'm a Linux newbie, but I have to revalidate my knowledge. All my sources about rsync that I have read always claimed: You want to use rsync over FTP? You need to find another way to do this. rsync does not work that way! Look here and here for example.
Oct
9
revised Two exact copies of folder using FTP and command-line only
added 223 characters in body
Oct
9
asked Two exact copies of folder using FTP and command-line only
Sep
13
revised Scan one or all ports, on UDP or all protocols, to see if I'm getting, what I suppose to get
deleted 4 characters in body
Sep
13
revised Scan one or all ports, on UDP or all protocols, to see if I'm getting, what I suppose to get
added 2043 characters in body
Sep
13
accepted Scan one or all ports, on UDP or all protocols, to see if I'm getting, what I suppose to get
Sep
6
awarded  Teacher
Sep
6
answered Scan one or all ports, on UDP or all protocols, to see if I'm getting, what I suppose to get
Sep
6
revised Scan one or all ports, on UDP or all protocols, to see if I'm getting, what I suppose to get
added 213 characters in body
Sep
6
asked Scan one or all ports, on UDP or all protocols, to see if I'm getting, what I suppose to get
Sep
5
awarded  Commentator
Sep
5
accepted Prevent GNU screen from terminating session once executed script ends
Sep
5
comment Prevent GNU screen from terminating session once executed script ends
Hm... seems you're my life saviour! :] Extending your solution with export IGNOREEOF=1 to prevent accidential termination with Ctrl+D should give me the perfect solution, I've been looking whole long evening. THANKS! :]
Sep
5
comment Prevent GNU screen from terminating session once executed script ends
This script is executing two UDP listeners written in PHP. Though both are executed as daemons (with & at the end), due to buggy server (QNAP), they're are terminated when session ends (I was told, they shouldn't on normal Linux, if executed with &). So I'm not looking to do anything after start_udp_listeners.sh finishes, only how to prevent session from being terminated. As long as it isn't, my PHP listeners are working just fine.
Sep
5
awarded  Citizen Patrol
Sep
5
comment Prevent GNU screen from terminating session once executed script ends
Cool! Thanks for an explanation! So... back to the question... is there any way to run a command inside a detached screen/window and NOT to end that session, once command execution ends? Also, please take a look at updated question. Thank you.
Sep
5
awarded  Editor
Sep
5
revised Prevent GNU screen from terminating session once executed script ends
added 283 characters in body
Sep
5
comment Prevent GNU screen from terminating session once executed script ends
So... is there a way to open two windows (using command line only, no keyboard combinations), one to execute a script and second to prevent screen from closing? BTW: I still don't get the idea behind! If I call screen -dmS name, I create a detached window, which also has nothing left to do. But it isn't automatically closed! But when I want to execute something in that detached screen, it ends once execution is done. Why? I don't see logic here. Can have window doing nothing, but can't have window doing something and then doing nothing?
Sep
5
asked Prevent GNU screen from terminating session once executed script ends