Louisville, KY
Greg is a retired neurologist in Louisville, Kentucky, with a long-standing interest in computers and programming, beginning with Fortran IV in the 1960s. When Linux and open source software came along, it kindled a commitment to learning more, and eventually contributing. He is a member of the Scribus Team.
Authored Comments
I have found in the past that sometimes you need to use ./ to force some command to use the current directory, such as when you have downloaded an RPM outside a repository.
rpm -ivh ./SomeRPM.rpm
dnf install ./SomeRPM.rpm
You left out about relative directories, from the current working directory.
./somefile.txt designates a file in the current directory.
../someotherfile.txt is in the directory above.
../../../someremotefile.txt is in a directory 3 levels above.
I mostly use ~/ when, for example, I might want to move (mv) or copy (cp) a file from the current directory to some other directory relative to my home directory.
cp chosenimage.jpg ~/SpecialImages/