09-11-2008
Hi DukeNuke2,
***********************************************************
USAGE="usage UserId.ksh"
#this script will check unix box for a particular user id
a=`finger|grep -i "ahusain"`
echo "$a\n"
***********************************************************
Thanks
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hello.,
i have 2 files..
1 file is in this folder
/home/test/ssk/DSA.WLG.20050713211544.20050710.20050713211544
(this part)
other file is in this folder
/home/kk/dev/DSA.WLG.20050711210100.20050710.20050711210100
... (1 Reply)
Discussion started by: pavan_test
1 Replies
2. UNIX Desktop Questions & Answers
hi all
i am writing the korn shell script.
i have a SQL script which gives me the folowing output
DSA.WLG.20050713211544.20051025.20050713211544 28991 1130198400
DSA.WLG.20050713211544.20051025.20050713211544 25881 1130198400
DSA.WLG.20050711210100.20051025.20050711210100 25881 ... (3 Replies)
Discussion started by: pavan_test
3 Replies
3. Shell Programming and Scripting
How do I change directories to a path given by input variable in Korn Shell?
e.g. I tired with the Korn Shell below but it doesn't work.
----------------------------------
#!/bin/ksh
echo "Enter folder name: \c"
read folder
cd $folder
----------------------------------
Any help will... (5 Replies)
Discussion started by: stevefox
5 Replies
4. AIX
I have this Korn shell script that runs via a cron entry. It runs in a loop "watching" a specific file system for files with a certain name. The file system that it is watching is an upload file system for an FTP server. When files that are the correct name come in, it takes the extension of the... (1 Reply)
Discussion started by: heprox
1 Replies
5. Shell Programming and Scripting
How do I replace a space " " character at a particular position in a line?
e.g. I have a file below
$ cat i2
111 002 A a
33 0011 B c
2222 003 C a
I want all the 1st spaces to be replaced with forward slash "/" and the 3rd spaces to have 5 spaces to get the output below:
111/002... (8 Replies)
Discussion started by: stevefox
8 Replies
6. Shell Programming and Scripting
I have to solve some exercises in Korn Shell, but i'm having some problems. For example:
Write a korn shell script with an alfanumeric string as argument. The script lists the file's names in the current directory that contain the given string as substring and that can be read and written.
I... (3 Replies)
Discussion started by: burm
3 Replies
7. Homework & Coursework Questions
1. The problem statement, all variables and given/known data:
Write a korn shell script with an alfanumeric string as argument. The script lists the file's names in the current directory that contain the given string as substring and that can be read and written.
2. Relevant commands, code,... (3 Replies)
Discussion started by: burm
3 Replies
8. Shell Programming and Scripting
There are 4 parameters that I have to pass from korn shell to sql script.
1) I have to check if $1 , $2 , $3 and $4 are null values or not .
How can I do that ?
2) Once its determined that these values are null (in the sense they are empty) how can I pass null values to sql script... (11 Replies)
Discussion started by: megha2525
11 Replies
9. Shell Programming and Scripting
#! /bin/ksh
while read line
do
if ] ; then
echo "no data"
continue;
fi
echo "performing operation on $line"
done < prg.txt (3 Replies)
Discussion started by: Juhi Kashyap
3 Replies
10. Shell Programming and Scripting
I am attempting to write a korn shell script that does the following, but I am getting errors. I'm new to korn shell scripting and am not sure what I am doing wrong. Please help with example scripts. Thanks.
1) check for day of the week
2) if day of the week is Monday then check for the... (4 Replies)
Discussion started by: ijmoore
4 Replies
LEARN ABOUT CENTOS
fprintd
fprintd(1) fprintd(1)
NAME
fprintd - Fingerprint management daemon, and test applications
SYNOPSYS
fprintd-enroll [username]
fprintd-list username [usernames...]
fprintd-verify [-f finger] [usename]
fprintd-delete username [usernames...]
DESCRIPTION
This manual page documents briefly the fprintd command-line utilities.
The fprintd daemon is accessed through D-Bus by those command-line utilities.
ARGUMENTS
username
The username for the user for which you want to query or modify the fingerprint database.
Not that fprintd-list and fprintd-delete require at least one username to be passed, and support multiple usernames.
fprintd-enroll and fprintd-verify will use the current username if none are passed on the command-line.
-f finger
For fprintd-enroll, the finger to enroll. Possible values are:
left-thumb, left-index-finger, left-middle-finger, left-ring-finger, left-little-finger, right-thumb, right-index-finger, right-
middle-finger, right-ring-finger, right-little-finger.
The default is automatic, selecting the first available finger for swipe devices, or all the enrolled fingers, for press devices.
TEST APPLICATIONS
fprintd-enroll
Will enroll the user's right index finger into the database.
fprintd-list
Will list the user's enrolled fingerprints.
fprintd-verify
Will enroll the user's right index finger into the database.
fprintd-enroll
Will enroll the user's right index finger into the database.
AUTHOR
fprintd was written by Bastien Nocera and Daniel Drake.
DIRECTORIES
By default, fprintd stores the fingerprints in /var/lib/fprint/
SEE ALSO
dbus-daemon, gnome-about-me
freedesktop 2014-06-10 fprintd(1)