Article 4RBKF [SOLVED] What is the meaning of ./ in (for example) ./filename

[SOLVED] What is the meaning of ./ in (for example) ./filename

by
JeremyBoden
from LinuxQuestions.org on (#4RBKF)
If I run a CLI script in my /home/username directory I need to enter something like:- ./filename.

I can understand the presence of the dot - perhaps indicating the current directory, but why the /? Note that neither of ./ filename or .filename work.

If filename is located in a sub-directory of my current directory (~/home) then I need to enter something like .//Desktop/filename.

I don't have a problem with this - but it doesn't seem very consistent does it?latest?d=yIl2AUoC8zA latest?i=-VpPQXnFy0o:p4AUN3IGrLw:F7zBnMy latest?i=-VpPQXnFy0o:p4AUN3IGrLw:V_sGLiP latest?d=qj6IDK7rITs latest?i=-VpPQXnFy0o:p4AUN3IGrLw:gIN9vFw-VpPQXnFy0o
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments