≡ Menu

Windows PowerShell vs UNIX BASH Shell

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.

Tweet itFacebook itGoogle+ itPDF itFound an error/typo on this page?

Comments on this entry are closed.

  • Ramesh | The Geek Stuff July 18, 2008, 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