Our Logo Image

Fernhill Linux Project

A non-profit organisation who promote and encourage the use of Linux based operating systems & open source
software by providing free IT solutions, software, support, guides and advice.

Home
About Us
About Linux
Services & Support
Guides & How To's
Software
Linux Distros
News
Links
Feedback
Donations
Contact Us
Facebook
Forums


Using A Terminal

If you have never used a terminal and dont know where it is, try holding "Ctrl and Alt " and then press "T" once.
A terminal window should now have popped up. You are ready to start.
Lets try some simple commands. Press enter after each command, and see what happens.
Please note that quotation marks contain the commands. You should not type the "quotation marks".

"date"
"cal"
"df -h"
"free -m"

"clear"
You should have seen outputs after each command, until "clear" cleared the screen.
"date" and "cal" need no explanation. "df -h" displays hard disk usage in gigabytes and percentages.
"free -m" displays information on memory usage ( ram & swap ) the second line is your ram usage.

Now try pressing the up and down arrows on the keyboard.
You should be able to see the commands you just typed.
Pressing enter on a command will run that command again.
You can also use the mouse to copy and paste commands from anywhere, in to the terminal.
Typing "exit" will close the terminal.

Do you feel like installing something useful from the terminal?

Typing "top" in to a terminal will launch the default command line process viewer.
Pressing "q" will quit top and return you to the command prompt.

We prefer using "htop" as it is more functional than top.
If you want to know what htop is, type "apt-cache search htop"
If you want to know if htop is already installed just type "htop"
To install htop from a terminal you should type
"sudo apt-get install htop"

This is safe for you to do, then type your password and press enter.
Once installed you can type
"htop" in the terminal to launch htop.

Pressing "q" exits htop.
Typing "man htop" will display the manual for htop.


The install command begins with "sudo" which gives you permission to make system wide changes.
When using
"sudo" you will be asked to enter your password to make sure you have permission to do so.

"sudo" should not be used unless you trust the command that follows it, or know what you are doing.
If you want to find out about a command such as
"apt-get" simply type "man apt-get" to view its manual.

The following guide will also be very helpful, and well worth reading
Ubuntu Community Documentation - Using A Terminal




Fernhill Linux Project would like to thank BPWebSolutions for their help and support. By using this link BPWebSolutions will also donate a small percentage of any purchases to Fernhill Linux Project.