The Computer Oracle

In bash, how can I rename a file without repeating the path?

-------------------------------------------------------------------------------
Become or hire the top 3% of the developers on Toptal https://topt.al/25cXVn
-------------------------------------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Mysterious Puzzle

--

Chapters
00:00 Question
00:44 Accepted answer (Score 30)
01:12 Answer 2 (Score 65)
01:59 Answer 3 (Score 28)
02:24 Answer 4 (Score 11)
02:42 Thank you

--

Full question
https://superuser.com/questions/298081/i...

Question links:
[Reuse text on a bash command]: https://superuser.com/questions/294685/r...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#bash #rename #mv

#avk47