Sponsored Content
Top Forums Shell Programming and Scripting How to run "finger" command in an if statement? Post 302978831 by MadeInGermany on Thursday 4th of August 2016 01:54:33 PM
Old 08-04-2016
No, it sees the $( ... ). A Posix-compatible shell treats it like the traditional ` ... `
Further, make sure there a spaces around the [ ]
Code:
 if [ $tst != 0 ]

 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Run away "bootpgw" & "inetd"

Hello All. I'm get the following messages posted to the /var/adm/syslog file ever second and not sure on how to stop the process. May 14 15:50:52 a3360 bootpgw: version 2.3.5 May 14 15:50:52 a3360 inetd: /etc/bootpgw exit 0x1 As said about this gets logged every second only thing that... (4 Replies)
Discussion started by: cfaiman
4 Replies

2. UNIX for Dummies Questions & Answers

What is plan that comes when you use finger "usename" on solaris ?

Hai, In order to find out a user we can use finger "username" . The output of finger command has various details in the following manner : Login name: xyz In real life: xyz Directory: /home/xys Shell: /bin/ksh No unread mail No plan What is the plan... (1 Reply)
Discussion started by: ajphaj
1 Replies

3. Shell Programming and Scripting

catalina.sh : need combination from "start" and "run"

heya, can someone help me with following problem. i am not sure how far you know the catalina.sh script from tomcat. when i start my tomcat with "catalina.sh run" then the startup-process-output will be printed out on the console, but the tomcat process is started in current shell/session, so... (1 Reply)
Discussion started by: Filly
1 Replies

4. Shell Programming and Scripting

can't run "date" command

A strange observation - $ ksh date ksh: date: cannot execute $ ksh "date" ksh: date: cannot execute $ ksh "date " Thu Sep 18 09:22:12 CDT 2008 why the date command doesn't run without a space ?? Please help (3 Replies)
Discussion started by: ajitkumar2
3 Replies

5. AIX

After run ps , uptime , w command I get reply "killed"

Hi, After run ps , uptime , w command I get reply "killed" as normal dba and staff group user. As root every command works fine. I cheched all the user settings , right with other servers and I could not find any error and other settings. The oslevel is 5300-10-01-0921. Any idea to... (12 Replies)
Discussion started by: boki
12 Replies

6. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

7. Shell Programming and Scripting

Source command returns error when it strikes conditional statement "ifeq"

Hello All, I am running source command on my project configuration file app.cfg which has conditional statements with make file systax E.g ifeq ($(APP_CMP_DIR),trunk). When I source this file it throws error: syntax error near unexpected token... (1 Reply)
Discussion started by: anand.shah
1 Replies

8. Shell Programming and Scripting

What is the use of "finger" command & how to use it to kill the online processes ?

Hi there, I am eager to know what exactly is the use of "finger" command & how to use it to kill the online processes ? :b: (1 Reply)
Discussion started by: abhijitpaul0212
1 Replies

9. UNIX for Dummies Questions & Answers

Using "mailx" command to read "to" and "cc" email addreses from input file

How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address and column 3 contains “cc” e-mail address to include with same email. Sample input file, email.txt Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies

10. UNIX for Beginners Questions & Answers

How to run root level command , if user has "su -" permission in sudoers provided?

I am looking t run root level command on multiple servers, but all servers have only "su - " permission available in sudoers. please help me if any way that I can run command using help of "su -" My script for hosts in `cat hosts.txt`; do echo "###########################Server Name-... (5 Replies)
Discussion started by: yash_message
5 Replies
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)
All times are GMT -4. The time now is 03:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy