cHeeZeFacTory
Golden Member
I have a bash script that reads in path entered by a user,
read new_path
echo ${new_path}
right now if the user enters in a path like, "~/projects", I get of course, "~/projects".
How do i make it so the echo displays the full path (e.g. "/home/usrA/projects") ?
read new_path
echo ${new_path}
right now if the user enters in a path like, "~/projects", I get of course, "~/projects".
How do i make it so the echo displays the full path (e.g. "/home/usrA/projects") ?