help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to trim a path and just leave last n levels?


From: Peng Yu
Subject: How to trim a path and just leave last n levels?
Date: Tue, 14 Apr 2020 09:22:17 -0500

Hi,

basename just leaves the last level in a path. Is there a good way to
leave the last two levels or the last n levels of a path? Thanks.

-- 
Regards,
Peng



reply via email to

[Prev in Thread] Current Thread [Next in Thread]