Posts Tagged ‘line’
This tutorial will show you how to add line numbers in the MS Word margins.
If you wish to add line numbers to navigate faster through your MS Word document that can be done in the blink of an eye.
First open your MS Word document. Open the Line Numbers dropdown menu, located in the Page Setup group, on the Page Layout tab in the Ribbon and click Line Numbering Options: Read the rest of this entry »
A quick and easy way of keep track of your schedule is a custom made calendar. Luckily that is one of the many things that one can create using the MS Word templates. Although many templates are installed along with MS Office, even more are available online for free download and there is even a Calendar Wizard. Calendar templates are available in MS Word, MS Excel, MS PowerPoint, MS Publisher and MS Visio.
To create a calendar click MS Office button (top-left) and click New. Select the Calendars option, choose one of the options (for example 2010 calendars), select the template you like most and click Download:
Read the rest of this entry »
Kernel Logging is an instrument for tracking and logging specified behaviors of the kernel in Unix or Linux operating system. It may significantly enhance the availability of the operating system by providing detailed kernel trace information to enable a system administrator or other troubleshooter to diagnose and eventually fix the root cause of a system problem without the need of a reboot of the system or performing long and time-consuming actions to reproduce the problem. This is possible because, working in the background, while the system is running, Kernel logging collects and stores messages aboutcertain events that have taken place. The contents of the log are available to you at any time.
Kernel logging is usually enabled by default in may Linux kernel based distributions, however, generally such messages are directed to the standard output of the operating system. In other words they go to the screen.
For the purposes of this tutorial we have used Redhat Enterprise Linux 4 update 4 to demonstrate how you can enable kernel logging and direct the output to a file.
The first step is to setup the syslog to collect kernel messages to a file.
The default config file is syslog is /etc/syslog.conf. In that file you should add the following line Read the rest of this entry »
In this tutorial we will demonstrate something that most of you may need to use just for a few times in their Linux experience but will be very happy that such functionality existed at first place. Commong Linux users, including me, are not so used to get things through a proxy. Maybe used one some time ago but I have totally forgotten that such things as proxies even existed. Anyway in case one day it happens that you find yourself in a corporate network and need to download someting from the command line you will find yourself into some trouble. Not that you cannot download it quickly using a browser but for example in my case it was a script that I had to make work. For such cases after you finish reading this tutorial you will know how to configure wget for using proxy with basic authentication.
There are two ways for wget to pick up the proxy server hostname. One way is from the environment variables and another way is via the wget configuration file.The main and only configuration file of wget is located in etc directory Read the rest of this entry »
Today I will demonstrate you one very cool feature of the ssh daemon available on all Linux and UNIX based distributions. It is the so called ssh Banner. The feature is available in OpenSSH from almost the very beginning of the project but I haven”t seen it to be widely used. Anyway still i find it to be a very useful feature that I use on pretty much all servers that I maintain an have public ssh allowed. The greatest benefit of the banner is that it is displayed before user logs in. This is opposed to the motd message.
The configuration file that ssh daemon uses to set that feature is called sshd_config and is usually located in /etc/ssh/sshd_config
To be able to modify this file you have to have super user privileges. Open the file with your favorite editor Read the rest of this entry »
The aim of this tutorial is to build a simple DLL using the command line VIsual C++ compiler and then create two small programs that will call this implicitly by linking with the lib file and explicitly using LoadLibrary and GetProcAddress Read the rest of this entry »
In this tutorial I will demonstrate how you can quickly create a new MySQL database using the command line interface. Most of the dedicated servers that you can buy will come with a nice web interface to manage you mysql server. Something like phpmyadmin. But in case you are building a dedicated databases server you most definitely will need to know how to set your first database from the command line.
First thing you need to do is to login into your database server. For the purposes of this tutorial I have installed mysql on a Linux server but the approach is pretty much the same even if you operate on a server with Windows operating system.
On Linux the command to enter in Mysql Command Line Interfate (CLI) is pretty intuitive. Read the rest of this entry »
Writing short, concise code is vital when you begin working with other programmers or take on a several month project. The clarity of one line of code is vastly superior to three lines of code that do the exact same thing. Below are five tips to writing more concise code by using various shorthand methods and programming techniques. Read the rest of this entry »
Hello dear reader,
Today i decided to switch the operating systems. As you may have noticed recently I write mainly Linux tutorials. Though I prefer Linux I cannot deny that Windows XP is very good and stable operating system. I have one old laptop that I use only for watching movies running Windows XP and has not been updated or reinstalled for more than 2 years now. That about the time I stopped using it actively. I haven”t seen Linux distribution to last that long without updates. Anyway lets get back to the main topic.
So I will show you something very simple which however very few of the Windows users appears to know. And that is how to check the uptime of your Windows XP operating system.
We will use one very powerful command line tool called systeminfo It gives you all kind of different details and information for your operating system installation. But first what you need to do is get to the command prompt.
You can find a tutorial with screenshots here How to open a command prompt window.
Basically what you need to do is.
1. Go to "Start" -> "Run".
2. Write "CMD" and press on "Enter" key. Read the rest of this entry »