Sponsored Content
Full Discussion: Simple Email Script
Top Forums Shell Programming and Scripting Simple Email Script Post 302780733 by jgalvin on Friday 15th of March 2013 03:51:10 AM
Old 03-15-2013
Linux

Thanks Kirfee

Is there somewhere i should enter where the files are in this script?

The output i am getting from this is :
Code:
ls: *2013-03-15*: No such file or directory
./rtapp1.sh: line 6: file not found: command not found
Null message body; hope that's ok

Im presuming that its because I didnt specify the directory

the directory is /RTAPP1/Dailybkup/

Sorry im completely new at this so i know I should add it but havent a clue where

Last edited by Franklin52; 03-17-2013 at 05:59 AM.. Reason: Code tags
 

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
Locale::Script(3pm)					 Perl Programmers Reference Guide				       Locale::Script(3pm)

NAME
Locale::Script - standard codes for script identification SYNOPSIS
use Locale::Script; $script = code2script('phnx'); # 'Phoenician' $code = script2code('Phoenician'); # 'Phnx' $code = script2code('Phoenician', LOCALE_CODE_NUMERIC); # 115 @codes = all_script_codes(); @scripts = all_script_names(); DESCRIPTION
The "Locale::Script" module provides access to standards codes used for identifying scripts, such as those defined in ISO 15924. Most of the routines take an optional additional argument which specifies the code set to use. If not specified, the default ISO 15924 four-letter codes will be used. SUPPORTED CODE SETS
There are several different code sets you can use for identifying scripts. A code set may be specified using either a name, or a constant that is automatically exported by this module. For example, the two are equivalent: $script = code2script('phnx','alpha'); $script = code2script('phnx',LOCALE_SCRIPT_ALPHA); The codesets currently supported are: alpha, LOCALE_SCRIPT_ALPHA This is a set of four-letter (capitalized) codes from ISO 15924 such as 'Phnx' for Phoenician. It also includes additions to this set included in the IANA language registry. The Zxxx, Zyyy, and Zzzz codes are not used. This is the default code set. num, LOCALE_SCRIPT_NUMERIC This is a set of three-digit numeric codes from ISO 15924 such as 115 for Phoenician. ROUTINES
code2script ( CODE [,CODESET] ) script2code ( NAME [,CODESET] ) script_code2code ( CODE ,CODESET ,CODESET2 ) all_script_codes ( [CODESET] ) all_script_names ( [CODESET] ) Locale::Script::rename_script ( CODE ,NEW_NAME [,CODESET] ) Locale::Script::add_script ( CODE ,NAME [,CODESET] ) Locale::Script::delete_script ( CODE [,CODESET] ) Locale::Script::add_script_alias ( NAME ,NEW_NAME ) Locale::Script::delete_script_alias ( NAME ) Locale::Script::rename_script_code ( CODE ,NEW_CODE [,CODESET] ) Locale::Script::add_script_code_alias ( CODE ,NEW_CODE [,CODESET] ) Locale::Script::delete_script_code_alias ( CODE [,CODESET] ) These routines are all documented in the Locale::Codes::API man page. SEE ALSO
Locale::Codes The Locale-Codes distribution. Locale::Codes::API The list of functions supported by this module. http://www.unicode.org/iso15924/ Home page for ISO 15924. http://www.iana.org/assignments/language-subtag-registry The IANA language subtag registry. AUTHOR
See Locale::Codes for full author history. Currently maintained by Sullivan Beck (sbeck@cpan.org). COPYRIGHT
Copyright (c) 1997-2001 Canon Research Centre Europe (CRE). Copyright (c) 2001-2010 Neil Bowers Copyright (c) 2010-2013 Sullivan Beck This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.18.2 2013-11-04 Locale::Script(3pm)
All times are GMT -4. The time now is 12:57 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy