06-30-2001
prompt
how do we change the command prompt? right now my prompt says
felix%
where felix is the machine i´m on. but how do we change it? for example, how can i make it say
me%
and how do we get it to tell us what directory we are under because when i change into a subdir then the prompt doesn´t change to include the subdir the way that dos works under windows.
thanks
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Even though I give rm -f *, the files are listed for confirmation of removal .
Why ?
Thanks
LS (2 Replies)
Discussion started by: ls1429
2 Replies
2. Solaris
Hi,
I'm attempting to reinstall a damaged installation of Solaris 9 (on a SunFire). Connected via serial from a PC. Can't get to the "ok" prompt to launch install from CD. Ctrl+break acknowledges my request for a break, but no prompt. "#." gets me an "sc>" prompt, with several options, but... (3 Replies)
Discussion started by: shonenfan
3 Replies
3. Solaris
Here is a silly question:
I have a Sun 220R and I need to get to the OK prompt. I can't hook up a monitor and keyboard to it. Its on a KVM right now and I also have a console connected to it. I can use PuTTY to get to the console and then connect to the 220R from there.
How can I get to the... (3 Replies)
Discussion started by: hshapiro
3 Replies
4. Shell Programming and Scripting
Hi i am working with clearcase in my UNIX machine...
Accidentally some had ran a script to check out all files in the machine....
Now i am actually trying to uncheck out all those files and had written a script for it....
The problem is that when ever i am trying to uncheck out the files, its... (2 Replies)
Discussion started by: grajesh_955
2 Replies
5. Solaris
I currently have this as my prompt when I log in (shell is sh):
PS1="`hostname ` # "
My question is how do I add the current directory to that prompt? Is there a way?
Thanks. (5 Replies)
Discussion started by: kjbaumann
5 Replies
6. Solaris
There is a number before the ok prompt in OBP between brackets {}. It is 0 most of the time but sometimes it is different number
{9} ok
or
{0} ok
What does this number mean and how it gets changed? (3 Replies)
Discussion started by: StarSol
3 Replies
7. Solaris
We have a Solaris 10 machine.
Today a weird issue happened.
After login remotely via ssh, the motd appeared BUT
there was no prompt!
The prompt only appears after pressing Ctrl+d or Ctrl+c.
Strange behaviour.
I have checked /etc/profile and own user .profile, there is no anamoly.
... (11 Replies)
Discussion started by: sundar63
11 Replies
8. Shell Programming and Scripting
Hello,
I am connectin to a remote server using:
ftp -n -i <server>
user <username> <password>
lcd ~/YAFFA
after i execute lcd command ther is a prompt:
"Local directory now /home/YAFFA"
How can is make it disappear?
:confused:
Please use and tags when posting code, data... (2 Replies)
Discussion started by: LiorAmitai
2 Replies
9. UNIX for Dummies Questions & Answers
how to Change the % prompt to - prompt in unix
:wall:
---------- Post updated at 07:40 AM ---------- Previous update was at 07:38 AM ----------
How To display the last modification time of any file in unix
---------- Post updated at 07:40 AM ---------- Previous update was at 07:40 AM... (2 Replies)
Discussion started by: manjiri sawant
2 Replies
10. Solaris
Hi,
on sunfire v890 unable to move from rsc prompt to ok prompt, i have executed the command break. (9 Replies)
Discussion started by: manoj.solaris
9 Replies
LEARN ABOUT DEBIAN
fgetty
FGETTY(8) System Administrator's Manual FGETTY(8)
NAME
fgetty - a small getty for linux
SYNOPSIS
fgetty tty [--noclear] [--long-hostname]
DESCRIPTION
The command fgetty is normally invoked by init(8), opens a tty port, prompts for a login name and invokes the /bin/login command.
OPTIONS
--noclear makes fgetty not clear the screen before displaying the login prompt.
--long-hostname makes fgetty display the full hostname in the login prompt.
FILES
/etc/issue printed before the login prompt
/etc/inittab init(8) configuration file
/var/run/utmp the system status file
ISSUE ESCAPES
The issue-file (/etc/issue or the file may contain certain escape codes to display the system name, date and time etc. All escape codes
consist of a backslash () immediately followed by one of the letters explained below.
d the current date. (eg: 2002-01-19)
s the system name, the name of the operating system. (eg: Linux)
l the name of the current tty line. (eg: tty3)
m the architecture identifier of the machine (eg: i586)
n the nodename of the machine, also known as the hostname. (eg: sirius)
o the domainname of the machine. (eg: (none))
r the release number of the OS. (eg: 2.4.3-i)
t the current time. (eg: 14:51:51)
u the number of current users logged in. (eg: 4)
U the string "1 user" or "<n> users", where <n> is the number of current users logged in. (eg: 4 users)
v Insert the version of the OS. (eg: #2 Fre Jan 18 23:05:45 CET 2002)
ENVIRONMENT VARIABLES
HOST is set to your hostname
TERM is set to linux
TTY is set to the current tty line
RETURN VALUES
1 could not chown/chmod tty device
3 could not open tty device
4 not a typewriter
5 vhangup failed
6 could not open tty (can't happen)
7 dup failed
8 could not exec login
9 read returned an unexpected error
10 unprintable character in login name
11 login name too long (>40)
13 user name started with a dash
23 received SIGQUIT
AUTHOR
Felix von Leitner <felix-fgetty@fefe.de>
Homepage: http://www.fefe.de/fgetty/
fgetty 2002-01-19 FGETTY(8)