11-13-2001
Thanks!
LOGNAME / $LOGNAME worked for me.
Unixware7
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
Is there a way to grab the username who is running the shell script. I am trying to do is:
$ who am i
Peterd123 pts/5 Mar 20 09:30 (H0021563.xyz.com)
Is there a way to display only the user name above, which is"Peterd123".
Thanks
Raj (3 Replies)
Discussion started by: rkumar28
3 Replies
2. Post Here to Contact Site Administrators and Moderators
I want to change my username how can I (1 Reply)
Discussion started by: alnita
1 Replies
3. Post Here to Contact Site Administrators and Moderators
Is it possible to change my username in this site or is thre a way to delete my account and then create a new one with a diffrent user name (2 Replies)
Discussion started by: floresr
2 Replies
4. Shell Programming and Scripting
Hi All,
Good morning !!
I have to connect to a sftp server using following details,
1) username contains "@" as part of it. eg: xyz@abc@servername
2) We have to use password to connect to the server.
Could you please advise the solution for this?
Thanks in advance
Regards,
Mohan (1 Reply)
Discussion started by: mohanpadamata
1 Replies
5. Shell Programming and Scripting
Hi
I am new to using unix and am struggling with a script i am writing. What i am trying to do is get a user to enter a username, check the original file i created with username and pin to see if their is a corresponding entry. Next ask the user to enter the pin and see if this matches... (5 Replies)
Discussion started by: somersetdan
5 Replies
6. Post Here to Contact Site Administrators and Moderators
I know username is the unique id for my unix_dot_com account, but is it possible change it ? should i raise any special request to moderators ? (2 Replies)
Discussion started by: Arun_Linux
2 Replies
7. Post Here to Contact Site Administrators and Moderators
Hi,
I'd like to change my username.....
is there a mechanism to do this or can you do it? (1 Reply)
Discussion started by: Martincorneuk
1 Replies
8. Post Here to Contact Site Administrators and Moderators
After mis-typing my password once, I logged in. And after the "welcome Clovis_Sangrail" message displayed for a little less than a second, the display changed to a screen to recover my username and/or my password (it prompted for an email address).
Clearly, I don't need to do that. Maybe... (1 Reply)
Discussion started by: Clovis_Sangrail
1 Replies
9. UNIX for Beginners Questions & Answers
Greetings,
The title pretty much says it all. I've snooped everywhere and can't find anything on this. Since our organization went to numeric usernames, using the u|U option for ps returns no processes. Example passwd entry:
320074:DjZAJKXun8HBs:10129:6006:Joe Y:/cadhome/analysis/jy:/bin/bash... (4 Replies)
Discussion started by: crimso
4 Replies
LEARN ABOUT MINIX
sendmsg
SENDMSG(1) General Commands Manual SENDMSG(1)
NAME
sendmsg - send a message via Internet
SYNOPSIS
sendmsg [ -46vVfrmMl ] [ -u 'from' ] [ -s 'message' ] recipient
DESCRIPTION
sendmsg sends a one line text message to the terminal(s) of the specified recipient.
On the receiving site there must be a SAFT-server (Simple Asynchronous File Transfer) installed, like the sendfiled and the recipients ter-
minal must be writeable.
The recipient address can be specified as:
user
a local user or a sendfile alias (see below), e.g.: framstag
user@host
an user on a remote host, e.g.: framstag@bofh.belwue.de
saft://host/user
like above, but in URL-syntax, e.g.: saft://bofh.belwue.de/framstag
saft://host:port/user
like above, but with alternate SAFT-port, e.g.: saft://bofh.belwue.de:4870/framstag
OPTIONS
-4, -6 Explicitly force IPv4 or IPv6 connections. By default, the program will try to resolve the name given, and choose the appropriate
protocol automatically. If resolving a host name returns both IPv4 and IPv6 addresses, sendmsg will try to use the adresses in
the order they are returned by the resolver.
-v Verbose mode: show SAFT protocol messages.
-V Show version information and exit.
-f Force sending of messages and ignore tty (re)settings.
-r Reply to last received message.
-m Receive messages only on this tty. This is the default.
-M Allow receiving messages on other ttys.
-l Allow sending of multiline messages messages.
-s 'message'
Send directly message.
-u 'from'
Set sender to from instead of $LOGNAME.
-q Quiet mode: print no transfer messages.
EXAMPLES
sendmsg neg@linux.rus.uni-stuttgart.de
message: how about lunch?
FILES
/etc/sendfile.deny
Users which are not allowed to receive files or messages (set by root).
/var/spool/sendfile/$LOGNAME/config/restrictions
List of addresses from where you don't want messages or files. The format is:
user@host [mfb]
m stands for messages, f for files and b for both. Wildcards * and ? are allowed. Examples:
gates@microsoft.com b
*aol.com m
/var/spool/sendfile/$LOGNAME/config/aliases
The sendfile alias file. Format:
alias address
Example:
chief grmblfz@bigvax.somewhere.net
SEE ALSO
sendfile(1).
AUTHOR
Ulli Horlacher - framstag@rus.uni-stuttgart.de
3rd Berkeley Distribution SENDMSG(1)