Sindhu S
sindhus@live.in 2013
Ekaterina Gerasimova
kittykat3756@gmail.com 2013-2014
Michael Hill
mdhillca@gmail.com 2013
Set Terminal to run a command or a different shell on startup.
Luciana Bastos de Freitas Menezes
lubfm@gnome.org 2007.
Pedro Vaz de Mello de Medeiros
pedrovmm@gmail.com 2007.
Leonardo Ferreira Fontenelle
leonardof@gnome.org 2008.
Andrius da Costa Ribas
andriusmao@gmail.com 2008.
Enrico Nicoletto
liverig@gmail.com 2009, 2013.

# Custom commands and shells

A shell is software that provides an interface for users of an operating system to run commands, which can be programs such as top or a command line shell. The default shell is usually Bash.

You can set Terminal to run a command when it starts up instead of awaiting input from you:

Select Edit Profile Preferences Command.

Marque Executar um comando personalizado em vez da minha shell

In the text box, type the command or the desired shell.

The command will be passed to the terminal exactly as you write it, including any arguments that you specify. Environment variables will be inherited from the terminal as it is a child process of the terminal.

Open a new Terminal tab or window to see how the custom shell or command executes.

You can also set the behavior of the terminal once the command finishes executing.

You may have to enter full path to the command or the shell if the directory where the command or shell resides is not in the `PATH` variable of your system.