11,454 reputation
2654
bio website
location
age
visits member for 2 years, 7 months
seen yesterday

2d
comment sed regex issue
Do not redirect file to itself. In the end you may stay with an empty file. Use sed -i (only for gnu sed) instead or separate temporary file. Also you can use \s instead of [[:space:]] as it also includes \t and all other whitespaces.
2d
answered Print last element of each row
Jul
17
comment Excessively high disk usage freezes my server
Logs? Did you check logs? like /var/log/messages or /var/log/dmesg.0 and so on?
Jul
3
accepted force ssh to change dir after login based on config
Jul
3
comment force ssh to change dir after login based on config
Nope, unfortunately ports usually are the same for different projects on one machine. Ports may differ only between machines.
Jul
3
asked force ssh to change dir after login based on config
Jul
2
awarded  Curious
Jun
18
awarded  Constituent
Jun
9
awarded  Caucus
May
30
awarded  Enlightened
May
30
awarded  Nice Answer
May
28
comment Queue a task in a running shell
Nope, unfortunately it doesn't scale to multiple tasks. In construction sleep 100 ; echo test echo will be executed immediately after ctrl+z.
May
26
revised Queue a task in a running shell
deleted 7 characters in body
May
26
answered Queue a task in a running shell
May
22
awarded  Nice Answer
May
8
awarded  sed
May
7
comment How can I use Unix to rename all html files by their titles?
@InquilineKea I modified the loop to also check if file already exists and if yes it will try to add existing filename to the title. Also a bit more detailed sed explanation is added.
May
7
revised How can I use Unix to rename all html files by their titles?
additional way to avoid file overwrite. sed explanation.
May
7
comment How can I use Unix to rename all html files by their titles?
@InquilineKea in case with multiple titles the first one will be used. In case with the same titles currently it files will be overwritten.
May
7
answered How can I use Unix to rename all html files by their titles?