Windows PowerShell vs UNIX BASH Shell

by on July 16, 2008 · 1 comment· LAST UPDATED July 16, 2008

in , ,

Shell scripting is fun. It is useful to create nice (perhaps ugly) things (read as solutions) in shell scripting. Now Windows got Powershell. But how does PowerShell measure up to traditional shells like Bash?

Linux Magazine's Marcus Nasarek compares Windows Vista PowerShell with Bash:

Both Bash and the Windows Vista PowerShell include commands for navigating directories, managing files, and launching other programs. System administration is an important duty for the shell, and Bash and PowerShell are equipped to help manage systems from the command prompt. Whereas Bash typically relies on a combination of newer tools and classic Unix utilities, the PowerShell has its own set of command-line programs. Windows refers to PowerShell commands as cmdlets. The PowerShell cmdlet called Get-Process is a counterpart to ps, and the cmdlet Get-Content corresponds to less. PowerShell differs significantly from previous Windows command shells.

Some time I need to work with on Windows Servers and I find this article interesting. However, I prefer to use Perl or Python for complicated stuff.

TwitterFacebookGoogle+PDF versionFound an error/typo on this page? Help us!

{ 1 comment… read it below or add one }

1 Ramesh | The Geek Stuff July 18, 2008 at 6:51 am

Vivek,

Thanks for posting this article. If you are doing lot of windows system administration work, using powershell will definitely making admin little easy. Some of the features (executing background jobs, ability to display output in text-grid etc.,) in the Powershell V2 looks very interesting. I’ll check it out.

Ramesh
The Geek Stuff

Reply

Leave a Comment

Tagged as: , , , , , , , , , , , ,

Previous post:

Next post: