How to use rsync for transferring files under Linux or UNIX
Apr 19th
How do you install and use rsync to synchronize files and directories from one location (or one server) to another location? – A common question asked by new sys admin.
rsync is a free software computer program for Unix and Linux like systems which synchronizes files and directories from one location to another while minimizing data transfer using delta encoding when appropriate. An important feature of rsync not found in most similar programs/protocols is that the mirroring takes place with only one transmission in each direction.
So what is unique about rsync?
It can perform differential uploads and downloads (synchronization) of files across the network, transferring only data that has changed. The rsync remote-update protocol allows rsync to transfer just the differences between two sets of files across the network connection.
How do I install rsync?
Use any one of the following commands to install rsync.
If you are using Debian or Ubuntu Linux, type the following command
# apt-get install rsync
OR
$ sudo apt-get install rsync
If you are using Red Hat Enterprise Linux (RHEL), type the following command
# up2date rsync
If you are using CentOS/Fedora Core Linux, type the following command
# yum install rsync
Always use rsync over ssh
Since rsync does not provide any security while transferring data it is recommended that you use rsync over ssh . This allows a secure remote connection. Now let us see some examples of rsync.
rsync command common options
- –delete : delete files that don’t exist on sender (system)
- -v : Verbose (try -vv for more detailed information)
- -e “ssh options” : specify the ssh as remote shell
- -a : archive mode
- -r : recurse into directories
- -z : compress file data
Task : Copy file from a local computer to a remote server
Copy file from /www/backup.tar.gz to a remote server called openbsd.nixcraft.in
$ rsync -v -e ssh /www/backup.tar.gz jerry@openbsd.nixcraft.in:~Output:
Password: sent 19099 bytes received 36 bytes 1093.43 bytes/sec total size is 19014 speedup is 0.99
Please note that symbol ~ indicate the users home directory (/home/jerry).
Task : Copy file from a remote server to a local computer
Copy file /home/jerry/webroot.txt from a remote server openbsd.nixcraft.in to a local computer /tmp directory:
$ rsync -v -e ssh jerry@openbsd.nixcraft.in:~/webroot.txt /tmp
Password
Task: Synchronize a local directory with a remote directory
$ rsync -r -a -v -e "ssh -l jerry" --delete openbsd.nixcraft.in:/webroot/ /local/webroot
Task: Synchronize a remote directory with a local directory
$ rsync -r -a -v -e "ssh -l jerry" --delete /local/webroot openbsd.nixcraft.in:/webroot
Task: Synchronize a local directory with a remote rsync server
$ rsync -r -a -v --delete rsync://rsync.nixcraft.in/cvs /home/cvs
Task: Mirror a directory between my “old” and “new” web server/ftp
You can mirror a directory between my “old” (my.old.server.com) and “new” web server with the command (assuming that ssh keys are set for password less authentication)
$ rsync -zavrR --delete --links --rsh="ssh -l wahid" my.old.server.com:/home/lighttpd /home/lighttpd
Check spelling and grammar in another language in office 2007
Feb 18th
Every language version of the 2007 Microsoft Office system includes proofing tools, such as dictionaries and grammar rules, for more than one language. With the appropriate proofing tool languages available and installed, you can change the dictionary language so that you can check the spelling of a word or a document written in a different language.
To see which languages are included with your version of 2007 Office release, see The 2007 Microsoft Office suites localized versions. If your version of the 2007 Office release does not include the language that you want to use you may need to get a language pack. For more information, see Determine if you need a language pack.
To change the default language and dictionary to a specific language for all your 2007 Office release programs, see Change the default language for Office programs. To use a particular language location, such as English (United Kingdom) or English (Australia), see Set the display and editing languages.
Check the spelling and grammar in another language
How does the spelling checker work with multiple languages in a single document?
The spelling checker uses the language dictionary that matches the language associated with the text in your document. Therefore, if you have text in different languages in a single document, you must set the language for the text to the appropriate language.
For example, if you have a document that contains text in both English and Spanish, and you want to check the spelling of all the text by using the appropriate dictionaries, you must set the language of the English text as English and the Spanish text as Spanish.
Access
Set the dictionary language
Important The dictionary language applies to the entire database and cannot be defined for individual records or fields. To check the spelling in a multilingual database, you must change the dictionary language for each language that is in the database and serially check the spelling for each language used in each record.
- Click the Microsoft Office Button
, and then click Access Options.
Where is the Access Options button?
The Access Options button is located in the lower part of the menu that opens after you click the Microsoft Office Button
.
- Click Proofing.
- In the Dictionary language list, click the dictionary language that you want to use, and then click OK.
Check spelling and grammar
Note The Spelling command on the Ribbon may not be available in all views. If the Spelling command is not available, try pressing F7 to start the spelling checker.
- On the Home tab, in the Records group, click Spelling
or press F7.
Excel
Set the dictionary language
Important The dictionary language applies to the entire workbook and cannot be defined for individual worksheets or cells. To check the spelling in a multilingual workbook, you must change the dictionary language and serially check the spelling for each language used in each worksheet.
- Click the Microsoft Office Button
, and then click Excel Options.
Where is the Excel Options button?
The Excel Options button is located in the lower part of the menu that opens after you click the Microsoft Office Button
.
- Click Proofing.
- In the Dictionary language list, click the dictionary language that you want to use, and then click OK.
Check spelling and grammar
The spelling checker uses the specified dictionary language, if available, to check the spelling in the selected cells or worksheet.
- To check the spelling of an individual cell or collection of cells, select the cells that you want to check, and then on the Review tab, in the Proofing group, click Spelling
or press F7.
- To check the spelling of the whole worksheet, on the Review tab, in the Proofing group, click Spelling
. You do not need to select a cell or collection of cells.
InfoPath
Set the dictionary language
- Place your cursor anywhere in the form.
- On the Tools menu, click Set Language
.
- In the Language dialog box, click the language that you want to use for the dictionary and other proofing tools.
Check spelling and grammar
Important InfoPath can check the spelling in a form for only one language at a time. To check the spelling in forms that have text in more than one language, you must complete steps 1-4 in the Set the dictionary language section for each language for InfoPath.
- On the Tools menu, click Spelling, and then click Spelling again or press F7.
OneNote
Set the dictionary language
- Select a note you want to check.
- On the Tools menu, click Set Language.
- In the Set Language task pane, verify that the correct language is associated with the note. If it is not, select the language you want to use for the dictionary and other proofing tools.
- Click back in the note.
- Repeat steps 1-4 for each note that you want to check.
Check spelling and grammar
- On the Tools menu, click Spelling, and then click Spelling again or press F7.
Outlook
Set the dictionary language
Important If you have Outlook Express 6.0 and installed Microsoft Office 2007 but French is the only available spell check language, you need to use a third-party spell checker. For more information, see Spell checking issues with Outlook Express 6.0.
- In a new e-mail message, select the text that you want to check. Tip You can specify the dictionary language for a new message before typing any text. Just position your cursor in the message body of a new message and complete steps 2 and 3, type your message, and then check the spelling as described in the Check spelling and grammar section for Outlook.
- On the Message tab, in the Proofing group, click the arrow under Spelling, and then click Set Language
.
- In the Language dialog box, verify that the correct language is associated with the text. If it is not, select the language that you want to use for the dictionary and other proofing tools. If you don’t see the language that you want, scroll to the end of the list. Note If the language that you want is preceded by the Spelling & Grammar icon
, it means that the proofing tools, such as spelling checker, are installed for that language. If the language that you want is not preceded by the Spelling & Grammar icon
, the dictionary for that language is not available and you cannot check the spelling and grammar for that language.
Check spelling and grammar
The spelling checker uses the specified dictionary language, if available, to check the spelling and grammar of the selected text or Outlook item.
- On the Message tab, in the Proofing group, click Spelling
or press F7.
PowerPoint
Set the dictionary language
- Select the text that you want to check.
- On the Review tab, in the Proofing group, click Language
.
- In the Language dialog box, verify that the correct language is associated with the text. If it is not, select the language you want to use for the dictionary and other proofing tools. Note If the language is preceded by the Spelling & Grammar icon
, it means that proofing tools, such as spelling checker, is installed for that language. If the language is not preceded by the Spelling & Grammar icon
, the dictionary for that language is not available and you cannot check the spelling and grammar for that language.
- Repeat steps 1-3 for each section of text that you want to check.
Check spelling and grammar
Note The spelling and grammar can be checked for only one slide at a time.
- On the Review tab, in the Proofing group, click Spelling
, or press F7.
Publisher
Set the dictionary language
- Select the text that you want to check.
- On the Tools menu, click Language, and then click Set Language.
- In the Language dialog box, verify that the correct language is associated with the text. If it is not, select the language you want to use for the dictionary and other proofing tools.
- Repeat steps 1-3 for each piece of text you want to check.
Check spelling and grammar
- On the Tools menu, click Spelling, and then click Spelling again or press F7.
Visio
The spelling checker uses the language dictionary that matches the language associated with each text block. Therefore, if you have text blocks in different languages that you must set the language for each text block to the appropriate language. For example, if you have a page that has text blocks in English and Spanish and want to check the spelling of all text blocks on the page by using the appropriate dictionaries, you must set the English text blocks as English and the Spanish text blocks as Spanish. If your version of the 2007 Office release does not include the dictionary for the languages that you want to use, see Determine if you need a language pack.
Set the dictionary language
- Select the text block that you want to check.
- On the Format menu, click Text.
- In the Language box, verify that the correct language is associated with the text block. If it is not, select the language you want to use for the dictionary.
- Complete steps 1-3 for each text block you want to check.
Check spelling and grammar
The spelling checker uses the specified dictionary language, if available, to check the spelling of each text block.
- On the Tools menu, click Spelling, and then click Spelling again or press F7.
Word
Set the dictionary language
- Select the text you want to check.
- On the Review tab, in the Proofing group, click Set Language
.
- In the Language dialog box, verify that the correct language is associated with the text. If it is not, select the language you want to use for the dictionary and other proofing tools.If the language is preceded by the Spelling & Grammar icon
, it means that proofing tools, such as spelling checker, are installed for that language. If the language is not preceded by the Spelling & Grammar icon
, the dictionary for that language is not available and you cannot check the spelling and grammar for that language.
- Complete steps 1-3 for each section of text that you want to check.
Check spelling and grammar
The spelling checker uses the specified dictionary language, if available, to check the spelling of each piece of text.
- On the Review tab, click Spelling & Grammar or press F7.
Add additional dictionary languages
The dictionary languages included with the proofing tools depend on the languages included with the language of your 2007 Office release. If the language that you want is not listed in the Set Languages dialog box with a before its name, the dictionary is not available and you may need to get a language pack. For more information, see Determine if you need a language pack.
To see which proofing tool languages are included with your version of 2007 Office release, see The 2007 Microsoft Office suites localized versions
Getting rid of tracked changes in office 2007
Feb 18th
My changes are showing
You receive a document in an e-mail message from your colleague. It would make a good starting point for a document that you want to work on, so you save it under a new name and tailor it to your needs. It never occurs to you that your colleague left comments in the original document, because you don’t see them in your copy.
You are now ready to pass the document along to your customers, but you want to send them your version of the document, not an accumulation of the original document, your colleague’s comments, and your updates.
Or, you used the Track Changes feature in Microsoft Office Word 2007 to keep track of the changes that you made to your job application letter. Now you want to send the letter to your prospective employer, who should see the result of your editing, not the thought process you went through to get there.
In either case, you are stunned when those who receive your document report that it is difficult to read, with all the strikethrough, underlining, and balloons off to the side. Look! There is a paragraph in your letter with three different points displayed in strikeout formatting — and the skill you want to emphasize this time around is displayed in underlined text. Chances are you won’t get that job.
This text wasn’t in the document when you sent it. How did Word find and display this content? What can you do to make Word behave?
Understanding the Track Changes feature
You may not realize it, but you are working with the Track Changes or Comments feature in Word. Typically, when Word tracks changes, it displays deletions in balloons in the margins and insertions as underlined text. Deletions — as well as comments (or “annotations”) — also can be displayed to appear inline.
There are various ways to hide the tracked changes or comments — but all the changes that were made while the Track Changes feature was turned on and all the comments that were inserted remain part of the document until they are accepted or rejected (or, in the case of comments, deleted).
Note Hiding tracked changes does not delete existing tracked changes or comments from the document. Instead, hiding tracked changes enables you to view the document without having to wade through strikethroughs, underlining, and balloons.
How do I check a document for tracked changes and comments?
Office Word 2007 provides a feature called Document Inspector that allows you to check any document for tracked changes, comments, hidden text, and other personal information. To check a document:
- Open the document you want to inspect for tracked changes and comments.
- Click the Microsoft Office Button
, point to Prepare, and then click Inspect Document.
- In the Document Inspector dialog box, click Inspect.
- Review the inspection results. If Document Inspector finds comments and tracked changes, you are prompted to click Remove All next to Comments, Revisions, Versions, and Annotations.
- Click Reinspect or Close.
How do I get rid of my tracked changes and comments?
To get rid of tracked changes and comments, you need to accept or reject the changes and delete the comments. Here’s how:
- On the Review tab, in the Tracking group, click the arrow next to Show Markup.
- Make sure a check mark appears next to each of the following items:
- Comments
- Ink Annotations
- Insertions and Deletions
- Formatting
- Reviewers (Point to Reviewers and make sure that All Reviewers is selected.)
If a check mark does not appear next to an item, click the item to select it.
- On the Review tab, in the Changes group, click Next or Previous.
- Do one of the following:
- In the Changes group, click Accept.
- In the Changes group, click Reject.
- In the Comments group, click Delete.
- Repeat steps 3 and 4 until all the tracked changes in the document have been accepted or rejected and all the comments have been deleted.
Notes
- If you know that you want to accept all the changes, click Accept, and then click Accept All Changes in Document.
- If you know that you want to reject all the changes, click Reject, and then click Reject All Changes in Document.
- To remove all comments, you must delete them. In the Comments group, click the arrow next to Delete, and then click Delete All Comments in Document.
How did those tracked changes and comments get there?
You may have thought that you removed the comments or tracked changes, or you may have received the document from someone else without realizing that it contained comments or tracked changes. How does Word store these items without you being aware of them?
You, or the person who sent the document, may have hidden the tracked changes or comments to make the document easier to read. However, hiding tracked changes does not remove them. They will remain in the document until you take action. Depending on your version of Word and the settings you are using, the the tracked changes or comments may reappear when you or someone else opens the document.
If you don’t want others to see tracked changes and comments, accept or reject the tracked changes and delete the comments before you share the document with others.
How to find hidden changes and comments
There are several ways to hide tracked changes and comments, which may lead you to think that they are not in the document. For example:
- Display for Review box On the Review tab, in the Tracking group, the Display for Review box shows you what viewing mode you are in. It also provides additional options for viewing your document. If you click Final or Original, tracked changes and comments are hidden. To display them, select Final Showing Markup or Original Showing Markup.
- Show Markup On the Review tab, in the Tracking group, you can use the Show Markup list to hide comments and tracked changes. Items that are marked with a check mark under Show Markup are displayed; items without a check mark are hidden. To display an item, such as Insertions and Deletions, click it on the Show Markup menu.
Why Microsoft Office Word displays tracked changes and comments by default
To prevent you from inadvertently distributing documents that contain tracked changes and comments, Word displays tracked changes and comments by default. Final Showing Markup is the default option in the Display for Review box.
Can I have it both ways?
If you want to preserve tracked changes or comments in a document and you want to share the document without others seeing the tracked changes and comments, the best solution is to keep separate copies of the document. Create a public copy for distribution and keep a private copy for yourself. In the public version of the document, accept or reject all tracked changes and delete all comments, as described in this article. In the private version of the document, you can leave the tracked changes and comments in place.
How to check spelling and grammar in another language in Word 2003
Feb 18th
This step-by-step article describes how to use Microsoft Office Word 2003 to check the spelling and the grammar of text in a language that is different from the one that you typically use in Word.
Perform this step if you are running a language version of your operating system that does not match the language that you want to type in. You must add the language if you want to type in that language or to display text in that language.
For more information about how to configure your operating system to work with other languages, click the following article numbers to view the articles in the Microsoft Knowledge Base:
To make the languages that you want to use for editing available in Word, follow these steps:
- Click Start, point to All Programs, point to Microsoft Office, point to Microsoft Office Tools, and then click Microsoft Office 2003 Language Settings.Note If this is the first time that you are using the Microsoft Office 2003 Language Settings Tool, insert your Office 2003 compact disc (CD) into your CD-ROM drive or into your DVD-ROM drive when you are prompted to do so.
- Click the Enabled Languages tab.
- In the Available Languages list, click the languages that you want to add, and then click Add.Note If (limited support) is displayed next to a language in the Available Languages list, you may have to install additional system support for that language. The available support depends on your operating system.
The languages that you add are displayed in the Enabled Languages list.
- Click OK.
- If you are currently running any Office programs, you receive the following message:
To use the new language settings, you must quit and restart all open Office applications.
Shut down and restart open Office applications now?
Click Yes when you receive this message.
The new language settings are enabled the next time that you start Word.
Your version of Office 2003 contains spelling and grammar tools for frequently used languages. For example, the English version of Office 2003 includes proofing tools for English, French, and Spanish.
When you check spelling and grammar on a document in another language, if the tools are available in your language version of Office 2003, Word automatically installs the tools. If the spelling and grammar tools for the language that you want to check are not included in Office 2003, you must obtain and install the necessary files from the Microsoft Office 2003 Proofing Tools.
Install the French spelling and grammar tools or the Spanish spelling and grammar tools
The following steps describe how to install the French and Spanish spelling and grammar tools that are included in the English version of Office 2003.
By default, the French proofing tools and the Spanish proofing tools are set to the Installed on First Use installation state. The first time that you perform a spelling check in these languages, you are prompted to install the tools. Click Yes, and then insert your Office 2003 CD into your CD-ROM drive or into your DVD-ROM drive when you are prompted.
Or you can install the proofing tools by using Add or Remove Programs in Control Panel. To do this, follow these steps.
Note Because there are several versions of Microsoft Windows, the following steps may be different on your computer. If they are, see your product documentation to complete these steps.
- Click Start, and then click Control Panel.
- Double-click Add or Remove Programs.
- Click Microsoft Office 2003, and then click Change.
- Click Add or Remove Features, and then click Next.
- Click to select the Choose advanced customization of applications check box, and then click Next.
- In the Advanced Customization list, expand Office Shared Features, and then expand Proofing Tools.
- Click the down arrow next to French or click the down arrow next to Spanish. Click Run from My Computer, and then click Update.
- Insert your Office 2003 CD into your CD-ROM drive or into your DVD-ROM drive when you are prompted, and then click Update.
- Click OK when Setup is complete.
Use Office 2003 Proofing Tools
The Office 2003 Proofing Tools is an add-in package that contains proofing tools for more than 50 different languages. Tools include spelling checkers, dictionaries, grammar checkers, and writing style checkers.
For more information about the Office 2003 Proofing Tools, see the following Microsoft Web site:
When automatic language detection is turned on, Word can automatically detect each language that you type if your document contains more than one language. To turn on automatic language detection, follow these steps:
- On the Tools menu, point to Language, and then click Set Language.
- Click to select the Detect language automatically check box (if it is not already selected), and then click OK.
To set spelling options and grammar options for the language that you want to work in, follow these steps:
- On the Tools menu, click Options, and then click the Spelling & Grammar tab.
- Select the spelling options and the grammar options that you want, and then click OK.
By default, Word checks spelling and grammar as you type. Wavy red underlines indicate possible spelling errors. Wavy green underlines indicate possible grammatical issues.
You can also run the spelling and grammar checker to check your whole document, in addition to checking spelling and grammar as you type. To run the spelling and grammar checker, click Spelling and Grammar on the Tools menu.
To make sure that the spelling and grammar checker is turned on, follow these steps:
- On the Tools menu, click Options, and then click the Spelling & Grammar tab.
- Click to select the Check spelling as you type check box (if it is not already selected).
- Click to select the Check grammar as you type check box (if it is not already selected).
- Select any other spelling options and any other grammar options that you want, and then click OK.
Troubleshoot the spelling and grammar checker
If Word cannot find either the dictionary or other proofing tools to check spelling and grammar in another language, try these suggestions:
- Make sure that the spelling tools and the grammar tools for the specific language are installed. You may have to obtain and install the tools from the Office 2003 Proofing Tools.
- Make sure that the language is enabled for editing in the Office 2003 Language Settings tool.
For more information about troubleshooting spelling checker issues, click Microsoft Office Word Help on the Help menu, type troubleshoot spell checking in the Search for box in the Assistance pane, and then click Start searching to view the topic.
For more information about troubleshooting multilingual text issues, click Microsoft Office Word Help on the Help menu, type troubleshoot multilingual text in the Search for box in the Assistance pane, and then click Start searching to view the topic.
Troubleshoot automatic language detection
If Word does not correctly detect the languages in your document, try these suggestions:
- Make sure that the language is enabled for editing in the Office 2003 Language Settings tool.
- Type at least one sentence that contains five or more words in the language. The accuracy of detection increases with the amount of text that you type.
- Word evaluates text sentence by sentence to determine its language. The text may contain a mixture of languages, or the language that Word detects may be only somewhat different from another language. In this situation, Word may not be able to identify the correct language, especially if there are only several words in the sentence.If a word has a wavy red underline because it is in a different language, apply the correct language. Right-click the word, point to Language, and then click the language that you want.
- Manually apply the language format. To do this, point to Language on the Tools menu, and then click Set Language. Under Mark selected text as, click the language format that you want to apply.Or change the dictionary to the appropriate language. To do this, press the F7 key, and then click the dictionary that you want to use in the Dictionary language list in the Spelling and Grammar dialog box.
For more information about troubleshooting automatic language detection issues, click Microsoft Office Word Help on the Help menu, type troubleshoot automatic language detection in the Search for box in the Assistance pane, and then click Start searching to view the topic. This step-by-step article describes how to use Microsoft Office Word 2003 to check the spelling and the grammar of text in a language that is different from the one that you typically use in Word.
Perform this step if you are running a language version of your operating system that does not match the language that you want to type in. You must add the language if you want to type in that language or to display text in that language.
For more information about how to configure your operating system to work with other languages, click the following article numbers to view the articles in the Microsoft Knowledge Base:
To make the languages that you want to use for editing available in Word, follow these steps:
- Click Start, point to All Programs, point to Microsoft Office, point to Microsoft Office Tools, and then click Microsoft Office 2003 Language Settings.Note If this is the first time that you are using the Microsoft Office 2003 Language Settings Tool, insert your Office 2003 compact disc (CD) into your CD-ROM drive or into your DVD-ROM drive when you are prompted to do so.
- Click the Enabled Languages tab.
- In the Available Languages list, click the languages that you want to add, and then click Add.Note If (limited support) is displayed next to a language in the Available Languages list, you may have to install additional system support for that language. The available support depends on your operating system.
The languages that you add are displayed in the Enabled Languages list.
- Click OK.
- If you are currently running any Office programs, you receive the following message:
Shut down and restart open Office applications now?
Click Yes when you receive this message.
The new language settings are enabled the next time that you start Word.
Your version of Office 2003 contains spelling and grammar tools for frequently used languages. For example, the English version of Office 2003 includes proofing tools for English, French, and Spanish.
When you check spelling and grammar on a document in another language, if the tools are available in your language version of Office 2003, Word automatically installs the tools. If the spelling and grammar tools for the language that you want to check are not included in Office 2003, you must obtain and install the necessary files from the Microsoft Office 2003 Proofing Tools.
Install the French spelling and grammar tools or the Spanish spelling and grammar tools
The following steps describe how to install the French and Spanish spelling and grammar tools that are included in the English version of Office 2003.
By default, the French proofing tools and the Spanish proofing tools are set to the Installed on First Use installation state. The first time that you perform a spelling check in these languages, you are prompted to install the tools. Click Yes, and then insert your Office 2003 CD into your CD-ROM drive or into your DVD-ROM drive when you are prompted.
Or you can install the proofing tools by using Add or Remove Programs in Control Panel. To do this, follow these steps.
Note Because there are several versions of Microsoft Windows, the following steps may be different on your computer. If they are, see your product documentation to complete these steps.
- Click Start, and then click Control Panel.
- Double-click Add or Remove Programs.
- Click Microsoft Office 2003, and then click Change.
- Click Add or Remove Features, and then click Next.
- Click to select the Choose advanced customization of applications check box, and then click Next.
- In the Advanced Customization list, expand Office Shared Features, and then expand Proofing Tools.
- Click the down arrow next to French or click the down arrow next to Spanish. Click Run from My Computer, and then click Update.
- Insert your Office 2003 CD into your CD-ROM drive or into your DVD-ROM drive when you are prompted, and then click Update.
- Click OK when Setup is complete.
Use Office 2003 Proofing Tools
The Office 2003 Proofing Tools is an add-in package that contains proofing tools for more than 50 different languages. Tools include spelling checkers, dictionaries, grammar checkers, and writing style checkers.
For more information about the Office 2003 Proofing Tools, see the following Microsoft Web site:
When automatic language detection is turned on, Word can automatically detect each language that you type if your document contains more than one language. To turn on automatic language detection, follow these steps:
- On the Tools menu, point to Language, and then click Set Language.
- Click to select the Detect language automatically check box (if it is not already selected), and then click OK.
To set spelling options and grammar options for the language that you want to work in, follow these steps:
- On the Tools menu, click Options, and then click the Spelling & Grammar tab.
- Select the spelling options and the grammar options that you want, and then click OK.
By default, Word checks spelling and grammar as you type. Wavy red underlines indicate possible spelling errors. Wavy green underlines indicate possible grammatical issues.
You can also run the spelling and grammar checker to check your whole document, in addition to checking spelling and grammar as you type. To run the spelling and grammar checker, click Spelling and Grammar on the Tools menu.
To make sure that the spelling and grammar checker is turned on, follow these steps:
- On the Tools menu, click Options, and then click the Spelling & Grammar tab.
- Click to select the Check spelling as you type check box (if it is not already selected).
- Click to select the Check grammar as you type check box (if it is not already selected).
- Select any other spelling options and any other grammar options that you want, and then click OK.
Troubleshoot the spelling and grammar checker
If Word cannot find either the dictionary or other proofing tools to check spelling and grammar in another language, try these suggestions:
- Make sure that the spelling tools and the grammar tools for the specific language are installed. You may have to obtain and install the tools from the Office 2003 Proofing Tools.
- Make sure that the language is enabled for editing in the Office 2003 Language Settings tool.
For more information about troubleshooting spelling checker issues, click Microsoft Office Word Help on the Help menu, type troubleshoot spell checking in the Search for box in the Assistance pane, and then click Start searching to view the topic.
For more information about troubleshooting multilingual text issues, click Microsoft Office Word Help on the Help menu, type troubleshoot multilingual text in the Search for box in the Assistance pane, and then click Start searching to view the topic.
Troubleshoot automatic language detection
If Word does not correctly detect the languages in your document, try these suggestions:
- Make sure that the language is enabled for editing in the Office 2003 Language Settings tool.
- Type at least one sentence that contains five or more words in the language. The accuracy of detection increases with the amount of text that you type.
- Word evaluates text sentence by sentence to determine its language. The text may contain a mixture of languages, or the language that Word detects may be only somewhat different from another language. In this situation, Word may not be able to identify the correct language, especially if there are only several words in the sentence.If a word has a wavy red underline because it is in a different language, apply the correct language. Right-click the word, point to Language, and then click the language that you want.
- Manually apply the language format. To do this, point to Language on the Tools menu, and then click Set Language. Under Mark selected text as, click the language format that you want to apply.Or change the dictionary to the appropriate language. To do this, press the F7 key, and then click the dictionary that you want to use in the Dictionary language list in the Spelling and Grammar dialog box.
For more information about troubleshooting automatic language detection issues, click Microsoft Office Word Help on the Help menu, type troubleshoot automatic language detection in the Search for box in the Assistance pane, and then click Start searching to view the topic.
How to dynamically create security-enhanced redirected folders by using folder redirection in Windows 2000 and in Windows Server 2003
Feb 18th
In Microsoft Windows 2000 and in Microsoft Windows Server 2003, as an administrator, you can customize desktops by using Folder Redirection. You can redirect the following folders by using Active Directory and Group Policy:
- Application Data
- Desktop
- My Documents
- My Documents/My Pictures
- Start Menu
You can find more information about Folder Redirection by searching Windows Help for Folder Redirection.
When you redirect folders to a shared location on a network, users need both read and write access to this location so that the users can read the contents these folders. However, in some scenarios, you may not want to grant read access.
Create security-enhanced redirected folders
To make sure that only the user and the domain administrators have permissions to open a particular redirected folder, do the following:
- Select a central location in your environment where you would like to store Folder Redirection, and then share this folder. In this example, FLDREDIR is used.
- Set Share Permissions for the Everyone group to Full Control.
- Use the following settings for NTFS Permissions:
- CREATOR OWNER – Full Control (Apply onto: Subfolders and Files Only)
- System – Full Control (Apply onto: This Folder, Subfolders and Files)
- Domain Admins – Full Control (Apply onto: This Folder, Subfolders and Files)
- Everyone – Create Folder/Append Data (Apply onto: This Folder Only)
- Everyone – List Folder/Read Data (Apply onto: This Folder Only)
- Everyone – Read Attributes (Apply onto: This Folder Only)
- Everyone – Traverse Folder/Execute File (Apply onto: This Folder Only)
- Configure Folder Redirection Policy as outlined in Windows Help. Use a path similar to \\server\FLDREDIR\username to create a folder under the shared folder, FLDREDIR.
Because the Everyone group has the Create Folder/Append Data right, the group members have the proper permissions to create the folder; however, the members are not able to read the data afterwards. The Username group is the name of the user that was logged on when you created the folder. Because the folder is a child of the parent folder, it inherits the permissions that you assigned to FLDREDIR. Also, because the user is creating the folder, the user gains full control of the folder because of the Creator Owner Permission setting.
How to Flush DNS in Linux
Feb 18th
In Linux, the nscd daemon manages the DNS cache.
To flush the DNS cache, restart the nscd daemon.
To restart the nscd daemon, use the command `/etc/init.d/nscd restart`.
How to Flush DNS in Mac OSX
Feb 18th
In Mac OSX Leopard, you can use the command dscacheutil -flushcache to flush the DNS resolver cache:
bash-2.05a$ dscacheutil -flushcache
In Mac OSX versions 10.5.1 and before, the command lookupd -flushcache performed the same task:
bash-2.05a$ lookupd -flushcache
Tuning DNS Caching under Microsoft Windows
Feb 18th
You can modify the behavior of the Microsoft Windows DNS caching algorithm by setting two registry entries in the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters registry key.
The MaxCacheTtl represents the maximum time that the results of a DNS lookup will be cached. The default value is 86,400 seconds. If you set this value to 1, DNS entries will only be cashed for a single second.
MaxNegativeCacheTtl represents the maximim time that the results of a failed DNS lookup will be cached. The default value is 900 seconds. If you set this value to 0, failed DNS lookups will not be cached.
Turning off DNS Caching under Microsoft Windows
Feb 18th
If you experience frequent issues with DNS caching under Microsoft Windows , you can disable client-side DNS caching with either of these two commands:
1. net stop dnscache
2. sc servername stop dnscache
This will disable DNS caching until the next reboot. To make the change permanent, use the Service Controller tool or the Services tool to set the DNS Client service startup type to Disabled.
How do I Flush DNS?
Feb 18th
Most DNS clients cache the results of name resolution requests. This speeds up name resolution if multiple lookups are done to the same address, such as is common when browsing the web. Sometimes a bad DNS entry will be cached and you will need to either flush the DNS cache to get rid of it, or wait up to 24 hours for it to be dropped from the cache automatically.
In Microsoft Windows, you can use the command ipconfig /flushdns to flush the DNS resolver cache:
C:\>ipconfig /flushdns
Windows IP Configuration Successfully flushed the DNS Resolver Cache.
You can also use the command ipconfig /displaydns to view the DNS resolver cache.

