Home
Man
Search
Today's Posts
Register

Students must use and complete the template provided. If you do not use the template your post may be deleted! Special homework rules apply here.

Simple loop to mail all active users.

Login to Reply

 
Thread Tools Search this Thread
# 8  
Old 11-09-2016
You havent been searching much, in less than 15 seconds I got this:
Command substitution - Linux Shell Scripting Tutorial - A Beginner's handbook

But many more exist out there...
That said this link should solve all your issues...
# 9  
Old 11-09-2016
man bash and search for command substitution.


Quote:
Command Substitution
Command substitution allows the output of a command to be substituted in place of the command name itself. Command substitution occurs when the command is enclosed as follows:
$(command)
or (“backquoted” version):
`command`
.
.
.

It's been around in sh already, so it MUST be there. What shell and version do you use?
Login to Reply

« Previous Thread | Next Thread »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Search the string in the active log and send mail balareddy Shell Programming and Scripting 1 05-13-2014 09:42 AM
Authenticate AIX users from MS Active Directory kah00na AIX 3 02-28-2011 12:21 PM
Loop script required within an active log file Henk Trumpie Shell Programming and Scripting 3 01-24-2011 07:06 AM
keep mail command active inside a script on unix iga3725 Shell Programming and Scripting 4 10-19-2010 02:05 PM
control permissions for Active Directory users on AIX xia777 UNIX for Dummies Questions & Answers 1 04-20-2010 05:44 AM
Command for list of active/disabled users Mike1234 Linux 1 07-28-2008 05:58 PM
Active / Non Active users ? varungupta UNIX for Advanced & Expert Users 3 05-12-2008 12:00 AM


All times are GMT -4. The time now is 10:59 AM.

Unix & Linux Forums Content Copyright 1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password