UNIX Banner Command


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers UNIX Banner Command
# 8  
Old 02-23-2010
Login Name:

You can add the following command in your .bash_profile as well as in .bashrc files.

banner $LOGNAME

I asked you to specify this in .bash_profile file which will be executed whenever we use ssh command.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Banner command equivalent in Linux

Hi guys can i get banner equivalent command in linux. I am using Linux xcclx0619.target.com 2.6.18-308.11.1.el5xen #1 SMP Fri Jun 15 16:19:17 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux (1 Reply)
Discussion started by: mohanalakshmi
1 Replies

2. UNIX for Dummies Questions & Answers

Need help with banner.

is there a way to reduce the size of the banner? banner -w ? TIA (8 Replies)
Discussion started by: budz26
8 Replies

3. Shell Programming and Scripting

Banner causes scp to fail from script but not command line.

Hi, We have an interesting issue which is similar to the one in this thread, but that never provided a full answer. - Ohh apparently I can't post URLs till I have 5 posts, sorry. We have a simple script that copies files from one shelf to the other. Both shelves have an ssh banner defined. ... (3 Replies)
Discussion started by: RECrerar
3 Replies

4. Shell Programming and Scripting

regarding banner command

Iam a MCA student having some doubts about 1) different disk related commands 2) Banner command 3) Different file related commands 4) set eb (where it is used) (1 Reply)
Discussion started by: gururajbhat
1 Replies

5. Shell Programming and Scripting

doubt in banner command !!!

hello, I am using banner command in my shell.I used :- The problem is that the output is printed in 3 separate lines.I want to display it in a single line.If the size is not enough then at least 2 words should come in the same line. Can you tell me what is the option in banner that would help... (4 Replies)
Discussion started by: nsharath
4 Replies

6. Shell Programming and Scripting

banner:command not found

hi, When i execute banner command the output is being displayed as banner:command not found When ever i give yum install banner the output is Loading "installonlyn" plugin Setting up Install Process Setting up repositories Parsing package install arguments Nothing to do what... (8 Replies)
Discussion started by: prakashreddy
8 Replies

7. UNIX for Dummies Questions & Answers

banner command

can I use Banner command in Linux, if not, what is the similar command in linux then... (7 Replies)
Discussion started by: vasikaran
7 Replies

8. Linux

banner command

is there a similiar function to the solaris banner function in linux? (1 Reply)
Discussion started by: BG_JrAdmin
1 Replies

9. UNIX for Dummies Questions & Answers

Banner

How can I display a message to the crt whenever someone logs on? They do not see a unix prompt. I need to easily update this also. (2 Replies)
Discussion started by: Beetlejuice
2 Replies

10. UNIX for Dummies Questions & Answers

Banner command

Hey all, I want to use the banner/echo command to write messages on different console windows. I knew that before, but I completely forget how to do it ! I just remenber that /dev/pts/# is the number of the window. and it's useful. It would be great if someone knows how to solve my... (4 Replies)
Discussion started by: maxwell17
4 Replies
Login or Register to Ask a Question
LOGIN(1)						    BSD General Commands Manual 						  LOGIN(1)

NAME
login -- log into the computer SYNOPSIS
login [-fp] [-h hostname] [user] DESCRIPTION
The login utility logs users (and pseudo-users) into the computer system. If no user is specified, or if a user is specified and authentication of the user fails, login prompts for a user name. Authentication of users is done via passwords. The options are as follows: -f The -f option is used when a user name is specified to indicate that proper authentication has already been done and that no password need be requested. This option may only be used by the super-user or when an already logged in user is logging in as themselves. -h The -h option specifies the host from which the connection was received. It is used by various daemons such as telnetd(8). This option may only be used by the super-user. -p By default, login discards any previous environment. The -p option disables this behavior. If the file /etc/nologin exists, login dislays its contents to the user and exits. This is used by shutdown(8) to prevent users from logging in when the system is about to go down. Immediately after logging a user in, login displays the system copyright notice, the date and time the user last logged in, the message of the day as well as other information. If the file ``.hushlogin'' exists in the user's home directory, all of these messages are suppressed. This is to simplify logins for non-human users, such as uucp(1). Login then records an entry in the wtmp(5) and utmp(5) files and executes the user's command interpreter. Login enters information into the environment (see environ(7)) specifying the user's home directory (HOME), command interpreter (SHELL), search path (PATH), terminal type (TERM) and user name (both LOGNAME and USER). The standard shells, csh(1) and sh(1), do not fork before executing the login utility. FILES
/etc/motd message-of-the-day /etc/nologin disallows logins /var/run/utmp current logins /var/log/lastlog last login account records /var/log/wtmp login account records /var/mail/user system mailboxes .hushlogin makes login quieter SEE ALSO
chpass(1), passwd(1), rlogin(1), getpass(3), utmp(5), environ(7), HISTORY
A login appeared in Version 6 AT&T UNIX. 4th Berkeley Distribution May 5, 1994 4th Berkeley Distribution