Computer Hope

Other Pages

Home
Site map
Computer help

Dictionary
News
Q&A
What's new

Tools

E-mail this page
Print Preview
Edit this page



 

Linux / Unix login command

Quick links

About login
Syntax
Examples
Related commands
Linux / Unix main page

About login

Signs into a new system.

Syntax

login [ -p ] [ -d device ] [-h hostname | terminal | -r hostname ] [ name [ environ ] ]

-p Used to pass environment variables to the login shell.
-d device login accepts a device option, device. device is taken to be the path name of the TTY port login is to operate on. The use of the device option can be expected to improve login performance, since login will not need to call ttyname. The -d option is available only to users whose UID and effective UID are root. Any other attempt to use -d will cause login to quietly exit.
-h hostname | terminal Used by in.telnetd to pass information about the remote host and terminal type.
-r hostname Used by in.rlogind to pass information about
the remote host.

Examples

login computerhope.com - Would attempt to login to the computerhope domain.

Related commands

csh
exit
ksh
mail
mailx
newgrp
passwd
rlogin
rsh
sh
telnet
umask

 

Index

Category:
Linux / Unix

Companies:
Click here

Related Pages:

 

Resolved

Were you able to locate the answer to your questions?

Home - Computer help - Contact - Dictionary - Links
Link to Computer Hope - Bookmark Computer Hope