A shell is an interface which allows you to give commands to a computer and receive responses.

They allow for the execution of scripts and are highly automatable.


Examples

Some popular shells include:


Operation

Shell commands take inputs, error and give outputs in a POSIX standardised way. Hence, it becomes very easy to orchestrate shells together to execute complex tasks.

ps | fzf

This command takes the output of ps or “process show” which lists the currently running processes on the computer, and pipes it into fzf or fuzzy find, which provides a TUI for searching through a list.

With this combination you can search all the currently running processes on your machine.