11,384 reputation
2654
bio website
location
age
visits member for 2 years, 7 months
seen 22 hours ago

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?
May
5
comment What is the best way to create remote tunnel?
Yep, -L means you're binding local port, so you have to open 10.0.0.10:80 instead of 50.50.50.50:80 . If you want to open 50.50.50.50:80 use -R. Also there is -C option in ssh which can compress and save your traffic a little bit.
May
5
comment What is the best way to create remote tunnel?
Keep in mind, that in case with port forwarding all your traffic between servers is plain and easily accessible for third party, while in case with ssh tunnel it is encrypted. May be this is important for you.
Apr
24
comment Split files and rename the files
@user1050619 that also is not it problem, though it wasn't specified from the beginning: use this way: split -n 5 -d -a 1 --additional-suffix=test Test ""