Changes the current directorySYNTAXCDCD EXAMPLEScd- Changes current directory to the highest level of the current drive (the root directory).cd ..- Goes up one directory. For example if you are within theC:WINDOWSCOMMAND>directory this would take you toC:WINDOWS> cd windows- Changes to theWindowssubdirectory of the current directory (if it exists).Note: If you want to change to a different drive,...
Displays a list of files and subdirectories in a directory.SYNTAXDIR attributes]] sortorder]]Specifies drive, directory, and/or files to list. /P Pauses after each screenful of information. /W Uses wide list format. /A displays only files with these attributes:D DirectoriesR Read-only filesH Hidden filesA Files ready for archivingS System files- Prefix meaning not: can be added...
Recursion  is the programming technique that a process invoking itself again and again. In this program, We reverse the given number and checks it is a palindrome or not.Why Recursive FunctionRecursive function allows you to divide your complex problem into identical single simple cases which can handle easily. This is also a well-known computer programming technique: divide and conquer.Recursion...
Even number is an integer, which is the multiple of two. In this program we use the for loop to produce the even numbers. Try to change the for loop limits you can get the various range results. Read more about C Programming Language ./*********************************************************** * You can use all the programs for personal and learning purposes. * For permissions to...
    /* Generate random numbers using Math.random This java example shows how to generate random numbers using random method of Java Math class. */public class GenerateRandomNumbers {public static void main(String args) {/* * To generate random numbers, use * static double random() method of Java Math class. * * This method returns a positive double value grater than 0.0 * and less than 1.0 */System.out.println("Random numbers between 0.0 and...
In many places we need random numbers. Java provides classes to help you in generation random numbers for your application. Random Number is the frequently used to generate numbers either in the range or without specifying a range.This section shows you how to create a random number and example provided here will help you easily understand and use the...
You can reset forgotten root password under Linux by booting system into single user mode or emergency mode (also known as rescue mode).My boot loader is GRUB (see LILO boot loader below)Following is the procedure to reset root password if you are using GRUB as a boot loader:Select the kernel Press the e key to edit the entry Select second line...
Many Linux /Unix based systems are pre-configured to send email notifications about various system events to root user.The emails generated are for multiple reasons, it may be for some cron job completion or cron job failure or ntofications about systems resource usages.By default, the recipient of all those messages is [email protected] you want to check the emails simply type...
A lot of applications, updates and drivers force Windows to restart, sometimes without the option to stop that from happening. ShutDownGuard is a free application that helps you “guard” against such unexpected shutdowns or restarts.ShutdownGuard tries to prevents applications to shutdown, reboot or log off your computer. When it prevents a shutdown in Windows XP, it will pop up...
Android Programming
Android is the one of the most advance technology by Google for the handheld mobile/tablet devices. Before some time of android most of us are believing in Symbian Os and using it with number of limitation like it is not open source, less number of applications, less number of features etc. The other major mobile manufacturing Apple developed their...

Recent Posts