For questions relating to shells and kernels.

learn more… | top users | synonyms

10
votes
8answers
4k views

What's shell script's advantage over interpreted programming languages? [closed]

(I'm not sure if it's a appropriate question here) Shell scripts, like those written in bash, can do many things. They can call Unix programs, pipe their output, redirect I/O from/to files, control ...
5
votes
2answers
736 views

Functional programming: Writing a small interpreter

I'm working on a small Unix shell, and am contemplating the idea of writing a script interpreter. While reading about the subject I inevitably hear of functional programming, lambda calculus, and find ...
3
votes
1answer
2k views

Is it possible to use python as a shell replacement? [duplicate]

Recently I was looking at python's shutil and subprocess etc... And I started wondering: wouldn't it be ok to use python instead of e.g. bash? What am I missing?