background preloader

Cmd

Facebook Twitter

Windows Run commands you probably never knew - instant fundas. The Windows Run box is a very useful utility to launch programs and applications quickly. There are more than a hundred run commands that let you launch all sorts of built in Windows applications such as Control Panel modules, and system tools like Disk Defragmenter, Device Manager, Group Policy Editor etc. Most of these commands are well documented – you will find plenty of run command lists on the web, published and republished countless number of times.

But I’m pretty sure you will never find the following commands in any of these lists. Trick 1: Open your home directory The home directory is located at C:\Documents and Settings\Username in Windows XP and C:\Users\Username in Windows Vista and 7. The quickest way to open this directory is to open the Run box (Win+R) and type “.” – a single dot. Then hit enter. Trick 2: Open the users directory The users directory is the directory one folder above the home directory, i.e. Trick 3: Open My Computer Trick 4: Open system drive. Windows XP Commands. Unix Toolbox. Hardware | Statistics | Users | Limits | Runlevels | root password | Compile kernel | Repair grub | Misc Running kernel and system information # uname -a # Get the kernel version (and BSD version) # lsb_release -a # Full release info of any LSB distribution # cat /etc/SuSE-release # Get SuSE version # cat /etc/debian_version # Get Debian version Use /etc/DISTR-release with DISTR= lsb (Ubuntu), redhat, gentoo, mandrake, sun (Solaris), and so on.

See also /etc/issue. # uptime # Show how long the system has been running + load # hostname # system's host name # hostname -i # Display the IP address of the host. (Linux only) # man hier # Description of the file system hierarchy # last reboot # Show system reboot history Hardware Informations Kernel detected hardware # dmesg # Detected hardware and boot messages # lsdev # information about installed hardware # dd if=/dev/mem bs=1k skip=768 count=256 2>/dev/null | strings -n 8 # Read BIOS Linux FreeBSD Load, statistics and messages Users Limits System wide. Linux/UNIX For DOS Users. Command Comparison: To find out how to do something on UNIX simply type "man -k subject_matter". This will do a key word search for all commands dealing with the subject matter. Then use the appropriate command.

Online manuals are available on all the commands by typing "man command_name". MS/Windows info: Shell Descriptor/Operators: Shell Script Operators: Bash shell aliases for DOS users: The following are bash shell aliases which can be added to the system profile or the user's personal profile ($HOME/.bashrc) to correct and help DOS users on Linux.

Devices: Equivalent Linux and MS/Windows GUI Applications: Links: YoLinux Tutorials: bash - Bash man page Books: Your One Stop Windows Vista Fix It Site. Windows XP Commands. DOS Command Index. Information about all current DOS commands From the bookDOS the Easy Way by Everett E. Murdock Ph.D. Click on a command name for complete information about that command and examples of its use. (External) APPEND ; APPEND [d:]path[;][d:]path[...] Displays or sets the search path for data files. ASSIGN x=y [...] Redirects disk drive requests to a different drive. ATTRIB [d:][path]filename [/S] ATTRIB [+R|-R] [+A|-A] [+S|-S] [+H|-H] [d:][path]filename [/S] Sets or displays the read-only, archive, system, and hidden attributes of a file or directory. BACKUP d:[path][filename] d:[/S][/M][/A][/F:(size)] [/P][/D:date] [/T:time] [/L:[path]filename] Makes a backup copy of one or more files.

(Internal) BREAK =on|off Used from the DOS prompt or in a batch file or in the CONFIG.SYS file to set (or display) whether or not DOS should check for a Ctrl + Break key combination. BUFFERS=(number),(read-ahead number) CALL [d:][path]batchfilename [options] CHCP (codepage) CHDIR (CD) [d:]path CHDIR (CD)[..] CTTY (device)