What Is Dot Command in Linux?
Contents

The dot command ( . ), aka full stop or period, is a command used to evaluate commands in the current execution context. In Bash, the source command is synonym to the dot command ( . ) … filename [arguments] Execute commands from a file in the current shell. Read and execute commands from FILENAME in the current shell.

What is dot shell?

(dot) is a special built-in shell command. The file specified is treated as a shell script containing shell commands. Files that are not shell scripts (such as REXX execs, executable programs) should not be specified as file.

What does a dot mean in command prompt?

Any one who has done a dir from the command line is familiar with them: The first, single dot or period means this directory. The double dot or periods means the parent directory (the next one up the tree). I verified that they can be used to navigate directories with the cd (change directory) command.

Marcus Vance

Marcus Vance

Cybersecurity & Digital Privacy Researcher

Marcus Vance is a cybersecurity auditor and technology writer dedicated to educating the public about online safety, data privacy regulations, enterprise security, and emerging cyber threats.

Share this article
Twitter Facebook Pinterest