10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
When i run the below command in Unix it works
echo|mailx -s "Subject" $( printf -- '-a %q ' /Directory/*.* ) mail_address < /directory/mail_body.txt
But when the same command is run in AIX Platform I get invalid -a error.
Could you please help on this
Please use CODE tags as... (4 Replies)
Discussion started by: arunkesi
4 Replies
2. Shell Programming and Scripting
whats is the best way to monitor file if it has not updated in last 24 hours.
example /var/logmessages in linux , /var/adm/messaged in solaris and alert to email .
find with mtime , perl file stat, anyone have any script examples of something better ? (3 Replies)
Discussion started by: nixguynj
3 Replies
3. Shell Programming and Scripting
I need bash script that monitor folders for new pdf files and create xml file for rss feed with newest files on the list. I have some script, but it reports errors.
#!/bin/bash
SYSDIR="/var/www/html/Intranet"
HTTPLINK="http://TYPE.IP.ADDRESS.HERE/pdfs"
FEEDTITLE="Najnoviji dokumenti na... (20 Replies)
Discussion started by: markus1981
20 Replies
4. Programming
I am using gfortran and want to send .o files in separate directory.
Currently I have the following in a bash script. The .mod files are handled ok, but the .o files are still created in the same directory as the source code
fsrc="newunit.f08 math.f08 tString.f08 prout.f08 prary.f08... (1 Reply)
Discussion started by: kristinu
1 Replies
5. Shell Programming and Scripting
Hi,
i am new to shell scripts, i need to write a script that can monitor size of directory of specific users. Please help.
Thanks,
Nitin (2 Replies)
Discussion started by: nicksrulz
2 Replies
6. Shell Programming and Scripting
Morning all
I hope I have put this in the correct forum.
I have a requirement to monitor a directory on a server for files being sftp'ed in and then to sftp them of to another server. The issues I have though of are making sure the files have completely transferred onto the server before they... (6 Replies)
Discussion started by: ltodd2
6 Replies
7. Linux
i m workiing on a shell script which may monitors network memory and send alert to user if it increase a threshold (1 Reply)
Discussion started by: navdeep5673
1 Replies
8. Shell Programming and Scripting
hi,
A script which look into a directory and send an alert via a mail. If there is any file exisiting in a directory for more then 10 min. (5 Replies)
Discussion started by: madfox
5 Replies
9. Shell Programming and Scripting
What is the best way for a script to run to monitor a directory for the presence of files and then perform a function afterwords? I was hoping to have it continually run and sleep until it detects that files are present in the directory, then break out of the loop and go on to the next step.
... (17 Replies)
Discussion started by: nulinux
17 Replies
10. UNIX for Dummies Questions & Answers
Hello,
I am a newbie who is attempting to write a script to monitor a directory for a set of 3 files that I am expecting to get ftp'd. Occasionally, we suspend operations for maintenance etc. but we still get the files so there can be more than 1 set. If there is more than 1 set, I would like... (2 Replies)
Discussion started by: cmf00186
2 Replies
ncursesw5-config(1) General Commands Manual ncursesw5-config(1)
NAME
ncursesw5-config - helper script for ncurses libraries
SYNOPSIS
ncursesw5-config [options]
DESCRIPTION
This is a shell script which simplifies configuring applications against a particular set of ncurses libraries.
OPTIONS
--prefix
echos the package-prefix of ncurses
--exec-prefix
echos the executable-prefix of ncurses
--cflags
echos the C compiler flags needed to compile with ncurses
--libs echos the libraries needed to link with ncurses
--version
echos the release+patchdate version of ncurses
--abi-version
echos the ABI version of ncurses
--mouse-version
echos the mouse-interface version of ncurses
--bindir
echos the directory containing ncurses programs
--datadir
echos the directory containing ncurses data
--includedir
echos the directory containing ncurses header files
--libdir
echos the directory containing ncurses libraries
--mandir
echos the directory containing ncurses manpages
--terminfo
echos the $TERMINFO terminfo database path, e.g.,
/etc/terminfo
--terminfo-dirs
echos the $TERMINFO_DIRS directory list, e.g.,
/etc/terminfo:/lib/terminfo:/usr/share/terminfo
--termpath
echos the $TERMPATH termcap list, if support for termcap is configured.
--help prints this message
SEE ALSO
curses(3X)
This describes ncurses version 5.9 (patch 20110404).
ncursesw5-config(1)