source

Basic Linux Command Example: 

 

Get help on Linux source Command.

 

   Linux source command is use to execute commands from a file in the current shell on Linux system.  The Linux source command is one of bash shell built in command.  The command example below show how to get source command manual or help on Linux source command using shell command, this help show information on how to use the Linux source command, the source command options and the arguments that can be use with Linux source command.

 

Get Linux source command help

 

  Execute help command and the name of Linux command that we want the help file, the example below we execute help command with -m option to get the help for source command using the manpage format.

source linux command

[linux@fedora11 ~]$ help -m source

NAME

    source - Execute commands from a file in the current shell.

 

SYNOPSIS

    source filename [arguments]

 

DESCRIPTION

    Execute commands from a file in the current shell.

 

    Read and execute commands from FILENAME in the current shell.  The

    entries in $PATH are used to find the directory containing FILENAME.

    If any ARGUMENTS are supplied, they become the positional parameters

    when FILENAME is executed.

 

    Exit Status:

    Returns the status of the last command executed in FILENAME; fails if

    FILENAME cannot be read.

 

SEE ALSO

    bash(1)

 

IMPLEMENTATION

    GNU bash, version 4.0.16(1)-release (i386-redhat-linux-gnu)

    Copyright (C) 2009 Free Software Foundation, Inc.

    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

 

[linux@fedora11 ~]$

 

Keywords: source, source command, linux source command, source linux command, linux command source, source command manual, source manual, source help, help source, command source help, help source command