09-26-2003
Ahh, I see said the blind man.
You setup a file called .plan in your home directory. Then when you use the finger command it will show info under plan.
$ cat .plan
who knows
$ finger myaccount
Login name: myaccount In real life: William Gates
Directory: /export/home/unixops Shell: /bin/ksh
On since Sep 26 09:02:40 on pts/0 from casqfe3.mycom.com
12 seconds Idle Time
No unread mail
Plan:
who knows
$
There is also a .project file that can be used. See the man page for finger.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi All,
I am new to UNIX Shell Scripting.
I want to know what is the difference between the following two statements.
if
and
if
Thanks & Regards (3 Replies)
Discussion started by: tvkamesh
3 Replies
2. UNIX for Advanced & Expert Users
I have a problem, why should root access only be provided from a login on the console, and why should a user be forced to use "su" command to perform system maintenance, rather than logging in? (2 Replies)
Discussion started by: pnxi
2 Replies
3. Shell Programming and Scripting
:D could any one answer my previous question...
just looked through logg and found no such question that I had asked.. please any input would help \..
:confused: (2 Replies)
Discussion started by: moxxx68
2 Replies
4. Shell Programming and Scripting
linux fedora core2
:) i am trying to write a script to clear, date, pwd and tty a linux termnal or konsole.. when I test the tty against $0 i am, getting a premission denied on the terminal that I am trying to printf to.. I tried using an awk command, test condition, an if then fi clause, but... (6 Replies)
Discussion started by: moxxx68
6 Replies
5. UNIX for Dummies Questions & Answers
When i type cd etc/shadow it says that file or directory doesnt exist? Is there a way to show this or am i typing something wrong? :confused: (6 Replies)
Discussion started by: Corrail
6 Replies
6. UNIX for Dummies Questions & Answers
Ok what is BSD exactly? I know its a type of open source but what is it exactly? (1 Reply)
Discussion started by: Corrail
1 Replies
7. Programming
Hello. I'm a complete newbie to C programming. I have a C program that wasn't written by me where I need to write some wrappers around it to automate and make it easier for a client to use. The problem is that the program accepts standard input to control the program... I'm hoping to find a simple... (6 Replies)
Discussion started by: Xeed
6 Replies
8. Shell Programming and Scripting
If given some output such as:
"I'm having a senior moment"
How do you print the last six characters to the screen?
I'm thinking with awk or sed but can't remember how. (1 Reply)
Discussion started by: stepnkev
1 Replies
9. Red Hat
Cheers!
In /etc/syslog.conf, if an error type is not specified, is it logged anywhere (most preferable is it logged to /var/log/messages) or not?
To be more precise I am interested in error and critical level messages. At default these errors are not specified in syslog.conf, and I need to... (6 Replies)
Discussion started by: dr1zzt3r
6 Replies
FINGER(1) General Commands Manual FINGER(1)
NAME
finger - user information lookup program
SYNOPSIS
finger [ options ] name ...
DESCRIPTION
By default finger lists the login name, full name, terminal name and write status (as a `*' before the terminal name if write permission is
denied), idle time, login time, and office location and phone number (if they are known) for each current UNIX user. (Idle time is minutes
if it is a single integer, hours and minutes if a ':' is present, or days and hours if a 'd' is present.)
A longer format also exists and is used by finger whenever a list of people's names is given. (Account names as well as first and last
names of users are accepted.) This format is multi-line, and includes all the information described above as well as the user's home
directory and login shell, any plan which the person has placed in the file .plan in their home directory, and the project on which they
are working from the file .project also in the home directory.
Finger may be used to lookup users on a remote machine. The format is to specify the user as ``user@host.'' If the user name is left off,
the standard format listing is provided on the remote machine.
Finger options include:
-m Match arguments only on user name.
-l Force long output format.
-p Suppress printing of the .plan files
-s Force short output format.
FILES
/etc/utmp who file
/etc/passwd for users names, offices, ...
/usr/adm/lastlog last login times
~/.plan plans
~/.project projects
SEE ALSO
chfn(1), w(1), who(1).
AUTHOR
Earl T. Cohen
BUGS
Only the first line of the .project file is printed.
There is no way to pass arguments to the remote machine as finger uses an internet standard port.
4th Berkeley Distribution May 10, 1986 FINGER(1)