CommunityNews

CommunityNews

An Introduction to the UNIX Shell

The shell is a command programming language that provides an interface to the UNIX† operating system. Its features include control-flow primitives, parameter passing, vari- ables and string substitution. Constructs such as while, if then else, case and for are avail- able. Two-way communication is possible between the shell and commands. String-val- ued parameters, typically file names or flags, may be passed to a command. A return code is set by commands that may be used to determine control-flow, and the standard output from a command may be used as shell input.

The shell can modify the environment in which commands run. Input and output can be redirected to files, and processes that communicate through ‘pipes’ can be invoked. Commands are found by searching directories in the file system in a sequence that can be defined by the user. Commands can be read either from the terminal or from a file, which allows command procedures to be stored for later use.

Read in full here:

https://cscie26.dce.harvard.edu/~dce-lib113/reference/unix/bourne_shell.pdf

This thread was posted by one of our members via one of our news source trackers.

Popular General Dev topics Top

PragmaticBookshelf
Express your customers’ wild ideas as a set of clear, executable specifications that everyone on the team can read. Feed those examples i...
New
PragmaticBookshelf
Jack the Ripper and legacy codebases have more in common than you’d think. With its unique blend of forensic psychology and code analysis...
New
PragmaticBookshelf
Why do Roman numerals persist? How do we know that some infinities are larger than others? And how can we know for certain a program will...
New
PragmaticBookshelf
Success in today’s IT environment requires you to view your career as a business endeavor. In this book, you’ll learn how to become an en...
New
PragmaticBookshelf
Many books and articles have been written describing agile, adaptable approaches to writing software. But somehow, reading about software...
New
PragmaticBookshelf
Few of the ideas presented here are controversial or extreme; most experienced programmers will agree that this stuff works. Yet 50 to 70...
New
First poster: bot
What good is a theory of programming? Who wants one? Thousands of programmers program every day without any theory. Why should they bothe...
New
New
PragmaticBookshelf
Project retrospectives help teams examine what went right and what went wrong on a project. But traditionally, retrospectives (also known...
New
New

Other popular topics Top

Devtalk
Hello Devtalk World! Please let us know a little about who you are and where you’re from :nerd_face:
New
AstonJ
A thread that every forum needs! Simply post a link to a track on YouTube (or SoundCloud or Vimeo amongst others!) on a separate line an...
New
AstonJ
Or looking forward to? :nerd_face:
New
brentjanderson
Bought the Moonlander mechanical keyboard. Cherry Brown MX switches. Arms and wrists have been hurting enough that it’s time I did someth...
New
Rainer
My first contact with Erlang was about 2 years ago when I used RabbitMQ, which is written in Erlang, for my job. This made me curious and...
New
AstonJ
We have a thread about the keyboards we have, but what about nice keyboards we come across that we want? If you have seen any that look n...
New
AstonJ
In case anyone else is wondering why Ruby 3 doesn’t show when you do asdf list-all ruby :man_facepalming: do this first: asdf plugin-upd...
New
AstonJ
Seems like a lot of people caught it - just wondered whether any of you did? As far as I know I didn’t, but it wouldn’t surprise me if I...
New
New
AstonJ
Curious what kind of results others are getting, I think actually prefer the 7B model to the 32B model, not only is it faster but the qua...
New