Sponsored Content
Full Discussion: Simple Email Script
Top Forums Shell Programming and Scripting Simple Email Script Post 302785423 by kirfee on Monday 25th of March 2013 03:05:26 PM
Old 03-25-2013
Good to see....your issues resolved.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

simple script

guys, I have a need for a simple script that scans all of our users home directories (/home/*) and looks to see if the executable bit is on. If it finds that a user has a file with an executable bit on, it will send an email to managment. (no users are supposed to have any programs of their own... (4 Replies)
Discussion started by: hedrict
4 Replies

2. Shell Programming and Scripting

Need a simple script

I have just recently decided to install Unix on one of my home computers, and I am enjoying it so far. However, I have no knowledge of writing computer programs or scripts. What I need to accomplish is a way for me to create backup copies of certain files, but I want to be able to just type all of... (10 Replies)
Discussion started by: Relykk
10 Replies

3. Shell Programming and Scripting

simple script help

TZ=`date +%Z`+24 ; a=`date +%Y-%m-%d`-----------greps 1 day ago date........ but this command greps date in files for 1 day ago date........even the current date is found inside the file..... is there any logic using this command that it will grep the last date entry made in file ,whether it... (4 Replies)
Discussion started by: ali560045
4 Replies

4. Shell Programming and Scripting

simple script

Experts, i've made a script in PHP. I'm looking for a script wat does the same but for Unix. Is there anyone who can make this for me (for free). I understand that normally you will only help and not make complete scripts but... With kindly regards Klaasjan Boven <?php // datum... (2 Replies)
Discussion started by: klaasjan
2 Replies

5. Shell Programming and Scripting

help in my simple script

Hi friends I have a file with two colums separated by Tab, the second colum had some numbers like the following: koko 2 toto3 4 momo6 1 hoho 0 bobo5 3 I'm trying to make a script that give me the results for rows when the second colum value are greater than 1 I make the... (7 Replies)
Discussion started by: reaky
7 Replies

6. Shell Programming and Scripting

Script to send email after comparing the folder permissions to a certain permission & send email

Hello , I am trying to write a unix shell script to compare folder permission to say drwxr-x-wx and then send an email to my id in case the folders don't have the drwxr-x-wx permissions set for them . I have been trying to come up with a script for few days now , pls help me:( (2 Replies)
Discussion started by: nairshar
2 Replies

7. Shell Programming and Scripting

Simple Script Can u help please?

I have a file that contains these lines User ID Username -------- ---------- 7738626,zrazak 7783535,jvincigu 7805567,ldrennan 7805583,mtsakama I need to sort the names alphabetically How can I sort the lines based on the user names ? I would appreciate a quick reply anyone ... (1 Reply)
Discussion started by: mnassiri
1 Replies

8. Shell Programming and Scripting

Help making simple perl or bash script to create a simple matrix

Hello all! This is my first post and I'm very new to programming. I would like help creating a simple perl or bash script that I will be using in my work as a junior bioinformatician. Essentially, I would like to take a tab-delimted or .csv text with 3 columns and write them to a "3D" matrix: ... (16 Replies)
Discussion started by: torchij
16 Replies

9. UNIX Desktop Questions & Answers

Need help with simple script

I work for a small internet company, and sometimes its useful to ping a certain IP over an open amount of time. I wrote a simple script that asks what IP you'd like to ping, and then pings it and puts it into a text file so that you can save the results. What i'd like though, is to have an infinite... (1 Reply)
Discussion started by: LelandSelene
1 Replies

10. Linux

How to execute a simple select script using a shell script?

Hi team, I have two select statements and need to run them using SYSDBA user select * from temp_temp_seg_usage; select segment_name, tablespace_name, bytes/ (1024*1024) UsedMb from dba_segments where segment_name='TEMP_TEMP_SEG_USAGE'; Need to run this using a shell script say named... (1 Reply)
Discussion started by: pamsy78
1 Replies
ATF-SH(1)						    BSD General Commands Manual 						 ATF-SH(1)

NAME
atf-sh [-s shell] -- interpreter for shell-based test programs SYNOPSIS
atf-sh script DESCRIPTION
atf-sh is an interpreter that runs the test program given in script after loading the atf-sh(3) library. atf-sh is not a real interpreter though: it is just a wrapper around the system-wide shell defined by ATF_SHELL. atf-sh executes the inter- preter, loads the atf-sh(3) library and then runs the script. You must consider atf-sh to be a POSIX shell by default and thus should not use any non-standard extensions. The following options are available: -s shell Specifies the shell to use instead of the value provided by ATF_SHELL. ENVIRONMENT
ATF_LIBEXECDIR Overrides the builtin directory where atf-sh is located. Should not be overridden other than for testing purposes. ATF_PKGDATADIR Overrides the builtin directory where libatf-sh.subr is located. Should not be overridden other than for testing purposes. ATF_SHELL Path to the system shell to be used in the generated scripts. Scripts must not rely on this variable being set to select a specific interpreter. EXAMPLES
Scripts using atf-sh(3) should start with: #! /usr/bin/env atf-sh Alternatively, if you want to explicitly choose a shell interpreter, you cannot rely on env(1) to find atf-sh. Instead, you have to hardcode the path to atf-sh in the script and then use the -s option afterwards as a single parameter: #! /path/to/bin/atf-sh -s/bin/bash ENVIRONMENT
ATF_SHELL Path to the system shell to be used in the generated scripts. SEE ALSO
atf-sh(3) BSD
September 27, 2014 BSD
All times are GMT -4. The time now is 04:04 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy