Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~349 People Reached
Favorite Forums
Favorite Tags
Member Avatar for woodson2

What I would like to do is read each line in the atdinfile: A sample atdinfile would look like this: 651 652 653 654 655 656 657 658 659 660 661 664 665 666 667 668 I would like to grep through each atd job id looking for a match …

0
100
Member Avatar for woodson2

Below is a simple script to prompt for user input while suggesting an editable default value at the prompt: shortname=user1 read -e -i $shortname -p "Please enter the username you would like to add: " input USERNAME="${input:-$shortname}" Please enter the username you would like to add: user1 The above is …

0
51
Member Avatar for woodson2

I currently use this message to send e-mails in a script but I would also like to save the output of this code to a file as well while preserving the variables. What's the easiest way to accomplish this? when=`/bin/date` /usr/sbin/sendmail -t >2 <<-EOM Subject:User access disabled. From:testuser@test.com To:$EMAIL User …

Member Avatar for griswolf
0
102
Member Avatar for woodson2

I'm trying to enter a block of text into an existing configuration file for OpenLDAP so the setup can be fully scripted. The text below is what I want to enter into slapd.conf and this all works well and good, however as you probably know this will place the text …

Member Avatar for L7Sqr
0
96