Who can tell me what does this mean?

Paul W. Frields stickster at gmail.com
Tue Jul 14 18:26:47 UTC 2009


On Tue, Jul 14, 2009 at 01:17:42PM -0500, Jud Craft wrote:
> On Tue, Jul 14, 2009 at 1:12 PM, Nathan
> Huang<nathan.vorbei.tech at gmail.com> wrote:
> > Hi guys
> > who can tell me what does this syntax mean?
> >
> > su -c 'rpm -Uvh /path to rpm/VMware-player-2.0.0-45731.i386.rpm'
>
> This command looks like it will ask for your root password, and then
> it will install or update the VMWare Player package.

More specifically, it switches user to root (thus prompting for
password), and runs that command as root.

The 'path to rpm' part is something you're expected to fill in with
the actual location of the rpm package file.

-- 
Paul W. Frields                                http://paul.frields.org/
  gpg fingerprint: 3DA6 A0AC 6D58 FEC4 0233  5906 ACDB C937 BD11 3717
  http://redhat.com/   -  -  -  -   http://pfrields.fedorapeople.org/
  irc.freenode.net: stickster @ #fedora-docs, #fedora-devel, #fredlug




More information about the fedora-list mailing list