Use Terminal Emulator for the first time

by Daniel Pham
Published: Updated:
This entry is part 2 of 3 in the series Linux commands: Part 1 - What is the Shell?

This article will talk about using Terminal Emulator for the first time after you understand what Terminal Emulator is through the first article of the series. Now, you will get used to it by practicing using.

Launch the terminal emulator

Now, in the operating system menu, open the Terminal program. A new window will appear with text like this:

danie@linuxmint ~ $

This is called a shell prompt, it will appear when you call the Terminal program and it will be ready for you to enter shell control commands into it.

These terminal windows may look different depending on the distribution, the distributions on RedHat will look a bit different from the Debian-based distributions. The window may have square brackets like the ones below.

[danie@linuxmint ~] $

Understand the Shell Prompt text line

Now we will find out what is the meaning of the text appearing in the terminal window? I will peel off parts of the text so you can understand what it means.

  • danie@linuxmint: danie is my username on the computer and linuxmint is a computer name.
  • ~: this is the symbol representing the current directory in which the shell is interacting. This symbol refers to your home directory, ie danie’s home directory.
  • $: This symbol represents the user’s permission level. It has 2 symbols which are $ and #. When the terminal window appears with the $ symbol, it means that you are opening a terminal with normal user. With the # symbol, you are opening a terminal with user privileges – root, this is the user with the highest permission on the system.

The terminal window when opened with the root user will look like this:

root@linuxmint ~ #

or

linuxmint ~ #

Try typing the command on the Terminal window

Now try typing something on Terminal and see what it will look like. For example, I will type the following command:

linuxmint ~ # hidanie
Use terminal emulator for the first time
Typing something on Terminal.

You will receive the hidanie: command not found message. This is obviously true, because you are interacting with the operating system and it only accepts defined commands.

Now try typing the date command and you will get the results returned on the window like this:

linuxmint ~ # date
Wed Jan 9 14:35:48 +07 2019

The first step of practicing using Terminal Emulator, hopefully you can feel nothing difficult.

(This is an article from my old blog that has been inactive for a long time, I don’t want to throw it away so I will keep it and hope it helps someone).

0 0 votes
Article Rating
Series Navigation«« Previous part: What is terminal emulator?Next part: Try some simple commands on the Terminal »»

You may also like

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments

DevOps Lite is a personal blog specializing in technology with main topics about DevOps, DevSecOps, SRE and System Administrator. Articles are shared for free and contributed to the community.

SUPPORT US

FOLLOW US

Subscribe my Newsletter for new blog posts. Stay updated from your inbox!

© 2021-2024 DevOpsLite.com – All rights reserved.

Please write sources “DevOpsLite.com” when using articles from this website.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More

2
0
Would love your thoughts, please comment.x
()
x

Adblock Detected

Please support us by disabling your AdBlocker extension from your browsers for our website.