Linux – What Does ‘./’ Mean in Linux Shell?

command linescripts

What does the command ./ mean? For example, sometimes we call a file with ./config, sometimes ../config, thanks

Best Answer

./config means you're calling something in the current working directory. In this case config is an executable. You have to specify the path for executables if they're outside your $PATH variable and that's why config isn't enough.

../config would be used if the config executable were in the parent of the current working directory.

Related Question