Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

object-oriented shell for linux? [closed]

Is there anything similar to Microsoft Powershell (an object-oriented shell built on the .NET framework) for Linux (possibly built on Java, GObject, or its own object type/nothing)?

edit: especially if similar to bash or powershell or cmd etc. syntax (=''standard'' shell syntax)

like image 335
Abbafei Avatar asked Dec 21 '10 07:12

Abbafei


People also ask

Is bash a OOP?

Bash is a scripting language, that doesn't support OOP, so you can't.

What is Bourne shell in Linux?

The Bourne shell is an interactive command interpreter and command programming language. The bsh command runs the Bourne shell. The Bourne shell can be run either as a login shell or as a subshell under the login shell. Only the login command can call the Bourne shell as a login shell.

How do you close a shell file?

To end a shell script and set its exit status, use the exit command. Give exit the exit status that your script should have. If it has no explicit status, it will exit with the status of the last command run.


2 Answers

Python. No joking.

Scripting languages are scripting languages, and Python is a particularly nice one that many people find very approachable.

like image 153
Will Avatar answered Sep 18 '22 19:09

Will


Even though this question is pretty old, I think its worth mentioning that in August 2016 Microsoft made Powershell open-source and cross platform. Instructions for installation are on github.

https://github.com/PowerShell/PowerShell

like image 20
Carson McManus Avatar answered Sep 20 '22 19:09

Carson McManus