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

Where is standard output usually directed?

2 Answers  


Why is it suggested to disable journalism in ext4 filesystem?

0 Answers   IBM, TCS,


someone already asked 'what is diff between unix & Linux' can I ask the same but more nuanced...I have 7 years app support of unix, have never seen Linux BUT need to bluff my way through in an interview i e say that I have use Linux. What are the most important things I need to know?

1 Answers  


What file should you examine to determine the defined runlevels for your system?

7 Answers  


plz mention some interesting problems you faced and how you solved it?

0 Answers  






In how many ways linux can be installed n explain th steps involved in installation in any of the method..?

1 Answers   IBM,


What utility can you use to automate rotation of logs?

2 Answers  


How to catagories tickets in RHEL, which tickets are belong to PROBLEM, INCIDENT and CHANGE management? please given to me with examples

0 Answers  


What are the questions we are expecting for 2yrs. experience guy for linux company interview questions?

1 Answers  


What is the difference between Telnet and SSH?

17 Answers   Bayer, KTree,


What are the main differences between RHEL4 & RHEL5?

11 Answers  


expalin the process of kickstart installation?

1 Answers   HCL, IBM,


Categories