How can I remove all characters in string after the third slash BASH?
<p>How to remove all characters in string after 3.rd slash in bash by sed or awk? <br>
I have no idea how to.<br>
eg. we have <code>http://qwe.qwe.rty/asdfgh/zxc.html</code>
and we need: <code>http://qwe.qwe.rty/</code></p>

<p>Thank you so much :)</p>