{
	"id": "fc3362ae-6a7c-4326-bb2f-6f669a7c41e2",
	"created_at": "2026-04-06T00:11:55.786551Z",
	"updated_at": "2026-04-10T13:13:04.22094Z",
	"deleted_at": null,
	"sha1_hash": "5cb430cc1144023f9ffbd49f32dfc801e16ac598",
	"title": "source or dot operator Man Page",
	"llm_title": "",
	"authors": "",
	"file_creation_date": "0001-01-01T00:00:00Z",
	"file_modification_date": "0001-01-01T00:00:00Z",
	"file_size": 53316,
	"plain_text": "source or dot operator Man Page\r\nArchived: 2026-04-05 17:52:52 UTC\r\nSS64\r\nLinux\r\nHow-to\r\nRead and execute commands from the filename argument in the current shell context.\r\nSyntax\r\n . filename [arguments]\r\n source filename [arguments]\r\nsource is a synonym for dot/period '.' in bash, but not in POSIX sh, so for maximum compatibility use the period.\r\nWhen a script is run using source it runs within the existing shell, any variables created or modified by the script\r\nwill remain available after the script completes. In contrast if the script is run just as filename, then a separate\r\nsubshell (with a completely separate set of variables) would be spawned to run the script.\r\nThere is a subtle difference between executing a script by running .ss64script (dot ss64script) and . ss64script (dot\r\nspace ss64script)\r\nthe first is running a file thats been hidden from the 'ls' command, (although ls -a will show hidden files) the\r\nsecond option will execute ss64script even if it has not been set as an executable with chmod.\r\nUnless you provide an exact path to filename then bash will look first via the PATH variable and then in the\r\ncurrent directory (only if filename is not found in $PATH .) If any arguments are supplied, they become the\r\npositional parameters when filename is executed. Otherwise the positional parameters are unchanged.\r\nWhen a script is run using 'source' it runs within the existing shell, any variables created or modified by the script\r\nwill remain available after the script completes.\r\nIf a script is run just as ss64script, then a separate subshell (with a separate set of variables) will be spawned to run\r\nthe script.\r\nOther ways that the bash shell can interpret a dot/period:\r\nA dot can represent the current directory (\"./filename\")\r\nIn a regular expression, \".\" will match any single character, (not zero or more characters.)\r\nThis is a BASH shell builtin, to display your local syntax from the bash prompt type: help [s]ource\r\nhttps://ss64.com/bash/source.html\r\nPage 1 of 2\n\nThe return status is the exit status of the last command executed, or zero if no commands are executed. If filename\r\nis not found, or cannot be read, the return status is non-zero.\r\nThis is a BASH shell builtin, to display your local syntax from the bash prompt type: help source\r\nExamples\r\n$ source ~/demoscript\r\n“Although the world is full of suffering, it is also full of the overcoming of it” ~ Helen Keller\r\nRelated Linux commands\r\ncommand - Run a command - ignoring shell functions.\r\nbuiltin - Run a shell builtin.\r\ncrontab - Schedule a command to run at a later time.\r\nchroot - Run a command with a different root directory.\r\nexec - Execute a command.\r\nif - Conditionally perform a command.\r\nnohup - Run a command immune to hangups.\r\nsu - Run a command with substitute user and group id.\r\ntype - Describe a command.\r\nwatch - Execute/display a program periodically.\r\nEquivalent Windows command: SETLOCAL - Set options to control the visibility of variables.\r\nCopyright © 1999-2026 SS64.com\r\nSome rights reserved\r\nSource: https://ss64.com/bash/source.html\r\nhttps://ss64.com/bash/source.html\r\nPage 2 of 2",
	"extraction_quality": 1,
	"language": "EN",
	"sources": [
		"MITRE"
	],
	"origins": [
		"web"
	],
	"references": [
		"https://ss64.com/bash/source.html"
	],
	"report_names": [
		"source.html"
	],
	"threat_actors": [],
	"ts_created_at": 1775434315,
	"ts_updated_at": 1775826784,
	"ts_creation_date": 0,
	"ts_modification_date": 0,
	"files": {
		"pdf": "https://archive.orkl.eu/5cb430cc1144023f9ffbd49f32dfc801e16ac598.pdf",
		"text": "https://archive.orkl.eu/5cb430cc1144023f9ffbd49f32dfc801e16ac598.txt",
		"img": "https://archive.orkl.eu/5cb430cc1144023f9ffbd49f32dfc801e16ac598.jpg"
	}
}