Linux Consulting  

Login or Register  

If you wish to contribute an article, please login or register.

Who's Online  

We have 48 guests online

Remove shared drive (using VBScript)

VBSccript_file_format_iconQ. Anytime I plug in my flash drive, Windows creates a share (eg. F$) that is accessible to people over the network. I can't permanently un-share that drive, but how would I speed up the process for removing it every time?

A. Yes, it is true that this share is accessible to people over the network, however, it is only accessible for anyone with admin rights and the person has to know that you have an F:\ drive plugged in in order to access it. In any case, this is how you would do that:

Wednesday, 27 July 2011 10:40

Change headers and footers in Word

word2003iconQ. I have this fancy report (resume, essay, etc.), but I would like to change the header and the footer only on the front page.

A. That's fairly easy to do. When you change the header and the footer on one page, it changes it on all the others, so you need to divide the document into sections. Unfortunately, Word allows you to have only Different odd and even or Different first page. You cannot have custom sections (at least Office version 2003 - may be later versions allow you to have those)

To change the header or footer on the first page only, do the following (MS Word 2003):

Wednesday, 13 July 2011 06:32

Change offline folder location (Outlook 2003)

outlook_2003_logoQ. I would like to store my Offline Folders file (.ost or Cached Exchange file) on a different drive. How would I do that?

A. Follow these steps:

1. Make sure you close Outlook (reboot to be safe)
2. Go to Control Panel, open Mail and then click E-mail Accounts.
Thursday, 07 July 2011 16:27

Ubuntu Unity - Add the Classic Gnome Menu

ubuntu-logo-smQ. I'm willing to give Unity a try, however, I'd like to have some features back. One of them is the classic gnome menu. How do I get it back?

A. At the time of this writing it could be done as following:

1. Open a terminal window and run:

sudo add-apt-repository ppa:diesch/testing

Wednesday, 06 July 2011 19:21

Force unmount of CIFS

Q. I have a linux box with a windows mount point that lost connection to the server. I can't do anything with it - any time I do a "df" or "ls" command it hangs and takes forever to time out. What should I do, aside from rebooting and disabling that mount.

A. With NFS mount, you can always use "force unmount", with -f:

umount -f /mnt/nfsmount

With windows mount, you can use "lazy" unmount:

umount -l /mnt/cifsmount

Thursday, 30 June 2011 12:43

Passing a hash reference to a subroutine (Perl)

perl_logoQ. How do I pass a hash reference to a subroutine in Perl?

A. This can be achieved by preceeding the hash with a slash when passing:

Tuesday, 28 June 2011 12:25

Update hosts file with VBS (Windows)

VBSccript_file_format_iconQ. I have some hosts that for some reason don't work with the DNS entries. Can I update hosts files on all machines automatically?

A. Ideally, you should fix the DNS, however, this is a quickfix and a show of VBS power in MS world. You can use the following script to achieve this.

Friday, 27 May 2011 13:34

Page 7 of 17

<< Start < Prev 7 8 9 10 11 12 Next > End >>
Copyright © 1999 - 2015 Virtual Helpme | r | Original Template: Allrounder