83,602 reputation
1092198
bio website
location European Union
age
visits member for 2 years
seen 24 mins ago

2h
awarded  Nice Answer
5h
comment Can find work more efficiently to delete a large number of old files?
That calls one rm per file. rm accepts more than one file as argument, so -exec rm -rfv {} + is going to be a lot faster.
5h
comment Can find work more efficiently to delete a large number of old files?
Note that deleting a file will set the modification time of the directory it is linked to.
13h
comment Sourcing bashrc file fails with ssh -t
If you want cmd to be executed by that bash then use the PROMPT_COMMAND method. Or do you mean that you want that cmd to be executed just before bash exits?
13h
comment Sourcing bashrc file fails with ssh -t
@Forethinker, you mean after bash has exited? ssh -t serva 'bash; cmd'
13h
answered Sourcing bashrc file fails with ssh -t
14h
comment Sourcing bashrc file fails with ssh -t
Also note that bash already interprets ~/.bashrc when invoked over ssh (with and without -t and even when non-interactive like when passed a command like source ~/.bashrc (which causes sshd to run bash -c 'source ~/.bashrc')).
14h
comment How to make `less -FX' play nice with a 2-line shell prompt
What would you like it to do? Lose the last line instead of the first line? Have the shell not write the first line of its prompt after running less?
14h
revised Loop in WildCard as Input of Script
added 560 characters in body
15h
revised Loop in WildCard as Input of Script
added 18 characters in body
15h
answered Loop in WildCard as Input of Script
15h
comment How can I parse my String using regular expression to get only certain number of matches?
Why do you care? Use (?:...) with perl/PCRE REs to avoid creating a capture group.
20h
revised Search in mutt by date and time
added 373 characters in body
20h
answered Search in mutt by date and time
20h
comment Bash STDERR still appearing after redirection
You should be able to delete your own question.
21h
comment What is the significance of the “wheel” group?
See unix.stackexchange.com/q/1262/22565 I'd be tempted to vote it as a duplicate?
21h
reviewed Edit suggested edit on Search in mutt by date and time
21h
revised Search in mutt by date and time
Improved format
22h
revised Bash -c with positional parameters
added 216 characters in body
22h
comment `seq` and bash brace expansion failing
@mikeserv, yes Pourquoi faire simple quand on peut faire compliqué ? like they say in France.