Bash
Command line interface or terminal - Introduction
When working in the command line, at the beginning of every line you will see the prompt.
e.g.
We are going to discuss ubuntu@ip-172-31-29-215:~$. It's built from six elements:
• your user name (e.g. ubuntu)
•@
• your server name (e.g. ip-172-31-29-215)
•:
• folder name (e.g. ~ which means your user's home directory)
•$
Your commands go after the $ sign.
ABOUT THE COMMAND LINE COMMANDS
In the command line, you interact with your server exclusively by typing commands. You don't have a cursor or a graphical user interface.
A few commonalities of bash commands:
-
They are usually created to do one simple thing and do that one thing very well.
-
The name of the commands are almost always the short form of the things
they do. (e.g. pwd stands for "print working directory".)
-
Their original function can be modified with options.