how do i check which package has installed some command
suppose ls , mkdir or whatever ???

Answers were Sorted based on User's Feedback



how do i check which package has installed some command suppose ls , mkdir or whatever ???..

Answer / vidyakiran

rpm -qf /bin/ls

Is This Answer Correct ?    11 Yes 3 No

how do i check which package has installed some command suppose ls , mkdir or whatever ???..

Answer / vishal sharma

rpm -qa | grep "pakage name"

Is This Answer Correct ?    7 Yes 6 No

how do i check which package has installed some command suppose ls , mkdir or whatever ???..

Answer / susheel narayan singh

To see which package has installed.
1- In text mode

# yum list installed
or
# rpm -q

2- Go on graphic mode by pressing ctrl+alt+f7

#pirut

Is This Answer Correct ?    2 Yes 1 No

how do i check which package has installed some command suppose ls , mkdir or whatever ???..

Answer / swapnil

rpm -qf `which ls`

Is This Answer Correct ?    1 Yes 3 No

how do i check which package has installed some command suppose ls , mkdir or whatever ???..

Answer / vidyakiran

rpm -qa /usr/bin/ls
gives you from which rpm the "ls" command is installed.

Is This Answer Correct ?    5 Yes 8 No

how do i check which package has installed some command suppose ls , mkdir or whatever ???..

Answer / tyagi

#rpm -qa then enter.
show all package are installed.

Is This Answer Correct ?    0 Yes 3 No

how do i check which package has installed some command suppose ls , mkdir or whatever ???..

Answer / nitish porwal

rpm -qa | grep 'package name'

Is This Answer Correct ?    3 Yes 7 No

how do i check which package has installed some command suppose ls , mkdir or whatever ???..

Answer / manoj

rpm -qa | grep <package name>
yum install <package name> it will show already installed
or not if not then it will install
Pirut same as yum

Is This Answer Correct ?    1 Yes 9 No

Post New Answer

More Linux AllOther Interview Questions

why /etc/shadow file do not have any permission ?

0 Answers   IBM,


How to findout, if the user is local user or NIS user in the Linux (RHEL)?

1 Answers  


I want to send pop-up message to samba users when they access the shared folder.... for eg: i want to tell them (dont copy mp3 and video files)

2 Answers  


Which directory is closer to the top of the file system tree, parent directory or current directory?

3 Answers  


What utility can you use to automate rotation of logs?

2 Answers  






1. User gaves df -h and the system get hanged. why ? 2. what is the hardlink and softlink mount ? 3. why is portmape should be started ? 4. what is nologin option 5. how to restrict users from accessing nfs ? 6. what is the difference between cpio and tar 7. what are the kernel parameters ? how to find out it ? 8. why we use sysctl.conf ? 9. if we gives init1 from multiuser runlevel, will it affect other users who already logged in to the system ? 10. what will be the available space to use after configuering raid5 with 5 disks each having 5gb spce ?

0 Answers   Oracle,


what is the difference between NIS and DNS...?

5 Answers   IBM,


what are the different types of Backups..?

6 Answers   IBM, SDG,


how to recollect root password

3 Answers   Google,


am installed windows and later i installed ubuntu i want to unistall ubuntu can any one tel the procedure to uninstall ubuntu in my windows 7 please mail to me ---kiranpulsar2007@gmail.com and later i want to install ubuntu after uninstalling ubuntu tel the procedure for that also i dont know to patrition the hard disk drive please tel to them please reply

1 Answers  


what is the gate of ftp server in redhat linux?

0 Answers  


i want to install XP on RHEL5 with virtualization tell me step by step configuration

1 Answers  


Categories