1,126 reputation
514
bio website
location
age
visits member for 2 years, 6 months
seen 15 hours ago

Oct
15
revised Is there a way to see if process listening on TCP port receives a message?
added 23 characters in body
Oct
15
revised Is there a way to see if process listening on TCP port receives a message?
deleted 2 characters in body
Oct
14
awarded  Enlightened
Oct
14
awarded  Nice Answer
Oct
14
answered Is there a way to see if process listening on TCP port receives a message?
Oct
7
comment combining find with other commands: when to use -exec and when to use pipe?
stackoverflow.com/questions/26234041/…
Oct
6
revised Comma separated words to next line in new file
added 251 characters in body
Oct
6
answered Comma separated words to next line in new file
Oct
6
answered How to escape single quotes correctly creating an alias
Oct
3
awarded  Autobiographer
Oct
3
answered Long start time of MC due to bash function
Oct
3
comment Long start time of MC due to bash function
It is waiting for input from stdin, as far as I understand. 3021 13:58:57 read(0, <unfinished ...> 3019 13:59:06 <... select resumed> ) = 0 (Timeout)
Oct
3
comment Long start time of MC due to bash function
If so you can instead of running mc run strace -f -t -o calls.txt mc` and look for long syscalls in calls.txt.
Oct
3
comment Long start time of MC due to bash function
strace -c is a wrong idea. What you need to do it to attach with strace in another session to your MC process when it suddenly freezes. something like strace -t -f -p $(pidof mc). Or to do the same with gdb
Oct
3
comment Long start time of MC due to bash function
Why not attach to mc with gdb or strace, check where it is waiting and add this info to your question?
Oct
3
comment How to rename multiple files by inserting numbers
You have not said anything about how to choose 0 or 1 or 2 when renaming. You then need to add these rules in your question
Oct
3
comment How to rename multiple files by inserting numbers
Using bash: for f in $(find . -name "pairs?_10.mp3"); do mv "$f" "${f%?_10.mp3}0${f#./pairs}" ; done;
Sep
29
comment Why when I ssh into one server it shows bash and the other have my username?
You are asking about a bash prompt which you can setup with setting PS1: gnu.org/software/bash/manual/bashref.html#index-PS1 and gnu.org/software/bash/manual/bashref.html#Printing-a-Prompt
Jun
17
awarded  Constituent
Jun
10
awarded  Caucus