I need to remove one directory (the leftmost) from variables in Bash. I found ways how can I remove all the path or use dirname and others but it was removing a
dirname
echo a/project/hello.c | cut -d'/' -f2-