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
#2
I suppose all these tutorials are all copy&paste? It would be much more honourable and helpful to post original content.
Do what thou wilt shall be the whole of the Law. Love is the law, love under will.
.::The Rights of Man::.
Reply
#3
These are actually all mine...

I made all these and I just copy and pasted from sites where I had them.
Reply
#4
(06-29-2010, 12:17 PM)Minus-Zero Wrote: These are actually all mine...

I made all these and I just copy and pasted from sites where I had them.
That's what I meant... my statement still stands. Not to say they are not quality, it really kind of diminished the authenticity of the site.
Do what thou wilt shall be the whole of the Law. Love is the law, love under will.
.::The Rights of Man::.
Reply
#5
Well should I remake my own tutorials and guides just to post here?

It's not a big deal, I'm sure there is a lot of them around.
Reply
#6
(06-29-2010, 12:37 PM)Minus-Zero Wrote: Well should I remake my own tutorials and guides just to post here?

It's not a big deal, I'm sure there is a lot of them around.
That's what I mean. There is. And it's really agitating. But cheers. I've made my point.
Do what thou wilt shall be the whole of the Law. Love is the law, love under will.
.::The Rights of Man::.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Change username in Terminal from .bashrc AceInfinity 2 1,823 04-04-2011, 05:04 PM
Last Post: AceInfinity
  Guake Drop Down Terminal g4143 9 2,123 12-06-2009, 10:24 PM
Last Post: arcofile
  Is there a way to keep terminal ontop of all other windows? nevets04 3 1,470 10-18-2009, 08:06 PM
Last Post: nevets04
  Basic terminal commands and explinations. MyNameIs940 13 4,918 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)