Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

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

7 Answers  


User unable to login in server then how can u troubleshooting it? Example: server at Bangalore. in that server two users try to login in server. 1st user able to login. but second user unable to login so how can troubleshoot it ?

5 Answers   Oracle,


How find out drivers of installed devices in linux (RHEL)?

2 Answers  


what is the difference betweenh the NFS and FTP?

4 Answers   IBM,


I want to configure production interface and manage interface, how to configure both interfaces in Linux. please post the answers

0 Answers  


What is LILO?

11 Answers   Cisco,


How to check all open ports on linux machine and block unsed ports????????

7 Answers   Tech Mahindra,


How to build new filesystem ? and what is irig file system?

3 Answers  


expalin the process of kickstart installation?

1 Answers   HCL, IBM,


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,


cups stands for..?

6 Answers   IBM,


What is the difference between ext3 and ext4?

0 Answers   IBM,


Categories