Greg Pittman

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/