Question for Unix Gurus
I'm sure there is a way to do this with a *nix command but I'm at a complete loss...
I have a group of data...like the following
domain.com/subdir/yadayada.php?sqiggly,;lkjsdf;lkajsdf
domain.com/subdir/stuff.php
domain.com/lalbasdf.php12341234
etc
is there a way to chop off the trailing items just leaving
the
domain.com/subdirs
and
domain.com
?
thanks in advance...
__________________
Investor with 5m - 15m USD to invest. Do you have a site or network of sites earning 50k - 200k a month income? Email your contact and preliminary data to: domain.cashventures (at) gmail.com....Please...no tire kickers...serious offers and inquiries only.
|