Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using Linux Terminal
#1
Using The Linux Terminal


Hello and welcome to my first tutorial on using the linux terminal. This tutorial will just say something about using the terminal and other basic information. So let us begin!

Getting Started
First off lets open up the terminal, if you dont know where it is it is at
Applications>Accessories>Terminal
Now that it is open you will see something that has your Username@ComputerName:~!
First part is the Username, and the second part is the name of the computer.
After that you see this " ~ " this key stands for Home. As in the Home directory.
Then the final symbol you see is " $ " this stands for what permission you have. Its means your not a root user.
You can temporarily recieve root permissions by typing
Quote:sudo bash
Into the terminal and hitting enter.
Your not automatically made root user because its Ubuntu's way of keeping you safe.

Now onto commands!

Ok here are some commands that you can use, i also added a definition to each.

Quote:Sudo apt-get update
Updates the repositiroies

Quote:Sudo apt-get install (Insert Program Name)
Will Install the package, like Compiz Fusion (thats not the name to use tho)
It installs the files from the repositories

Quote:Sudo apt-get upgrade
Will upgrade your computer

Quote:Sudo apt-get remove (Program Name)
This will remove a program

Quote:ls
Will list all files/folders in the current directory. Like if you ls in the home directory it will come up with.
[Image: Screenshot-3.png]
Quote:pwd
Shows current directory

Quote:Cd (path)
This moves the terminal to the specified directory.
Starts here-
[Image: Screenshot-1-2.png]
Moves here-
[Image: Screenshot-2-1.png]

Quote:Cd ..
Moves you up one directory

Quote:Cp (file) (directory)
This just copies a file into a directory. Like cp love.txt Pictures That would copy the file love.txt into the directory Pictures.

Quote:mv
Moves things

Quote:du
Displays File space usage
Quote:free
Displays memory usage

Quote:history
Displays Command History

Quote:kill
Stop process from running

Quote:locate
Find files

Quote:mkdir
Creates a directory

Quote:rm
Remove file

Quote:rmdir
Remove directory


That is all for now =D
Reply


Messages In This Thread
Using Linux Terminal - by Minus-Zero - 06-29-2010, 11:43 AM
RE: Using Linux Terminal - by Canoris - 06-29-2010, 12:08 PM
RE: Using Linux Terminal - by Minus-Zero - 06-29-2010, 12:17 PM
RE: Using Linux Terminal - by Canoris - 06-29-2010, 12:23 PM
RE: Using Linux Terminal - by Minus-Zero - 06-29-2010, 12:37 PM
RE: Using Linux Terminal - by Canoris - 06-29-2010, 12:49 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Change username in Terminal from .bashrc AceInfinity 2 1,738 04-04-2011, 05:04 PM
Last Post: AceInfinity
  Guake Drop Down Terminal g4143 9 1,921 12-06-2009, 10:24 PM
Last Post: arcofile
  Is there a way to keep terminal ontop of all other windows? nevets04 3 1,278 10-18-2009, 08:06 PM
Last Post: nevets04
  Basic terminal commands and explinations. MyNameIs940 13 4,469 10-08-2009, 04:53 PM
Last Post: Gone
  How to get back the terminal 0 297 Less than 1 minute ago
Last Post:

Forum Jump:


Users browsing this thread: 1 Guest(s)