El Viernes, 2 de Noviembre de 2007 16:28, Walters, Mark escribió: > -----Original Message----- > From: ann kok [mailto:annkok2001@xxxxxxxxx] > Sent: Friday, November 02, 2007 6:06 AM > To: General Red Hat Linux discussion list; chuck.carson@xxxxxxxxx; > j.oloughlin@xxxxxxxxxx > Subject: Re: Which package is the mt command in? > > > Sorry to interrupt > > But If i don't have this /usr/bin/mt command in > Redhat, I only get this command from another eg: > debian or > freebsd > > how can I know the package for this command from > Redhat to install? > > Thank you > > --- John O'Loughlin <j.oloughlin@xxxxxxxxxx> wrote: > > rpm -qf /usr/bin/mt > > > > John > > > > On Thu, 1 Nov 2007, Chuck wrote: > > > Anyone know what package the mt (magnetic tape) > > > > command is included in? > > > > > Thanks, > > > CC > > > -- > > > redhat-list mailing list > > > unsubscribe > > mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe > > > https://www.redhat.com/mailman/listinfo/redhat-list > > > > > > -- > > redhat-list mailing list > > unsubscribe > > mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe > > > https://www.redhat.com/mailman/listinfo/redhat-list > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > -- > redhat-list mailing list > unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe > https://www.redhat.com/mailman/listinfo/redhat-list > > > - > Hi, as noted, if you don't have the rpm installed the "rpm -qf" won't > work. > > > To workaround this, install the rpmdb package. This package keeps track > of all redhat files and their associated rpm. The down side is you must > know the full path to it which could be tricky. If the path is unknown > I try: > Google or obvious paths ie; /usr/sbin, /sbin, /bin, /usr/bin, or pound > my head against the screen. > > # rpm --redhatprovides /bin/mt yum whatprovides mt works pretty good either. Manuel -- Manuel Arostegui Ramirez. Electronic Mail is not secure, may not be read every day, and should not be used for urgent or sensitive issues. -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list