LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 07-03-2012, 12:49 AM   #1
upindah
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 #

with

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-03-2012 at 12:51 AM.
 
Old 07-03-2012, 01:17 AM   #2
divyashree
Senior Member
 
Registered: Apr 2007
Location: bbsr,orissa,India
Distribution: RHEL5 ,RHEL4,CENT OS5,FEDORA,UBUNTU
Posts: 1,362

Rep: Reputation: 135Reputation: 135
Quote:
root @ lupi:/home/lupi/boc-wimax/examples #
and
Quote:
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
Quote:
#
in your prompt , then you are logged in as root.

If the path to your installed application is added in you
Quote:
PATH
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:

Quote:
echo $PATH
http://lmgtfy.com/?q=linux+root+path
 
  


Reply


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 02:56 PM
Passing data from interrupt handler function to tasklet function in kernel programmin double-out Programming 2 05-18-2010 11:10 PM
[SOLVED] Threaded function cannot call a function with extern "C" but nonthreaded function can morty346 Programming 16 01-12-2010 06:00 PM
how to print function names & parmaters each time control enters the function? tanniru Linux - Networking 1 09-11-2008 02:21 AM
Compilation issue when Function is parameter in function call on LINUX sa20358 Linux - Software 2 07-24-2008 11:19 PM


All times are GMT -5. The time now is 11:01 AM.

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