In case you expect it, the /etc/issue will show only when you are at the console. But of course, if you can ssh you know what IP is already and you do not have to see it.
You should be able to see the pre-login if you are at the console of a VM.
Quote:
returns with my ip, but not sure how to implement this yes.
In your script where you use the ifconfig command, substitute it for
How can I control the screen output when trying to read a large file onto the screen x number of lines at a time. I'm trying to use this is a bourne shell script. I want to display 10 lines of a file, pause the screen so that a user can read the file, and then display the next 10 lines of the file,... (6 Replies)
hi can some body please help me...i'm been sitting here trying to figure how to do this..but still don't understand. Like each type of *.src (if any) in the given directory will be displayed on the screen one page at a time....
can someone explain how to do this..plz (1 Reply)
Hello All,
I have a file that is formatted like this
1234556
1234567
1234588
1123888
1999999
1010101
1919191
1919191....
for a total of 26000 + lines
how do I get a script to read lets say 50 lines at a time
and display the output to the screen in column format around 5 or 6... (2 Replies)
Hi,
How can i increase the size of my display on AIX 5.3.What i mean is e.g if i do and ps -ef i would get some like:
/data/app/oracle/product/10.2
/usr/bin/ksh /usr/local/bin/s
i want it to show the whole thing on the screen without cutting it,because there is still space on the screen... (0 Replies)
Hi,
Ive 3 screens, 2 nvidia graphiccards and all works fine with the nvidia binary driver and xinerama. I can maximize all windows an one screen, but now i need to span it over all 3 screens.
Any ideas?
thanks in advance. (3 Replies)
Hi,
Anyone can help me on how to return back to normal size not the full size of my virtual box screen display and also display the menu bar from the top.
Thanks in Advance. (4 Replies)
Hi,
Im running ubuntu server 8.04 LTS, but I want to change the initial login screen message. How can I do this? Which files do I need to change for this?
So just to be clear when I reboot the server the login text which is then displayed thats what I want to change not the text that is... (5 Replies)
Hi,
I have a menu of around 10 lines with options.
I want to display it in bottom right corner of screen for better display.
I can do it with clear screen. But I don't want to use it, because it will clear the existing text. After one choice from menu is executed, the menu should just place... (3 Replies)
I connect via vnc to a linux computer.
after a logout, I cannot see the files on the screen (although i can see the screensaver).
I can open a terminal and see the files etc.
How can i see the files on the screen again? (5 Replies)
Discussion started by: FelipeAd
5 Replies
LEARN ABOUT LINUX
chsh
CHSH(1) User Commands CHSH(1)NAME
chsh - change login shell
SYNOPSIS
chsh [options] [LOGIN]
DESCRIPTION
The chsh command changes the user login shell. This determines the name of the user's initial login command. A normal user may only change
the login shell for her own account; the superuser may change the login shell for any account.
OPTIONS
The options which apply to the chsh command are:
-h, --help
Display help message and exit.
-s, --shell SHELL
The name of the user's new login shell. Setting this field to blank causes the system to select the default login shell.
If the -s option is not selected, chsh operates in an interactive fashion, prompting the user with the current login shell. Enter the new
value to change the shell, or leave the line blank to use the current one. The current shell is displayed between a pair of [ ] marks.
NOTE
The only restriction placed on the login shell is that the command name must be listed in /etc/shells, unless the invoker is the superuser,
and then any value may be added. An account with a restricted login shell may not change her login shell. For this reason, placing /bin/rsh
in /etc/shells is discouraged since accidentally changing to a restricted shell would prevent the user from ever changing her login shell
back to its original value.
FILES
/etc/passwd
User account information.
/etc/shells
List of valid login shells.
/etc/login.defs
Shadow password suite configuration.
SEE ALSO chfn(1), login.defs(5), passwd(5).
User Commands 06/24/2011 CHSH(1)