Tips: Linux: How to hide all errors in ‘find’ command


find / -name 2>/dev/null

Advertisements

RPM Interview Questions


Q: How to install packages with all the dependency packages if all the packages are available at a common repository?
Ans : rpm –ivh  –aid packagename.

Q: How to check, where a particular package installed it’s configuration files.
Ans : rpm –qc packagename.

Q: How to check the change log of the installed package.
Ans : rpm -q –changelog packagename.

Q: How to check, where a particular package installed it’s doc files.
Ans : rpm -qd packagenme

Q: How to check all the files installed by package?
Ans : rpm -q –filesbypkg packagename

Q: How to check the version of files installed by a package
Ans : rpm -qi packagename

Q: How to check the dependencies for a particular packages i.e. Required libraries packages etc.
Ans : rpm -q -R packagename.

Q: How to upgrade the packages which are already installed on to the linux box.
Ans : rpm -F install options packagename.

Q: What is the command to update only the rpm database.
Ans : rpm -i –justdb packagename

Q: What is the command to check whether a particular package installation would be successful but would not actually install the package.
Ans : rpm -ivh –test packagename

Q: How to check that a particular file belong to which package
Ans : rpm -qf filename

Q: How to list files in  a package
Ans : rpm -ql packagename

Q: How to verify whether the files installed by package are intact or been tampered/corrupted.
Ans : rpm -qs packagename

Q: What is the command to create a new RPM Database
Ans : rpm –initdb

Q: What is the command to rebuild the RPM Database
Ans : rpm –rebuilddb

New MSI Interview Questions.


  1. How to add font files in an MSI package without using Wise Package Studio’s File Display Section.
  2. Difference between deferred & immediate custom action.
  3. What will you do if you can’t solve a issue in a package.
  4. How to add shortcuts to startup folder.
  5. Which applications should not be repackaged in MSI
  6. Which & why files are stored in C:\Windows\Installer
  7. What are the differences between patching, update & upgrade
  8. How to view to installation log files, which third party tools can be used for this task.
  9. Where can I find the schema of MSI file.
  10. How will you get the table details by using MSI SDK but not using ORCA.
  11. How can Network Shortcuts be added in an MSI Package.
  12. How to install certifications using MSI
  13. What are the advantages of admin install
  14. What condition on CA will allow to “Install” and “repair” but not at “uninstall”
  15. How to create nested MSI Installation
  16. How to create MST file from two MSI files.
  17. How to ensure that MSI gets installed only on WinXPSP3, win 7 and IE 8