how do i check which package has installed some command
suppose ls , mkdir or whatever ???
Answers were Sorted based on User's Feedback
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 |
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 |
Answer / tyagi
#rpm -qa then enter.
show all package are installed.
| Is This Answer Correct ? | 0 Yes | 3 No |
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 |
What are the questions we are expecting for 2yrs. experience guy for linux company interview questions?
What is the minimum number of partitions you need to install Linux?
What are RPM?s, what do they offer?
How to convert an IP address to a Domain name using Unix ?
My Linux server in the two lan card one lan card is ok working but second lan card after restart daily lan card deactivate and then manual activate then properly working but after restart repeat this problem.(Fedora O.S.) Pls tell me solved this problem.
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?
What is the difference between Telnet and SSH?
in linux gui desktop icon was lost how con u back this icons
How to apply patch for multiple servers .
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 ?
expalin the process of kickstart installation?
I have accidently deleted my fstab... how do i recover/ regenerate the file?????? in rescue mode i cannot create a new file since the filesystem is readonly and could not mount in readwrite mode ?????????