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
Authenticate AIX users from MS Active Directory kah00na AIX 3 02-28-2011 11:21 AM
control permissions for Active Directory users on AIX xia777 UNIX for Dummies Questions & Answers 1 04-20-2010 04:44 AM
Command for list of active/disabled users Mike1234 Linux 1 07-28-2008 04:58 PM
Active / Non Active users ? varungupta UNIX for Advanced & Expert Users 3 05-11-2008 11:00 PM


All times are GMT -4. The time now is 05:17 AM.

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