Questions about this topic? Sign up to ask in the talk tab.

Difference between revisions of "User:XiX/Bash"

From NetSec
Jump to: navigation, search
Line 1: Line 1:
'''Bash''', which stands for '''B'''ourne-'''A'''gain '''SH'''ell, is one of the most popular 'shells' today. 'Shells' are command-line interpreters that process user input, and they are arguably the single most powerful tool at your disposal while operating a Linux platform. Understanding Bash, or any shell for that matter, is therefore highly recommended for both efficiency benefits and your understanding of the Linux platform itself. Before we begin, it's important for you to recognize that unlike MS-DOS, Bash is case-sensitive. That is, 'ID' will be interpreted differently than 'id', so ensure that you are using the correct case before executing a command. To start with, You can find it on most modern OS's, like so:
+
'''Bash''', which stands for '''B'''ourne-'''A'''gain '''SH'''ell, is one of the most popular 'shells' today. 'Shells' are command-line interpreters that process user input, and they are arguably the single most powerful tool at your disposal while operating a Linux platform. Understanding Bash, or any shell for that matter, is therefore highly recommended for both efficiency benefits and your understanding of the Linux platform itself. Before we begin, it's important for you to recognize that unlike MS-DOS, Bash is case-sensitive. That is, 'ID' will be interpreted differently than 'id', so ensure that you are using the correct case before executing a command. To start with, you can find Bash on most modern OS's, like so:
  
 
{| style="color:lime;background-color:black;" cellpadding="10" cellspacing="0" border="1" width="100%"
 
{| style="color:lime;background-color:black;" cellpadding="10" cellspacing="0" border="1" width="100%"
Line 6: Line 6:
 
|Example output
 
|Example output
 
|-
 
|-
|Find what shell you are actively using
+
|Find out what shell you are actively using
 
|echo $SHELL
 
|echo $SHELL
 +
|/bin/bash
 +
|-
 +
|Locate Bash
 +
|which bash
 
|/bin/bash
 
|/bin/bash
 
|}
 
|}
  
 
Blah blah blah
 
Blah blah blah

Revision as of 19:36, 21 May 2012

Bash, which stands for Bourne-Again SHell, is one of the most popular 'shells' today. 'Shells' are command-line interpreters that process user input, and they are arguably the single most powerful tool at your disposal while operating a Linux platform. Understanding Bash, or any shell for that matter, is therefore highly recommended for both efficiency benefits and your understanding of the Linux platform itself. Before we begin, it's important for you to recognize that unlike MS-DOS, Bash is case-sensitive. That is, 'ID' will be interpreted differently than 'id', so ensure that you are using the correct case before executing a command. To start with, you can find Bash on most modern OS's, like so:

Description Command Example output
Find out what shell you are actively using echo $SHELL /bin/bash
Locate Bash which bash /bin/bash

Blah blah blah