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 |
Without using w command how can Iknow that who are users logged in and what they are doing and whether they are idle or running mode?
In Linux(RHEL) server have two users with same name. one is local user and second one is NIS user. if you login the server which user will login (local or NIS)
There are 4 network Interfaces, how can we find which one is Primary.
What file should you examine to determine the defined runlevels for your system?
What are the main differences between RHEL4 & RHEL5?
What is the name and path of the main system log?
1.how to know cpu information on linux system? 2.how to hardware information on linux system? 3.if we add the new user what are the files will be changed? 4.how to remove the cache in squid server ? 5.how to know ur useing 32bit r 64 bit os ? 6.at booting process at init level which file it is reads? 7.if ur system performance is show what can u do ? 8.if ur file system corrupted what can u do ? fsck also not working? 9.how did u do health check in linux? 10.how did u check system performance in linux? 11.how did u create NIS server? give me the steps ? 12.how did u add a packages in linux ? 13.how did u know depended packages for any package useing rpm how u know? 14.how did you monitor cronjobs in linux ? 15.what is the use of logroted? and how did u do ? 16.port no is already in use so what canu do for that in http? 17.how to samba configurated are not ? there are any command for that ? 18.how to create a NTP Client using commands ? not as graphical... 19.how to know how many members are using any service? like ftp are any other services? 20.what is the differences between cmp,diff,comm commands?
What is the minimum number of partitions you need to install Linux?
Tell me command which is use for create quota database in Linux.
What is the use of DNS Server? Name other servers works same as like DNS?
What text filter can you use to display a binary file in octal numbers?
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?