oreilly.comSafari Books Online.Conferences.


Linux in a Nutshell

This directory of Linux commands is from Linux in a Nutshell, 5th Edition.

Click on any of the 687 commands below to get a description and list of available options. All links in the command summaries point to the online version of the book on Safari Bookshelf.

Buy it now, or read it online on Safari Bookshelf.


rexec [options] rhost command

Execute commands remotely. This client program connects to a remote host running rexecd, and passes it command. It uses login name and password for authentication. These can be passed on the command line using options below, provided through the $HOME/.netrc file or the environment variables REXEC_USER and REXEC_PASS. If it cannot determine the username and password, it will prompt the user for the information. Because it sends passwords to the remote system in clear text, use rexec only on a secure network. See ssh for a more secure alternative.



Send both error messages and output to standard out.


When received locally, only echo signals SIGINT, SIGQUIT and SIGTERM to the remote process.


Leave remote standard input open when the local input closes.


Debugging mode. Echo commands sent locally.

-l username

Specify a different username for the remote login. Default is the same as your local username.

-p password

Specify the password for the remote account.


Prompt user for name and password even if otherwise provided.


Do not echo any signals to the remote process.

Linux Resources
  • Linux Online
  • The Linux FAQ
  • Linux Kernel Archives
  • Kernel Traffic

  • Sponsored by: