Sponsored Content
Top Forums UNIX for Dummies Questions & Answers How to change display in shell Post 302437961 by tirwit on Friday 16th of July 2010 09:13:56 PM
Old 07-16-2010
How to change display in shell

Hi

The line for input of my shell currently looks like in the image attached. What I wanted is for the line where I input, it showed in last, the folder I'm in (in the attached images is "Documents") and not my user name "Pedro_Gordo". How do I do this?

My OS is Mac OS X 10.6.

Thanks in advance

PS: I know I asked a very basic question for which there is probably already an answer, but I don't know the terms for which to look, if you could just tell me where to look, it's good too Smilie
How to change display in shell-captura-de-ecra-2010-07-17-030946png
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Shell Script Display?

I remember learning that there is a way to make a shell script display the script itself to standard output while the script is being executed but I can't find how to do that. Any pointers? (2 Replies)
Discussion started by: wmosley2
2 Replies

2. Solaris

How to change display resolution

Hi, I would like to know how to change the display resolution in solaris on sparc. Can anyone please help me. Regards, Raja (3 Replies)
Discussion started by: RajaRC
3 Replies

3. UNIX for Dummies Questions & Answers

How to change display resolution in UnixV4.0D

I would like to know how to change the display resolution in UnixV4.0D. Can anyone please help me. Regards, Avgust (1 Reply)
Discussion started by: avgust
1 Replies

4. UNIX for Dummies Questions & Answers

Cannot change my display to high resolution

Hi all, i am one of the newbies with linux. i just install the Enterprise AS on my ibm z60t. I am trying to change the color setting to hight resolution, unfortunately, it does not work. it works only with the 256 color setting. It seems the widescreen or the vga card of my notebook does not... (3 Replies)
Discussion started by: sanlen
3 Replies

5. Post Here to Contact Site Administrators and Moderators

Change in display of date of postings

I would like to propose to change the display of dates in the postings, which is currently mm-dd-yy. To avoid ambiguity, I would like to propose dd-Mmm-yyyy. Thank you for your anticipated consideration. (5 Replies)
Discussion started by: figaro
5 Replies

6. Post Here to Contact Site Administrators and Moderators

Display Name change

Hi Currently my display name is "vasuarjula". Is there a way i can change my display name without changing my emailID and password. (2 Replies)
Discussion started by: vasuarjula
2 Replies

7. Shell Programming and Scripting

how to change unix cmd display prompt?

I am new to to unix and I want to make my own basic shell. What is the code I can use to change the unix cmd console display? For example my unix display prompt says MyCompterName~, I want it to say WhatEverMan~ (3 Replies)
Discussion started by: megaearth77
3 Replies

8. AIX

Change AIX display resolution ?

Hello, Running X on AIX local display - want to change resolution. On Linux for example I used xrandr. ? thanks Vilius (1 Reply)
Discussion started by: vilius
1 Replies

9. Emergency UNIX and Linux Support

Change the display format for ls -l command in AIX

Hi, I am using AIX 5.3. In my server if I list the file , I got the below result in below format. ********************************************* -rw-rw--w- 1 letapp1 staff 0 Jun 8 02:53 CC00030710.cntrl ********************************************* But now I am seeing... (22 Replies)
Discussion started by: puni
22 Replies
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. -R, --root CHROOT_DIR Apply changes in the CHROOT_DIR directory and use the configuration files from the CHROOT_DIR directory. -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). shadow-utils 4.1.5.1 05/25/2012 CHSH(1)
All times are GMT -4. The time now is 03:17 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy