656 reputation
47
bio website nsg.cc
location Sweden
age 31
visits member for 3 years, 7 months
seen yesterday

Mar
19
awarded  Yearling
Oct
25
awarded  Scholar
Oct
25
comment Bash overwrites the first line, PS1 bash prompt
True, I had forgotten this one. Thanks for the reminder.
Oct
25
accepted Bash overwrites the first line, PS1 bash prompt
Mar
19
awarded  Yearling
Oct
4
awarded  Self-Learner
Oct
4
awarded  Student
Oct
4
awarded  Commentator
Oct
4
comment GPU computing without X?
Take a look at Xvfb or something similar.
Oct
4
comment Bash overwrites the first line, PS1 bash prompt
I will not accept my own answer if someone else want to give a better and more informative answer who explains the situation in more detail.
Oct
4
answered Bash overwrites the first line, PS1 bash prompt
Oct
4
asked Bash overwrites the first line, PS1 bash prompt
Oct
4
answered What is keeping Wayland from overthrowing X in Linux?
Sep
19
comment How to make sure only one instance of a bash script runs?
Axel: Sure, sounds like a good idea. I Also recommend Bruce Ediger's mkdir based answer.
Sep
18
revised How to make sure only one instance of a bash script runs?
added 97 characters in body
Sep
18
comment How to make sure only one instance of a bash script runs?
manatwork: nice idea, I will update my answer.
Sep
18
comment How to make sure only one instance of a bash script runs?
I have never used lsof for this purpose, I this it should work. Note that lsof is really slow in my system (1-2 sec) and most likely there is a lot of time for race conditions.
Sep
18
revised How to make sure only one instance of a bash script runs?
added 60 characters in body
Sep
18
comment How to make sure only one instance of a bash script runs?
ops :) Yes, race conditions is a problem in my example, I usually write hourly or daily cron jobs and race conditions are rare.
Sep
18
answered How to make sure only one instance of a bash script runs?