Thursday, June 17, 2010

Linus FAQs - How to unmount / disconnect a windows share in Linux?

How to unmount / disconnect a windows share in Linux?
Use following command in terminal using root access
[root@mushtaq-833 ~]# umount /home/mushtaq-833/shared_all/

Linus FAQs - How to mount a Windows share in Linux using command line?

How to mount a Windows share in Linux using command line?
All files accessible in a Linux (and UNIX) system are arranged in one big tree, the file hierarchy, rooted at /. These files can be spread out over several devices. The mount command serves to attach the file system found on some device to the big file tree.

Linus FAQs - How to install a package?

How to install a package?
[root@mushtaq-833 ~]# rpm -ivh /home/mushtaq-833/Download/ibm_lotus_notes-8.5.i586.rpm

warning: /home/mushtaq-833/Download/ibm_lotus_notes-8.5.i586.rpm: Header V3 DSA signature: NOKEY, key ID 34f9ae75
Preparing...                  ###################### [100%]
   1:ibm_lotus_notes      ###################### [100%]
[root@mushtaq-833 ~]#

Linus FAQs - How to uninstall an installed package?

How to uninstall an installed package?
[root@mushtaq-833 ~]# rpm -e ibm_lotus_notes-8.5-20081211.1925.i586

Linus FAQs - How to query an installed package?

How to query an installed package?
[root@mushtaq-833 notes]# rpm -qa | grep ibm_lotus
ibm_lotus_notes-8.5-20081211.1925.i586