How to open Powershell on Windows 7

Windows PowerShell is a command-line shell and scripting environment program included in Windows 7 that brings the power of the .NET Framework to command-line users and script writers to help IT professionals and power users control and automate the administration of the Windows operating system and applications that run on Windows. It introduces a number of powerful new concepts that enables you to extend the knowledge you have gained and the scripts you have created within the Windows Command Prompt and Windows Script Host environments.

Built-in Windows PowerShell commands, called cmdlets, let you manage the computers in your enterprise from the command line. You can use each cmdlet separately, but their power is realized when you use these simple tools in combination to perform complex tasks. Windows PowerShell includes more than one hundred basic core cmdlets, and you can write your own cmdlets and share them with other users.


To open PowerShell on Windows 7, follow the step below :

  •  Start ==> All Program ==> Windows PowerShell

You can click “Windows PowerShell” and running it.

If you don’t have Windows PowerShell on the first step , you can do the step below :



SpeedTest on linux command

If you are connected to a broadband network and are wondering how fast your Internet connection really is, here is a way to test your Internet connection speed with a simple command.

Type on terminal linux :

wget -O /dev/null

Then you will see the result like this :











You can the internet speed is 170K/s

What is the description of mkdir and touch on linux command??


touch is used to change the timestamp on a file. You can change access timestamps and modification timestamps with this command. If the file specified does not exist, touch will create a zero length file with the name specified. To mark a file with the current system time, you would issue this command:

% ls -al hebat1
-rw-r--r--    1 root     root        9779 Feb  7 21:41 hebat1
% touch hebat1
% ls -al hebat1
-rw-r--r--    1 root     root        9779 Feb  8 09:17 file1

There are several options for touch, including options to specify which timestamp to modify, the time to use, and many more. The online manual page discusses these in detail.


mkdir will create a new directory. You simply specify the directory to create when you run mkdir. This example creates the hejaz directory in the current directory:

% mkdir hebat

You can also specify a path, like this:

% mkdir /usr/local/hebat

The -p option will tell mkdir to make any parent directories. The above example will fail if /usr/local does not exist. The -p option will create /usr/local and /usr/local/hejaz:

% mkdir -p /usr/local/hebat

How to fix windows xp activation

I‘ve encountered a problem when windows xp activation that through activation done and I reboot the pc all of a suddenly  I get another problem that I have to reactive Windows XP again. So automaticly I can go in to the windows before I’m doing reactivation again.

The problem  I need go to windows to activate the software. And that time I need to reformat again the pc but this wasted time.

Then I found a way to resolve without reformat pc.

1. Start the PC into Safe mode with command prompt

Power on the PC and press F8 right before Windows begins to load. Select “Safe mode with command prompt.

2. Run Explorer from the Command prompt to start Windows

Once the Command prompt loads, type in “explorer” to start Windows within Safe mode

3. Run “Rundll32.exe syssetup,SetupOobeBnk” from the “Run” box.

Now click on “Start” and in the “Run” box type
“Rundll32.exe syssetup,SetupOobeBnk”. Press Enter. This will re-set activation to 30 days

4. Modify the wpaevents folder in the Registry.

Once more, click on “Start” then go to the “Run” box and type in “Regedit”. Make sure that in Regedit you are highlighting “My Computer” at the very top. Now go up to “Edit” then “Find” and type in “wpaevents” then press Enter. Right click on the “wpaevents” folder and go down to “Permissions”. Highlight “User” and place a check mark in the box labeled “full control”. Click “Apply” and exit regedit.

5. Modify the C: drives permissions.

Now double click “My Computer”. Right click the C: drive and go down to “Properties”. Now click on the “Security” tab and modify “User”, “Administrator”, and “System” so that they all have “Full control”. Click “Apply” and reboot the PC.

6. Run Windows activation

Now Windows activation will run and the PC will become usable again.

May be useful.

Linux Basic Commands Part 1

Here, I will give you some basic command line for linux …
This for those who are just learning or are already familiar with linux…

System information for your computer :

  • date – Show the current date and time
  • cal – Show this month’s calendar
  • uptime – Show current uptime
  • w – Display who is online
  • whoami – Who you are logged in as
  • finger user – Display information about user
  • uname -a – Show kernel information
  • cat /proc/cpuinfo – CPU information
  • cat /proc/meminfo – Memory information
  • df – Show disk usage
  • du – Show directory space usage
  • free – Show memory and swap usage

This is very simple command on linux….

You can type on linux terminal.


About robocopy

A robust file copy command for the Windows command line.


The robocopy.exe command is an external command that is available in the below Microsoft operating systems.

Windows NT (In resource kit)
Windows 2000 (In resource kit)
Windows Server 2008
Windows Vista
Windows 7


ROBOCOPY source destination [file [file]…] [options]

source Source Directory (drive:\path or \\server\share\path)
destination Destination Dir (drive:\path or \\server\share\path)
file File(s) to copy (names/wildcards: default is “*.*”)

FTP Linux / Unix Commands Line

Switched from MS-Windows to Mac computer running OS X UNIX systems. I need to transfer and download file using ftp for my personal website. Can you provide me a list of FTP commands that may be sent to an FTP server, to upload and download files using UNIX / Linux ftp command line client?

ftp: Internet File Transfer Program

Use the following syntax to connect to transfer files to and from a remote network ftp site:


You must know ftp username and password for user-based password authentication or with anonymous user access use ftp as both username and password. In this example, you are connecting to with anonymous user access (open the terminal and type the following command):
$ ftp
Sample session:

Connected to
220 FTP server (Version 6.00LS) ready.
Name ( ftp
331 Guest login ok, send your email address as password.
230 Guest login ok, access restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.

When you enter your own loginname and password for the server, it returns the prompt


You need to type all commands in front of the ftp> prompt.
Task: List Current File

Type the ls command at ftp> prompt:
ftp> ls
Sample outputs:

229 Entering Extended Passive Mode (|||60692|)
150 Opening ASCII mode data connection for ‘/bin/ls’.
total 10
drwxrwxr-x 2 0 5 512 Jul 19 2007 .snap
drwx—— 2 0 0 2048 Jul 19 2007 lost+found
drwxr-xr-x 3 1006 1006 512 Sep 21 2009 pub
drwxr-xr-x 3 1006 1006 512 Jun 5 2007 sup
drwxr-xr-x 4 1006 0 512 Sep 18 2009 www
226 Transfer complete.

The above will list the names of the files in the current remote directory (the last name is file or dir name).
Task: Change Directory

To change directory on the remote machine use cd command:
ftp> cd dirName
To change to pub directory, enter:
ftp> cd pub
Sample outputs:

250 CWD command successful.

Task: Download / Copy file

To copy one file at a time from the remote ftp server to the local system use get command:

get fileName
get fileName newFileName

In this example, download file resume.pdf in the current remote directory to (or on top of) a file with the same name, resume.pdf, in your current local directory:
ftp> get resume.pdf
Sample outputs:

local: resume.pdf remote: resume.pdf
229 Entering Extended Passive Mode (|||55093|)
150 Opening BINARY mode data connection for ‘resume.pdf’ (53077 bytes).
100% |*********************************************************************| 53077 12.58 KiB/s 00:00 ETA
226 Transfer complete.
53077 bytes received in 00:04 (12.57 KiB/s)

In this example, copies file data.tar.gz in the current remote directory to (or on top of) a file named backup.tar.gz in your current local directory:
ftp> get data.tar.gz backup.tar.gz