Forrest logo
back to the . tool

mpg123:tldr:5058f

mpg123: Fast forward.
$ .
try on your machine

The command "." is commonly known as the "dot command" or "source command" in computer systems. It is used to execute commands or scripts within the current shell session.

When executed, it reads and interprets the contents of the given file as if they were directly entered into the command prompt. This allows the commands or settings in the file to affect the current shell session directly.

The dot command is often used in Unix-like operating systems, such as Linux or macOS, to execute shell scripts, environment variable configuration files, or any other file containing valid shell commands.

For example, if you have a script file named "my_script.sh" containing a set of commands, you can execute it in the current shell by using the dot command like this:

. my_script.sh

This will read and execute the commands within "my_script.sh" in the current shell session, allowing the script's effects to be reflected in the current environment.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the . tool