BASH Shellscript get username from folder path – Debian
Given a folder path that has /home, I would like to scrape the username from the folder path. (A little home work, trying to compare folder username to actual owner of the folder, which can be determined with a quick…