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

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

1 Answers  


cups stands for..?

6 Answers   IBM,


How to Create NIS Server And NIS Client? Explain With Example?

1 Answers   Cisco,


What is the difference between ext3 and ext4?

0 Answers   IBM,


what is meant by mysql clustering

2 Answers  






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

3 Answers  


why you are using nis server

2 Answers  


tell me some of the Linux HotKeys do you know?

3 Answers  


there are many IPC mechanisms available in Linux ? Which one is best to use and when ?

1 Answers   Broadcom,


Tell me command which is use for create quota database in Linux.

7 Answers   Wipro,


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  


When you install RedHat what is the kernel mode ? What is kernel compilation / upgrade ?

4 Answers   IBM,


Categories