<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class=""><pre class=""><code class="">$sudo grep -i -a -B100 -A100 'string' /dev/sda1 > file.txt</code></pre></div><a href="https://unix.stackexchange.com/questions/2677/recovering-accidentally-deleted-files/2680#2680" class="">https://unix.stackexchange.com/questions/2677/recovering-accidentally-deleted-files/2680#2680</a><div class=""><br class=""></div><div class="">Good luck!<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 9 Jul 2020, at 05:53, BALL SUN <<a href="mailto:paulrbk@gmail.com" class="">paulrbk@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hi<br class=""><br class="">I need an urgent help, I accidentally pipe the output to the kamailio<br class="">config, and now I lost the copy of my latest setting, is there a<br class="">chance that I can dump the running config back to file?<br class=""><br class="">Thanks<br class=""><br class="">PLEASE HELP<br class=""><br class="">RBK<br class=""><br class="">_______________________________________________<br class="">Kamailio (SER) - Users Mailing List<br class=""><a href="mailto:sr-users@lists.kamailio.org" class="">sr-users@lists.kamailio.org</a><br class="">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users<br class=""></div></div></blockquote></div><br class=""></div></body></html>