Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-02-2012, 11:49 PM   #1
LQ Newbie
Registered: Jun 2012
Posts: 10

Rep: Reputation: Disabled
Smile Function of Root??????????

What's the difference of:

root @ lupi:/home/lupi/boc-wimax/examples #


root @ lupi: ~ boc-wimax/examples #

When I build the boc-wimax, I put this software in the home directory.

The resulting output will be the same, if I use root @ lupi:/home/lupi/boc-wimax/examples # , isn't it???

So, what is function of root, will be aplication to be installed should go to root directory ??

Can anybody help me on this, give link to step by step documentation, hints, or suggestions?

Thank for advance..

Last edited by upindah; 07-02-2012 at 11:51 PM.
Old 07-03-2012, 12:17 AM   #2
Senior Member
Registered: Apr 2007
Location: Bangalore, India
Distribution: RHEL,SuSE,CentOS,Fedora,Ubuntu
Posts: 1,386

Rep: Reputation: 135Reputation: 135
root @ lupi:/home/lupi/boc-wimax/examples #
root @ lupi: ~ boc-wimax/examples #
are same and the result will be same.

root is the super user having all privileges in th OS.

When you get
in your prompt , then you are logged in as root.

If the path to your installed application is added in you
variable, then you dont have to go to that path everytime, you can execute it from anywhere.

run this to get the paths added in PATH:

echo $PATH


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How can a friend function access a public function from a base class? lesca Programming 1 11-17-2010 01:56 PM
Passing data from interrupt handler function to tasklet function in kernel programmin double-out Programming 2 05-18-2010 10:10 PM
[SOLVED] Threaded function cannot call a function with extern "C" but nonthreaded function can morty346 Programming 16 01-12-2010 05:00 PM
how to print function names & parmaters each time control enters the function? tanniru Linux - Networking 1 09-11-2008 01:21 AM
Compilation issue when Function is parameter in function call on LINUX sa20358 Linux - Software 2 07-24-2008 10:19 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:43 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration