Isnare Free Articles
Authors Contents [Add OpenSearch]
Distribute your articles to more than 6,000+ sites and 40,000+ email group publisher subscribers for as low as $2 / article...
Index  Article Directory  Computers and Technology
Embed this Article  
Kurt Hartman Jr

Kurt Hartman Jr x 11 articles

Liked the article? Consider buying me a beer!

Most Recent Videos Most Recent Videos

First off, let me say that I am not one of those terminal loving Linux fans. I think it is cool and all, but I tend to save the command line for things that either require doing a massive batch job, or when I need to do something really specific.

Other than that, I stick to the Gnome GUI, and work within the parameters that various menus offer me. That works for 99% of what I need done.

However, I have found a very few commands that I need on a reasonably regular basis. Since I tend to be somewhat command line averse, I figure I'll throw them out there, for those of you who are new Ubuntu (or other type of Linux users).

Without further adieu, here they are, in order of usefulness to me:

1. ps -A : This will show you a list of all running processes, along with displaying a process id number. This command is helpful, because it is necessary when you run command #2.

2. kill -9 [insert process id number] : This tells the program associated with the process id number to die instantly. For instance, if Amarok was running with a process id number of 8077, and it was hung, or not responding, you would open up a terminal and type: kill -9 8077 . That means "Don't ask me any questions, don't ask if I want to save my work. Close immediately. Do not pass Go, do not collect $200."

3. locate : locate is a very powerful search. Basically, open up a terminal, and issue the command: locate , along with any part of a filename you want to find. locate will give you a reading where any part of that text string appears, along with giving you the exact location of the file(s) in question.

4. lspci and lsusb : Okay, so there are really 8 commands, but these two are two sides of the same coing,so I am throwing them both in together, as a kind of bonus.

lscpi , when issued, gives back a list of everything connected to the PCI bus, along with your graphics card, and some other fun stuff.

If you are having driver issues, many times, the first thing that a help forum will ask you to do, is give them what lspci prints out. lsusb does the same thing, but gives you a rundown of your USB devices. While it may seem rather redundant, especially since you can already see what is connected to your pc, I assure you, it is not. Many times, the manufacturer of the PC, will use one of the built in USB hubs to attach the webcam, a card reader, or some other piece of built-in hardware.

5. pstree : Ever accidentally kill off a process, not knowing that it was being used by a program you wanted to keep up and running? pstree can solve many of these problems. Issuing the pstree command, shows all your processes in a "treed" hierarchy, meaning you can see what process goes with what program. A must-have.

6. ifconfig : While ifconfig will let you actually configure a device, most of the time, you will be typing it to get basic feedback on your networking devices. It is especially helpful when troubleshooting your wireless ethernet. Issue the command, and it gives you back your current ip address, MAC address, and a ton of other useful information. Good stuff.

7. chown : chown , or "change ownership", allows you to do exactly that, for any given file, at any given time. For instance, if you have a public computer, and you don't want just anyone to be able to access your file (diary.txt), then you would issue the command: chown root diary.txt (assuming permissions to view or edit are only available to the owner of the file) . This would give control of the file over to root, and require a password to view.

The only exception would be if you are running your PC, under the root user, in which case, you have far greater problems than someone reading your diary.

There are many other useful Linux commands that you will learn. Hopefully, these make your day a little easier, and your time using Linux more productive.

Enjoy...I have to go now...One more thing...

The fear of the Lord is the beginning of wisdom. No one who puts their in Him, need ever be ashamed.

Rate this article:
Kurt Hartman is a 3 1/2 year veteran of Linux usage, and Head of Web Development for a company that sells heavy equipment and haul truck tires, at
Important NoticeDISCLAIMER: All information, content, and data in this article are sole opinions and/or findings of the individual user or organization that registered and submitted this article at without any fee. The article is strictly for educational or entertainment purposes only and should not be used in any way, implemented or applied without consultation from a professional. We at do not, in anyway, contribute or include our own findings, facts and opinions in any articles presented in this site. Publishing this article does not constitute's support or sponsorship for this article. is an article publishing service. Please read our Terms of Service for more information.

Most Recent Articles

MLA Style Citation:
Jr, Hartman Kurt "7 Useful Commands For Ubuntu Linux Newbies." 7 Useful Commands For Ubuntu Linux Newbies. 29 Jun. 2011 25 Jun. 2017 <>.
APA Style Citation:
Jr, Hartman Kurt (2011, June 29). 7 Useful Commands For Ubuntu Linux Newbies. Retrieved June 25, 2017, from
Chicago Style Citation:
Jr, Hartman Kurt "7 Useful Commands For Ubuntu Linux Newbies." 7 Useful Commands For Ubuntu Linux Newbies
Copy and paste the code below to embed this article:
<a class="embedly-card" href="">7 Useful Commands For Ubuntu Linux Newbies</a> <script>!function(a){var b="embedly-platform",c="script";if(!a.getElementById(b)){ var d=a.createElement(c);,d.src=("https:"===document.location.protocol?"https":"http")+"://"; var e=document.getElementsByTagName(c)[0];e.parentNode.insertBefore(d,e)}}(document);</script>