Unix-like Command Line Experience in Windows - PowerShell15 Dec 2012
Recently, I was going through some course on Internet when I came across PowerShell. We used to work with a program called cmd.exe, but always wanted to have the usability and power that Unix command line offers. If you are using Windows 7 or later, then you just need to follow following steps:-
- Click Start.
- In “Search programs and files”, type:
powershelland press Enter.
This will open a cmd.exe like window.
If you are still working on Windows XP, like me, then you can download the PowerShell from here.
You can try the following commands on powershell:
print working directory
computer’s network name
copy a file or directory
move a file or directory
page through a file
print the whole file
run a command on lots of files
- dir -r
find things inside files
read a manual page
find what man page is appropriate
print some arguments
export/set a new environment variable
exit the shell
DANGER! become super user root DANGER!
change permission modifiers
I am still trying to learn these commands. Will come up with details when I know about each of them. There are few that you already know. So, let us get started.