Unix/Linux Go Back    


Homework & Coursework Questions 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.

Homework & Coursework Questions


Closed    
 
Thread Tools Search this Thread Display Modes
    #8  
Old Unix and Linux 11-09-2016   -   Original Discussion by kjcraig77
vbe's Unix or Linux Image
vbe vbe is offline Forum Staff  
Moderator
 
Join Date: Sep 2005
Last Activity: 23 April 2018, 3:10 AM EDT
Location: Switzerland - GE
Posts: 6,535
Thanks: 305
Thanked 561 Times in 523 Posts
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...
Sponsored Links
    #9  
Old Unix and Linux 11-09-2016   -   Original Discussion by kjcraig77
RudiC's Unix or Linux Image
RudiC RudiC is offline Forum Staff  
Moderator
 
Join Date: Jul 2012
Last Activity: 23 April 2018, 4:18 AM EDT
Location: Aachen, Germany
Posts: 12,507
Thanks: 401
Thanked 3,878 Times in 3,565 Posts
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?
Sponsored Links
Closed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
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:21 AM.