10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
i`m trying to create an network monitoring script and i dont know how to make affect that script by pressing an key from keyboard and that script runs not in while or for or any other loop, but with bash command watch
for example: i have created an file (for example check) with content... (0 Replies)
Discussion started by: bacarrdy
2. Shell Programming and Scripting
I am looking for a shell script to merge input files into one file .. here is my idea:
1st paramter would be outfile file (all input files content)
read all input files and merge them to input param 1
ex: if I pass 6 file names to the script then 1st file name as output file... (4 Replies)
Discussion started by: hyd1234
3. Homework & Coursework Questions
I need to Write a shell script that allows some system-administration tasks to be preformed automatically from a menu-driven interface. with automated following tasks:
Copy directory tree
Delete files or directories
Output Information (this part is done )
*Copy directory tree
The “Copy... (2 Replies)
Discussion started by: femchi
4. Shell Programming and Scripting
Hey guys, first post! I want to write a script that will wait 1 second and then input the keys CTRL+ALT+J to the application i just opened.
The program is dosbox, and thay key combination starts video recording :) I have no idea how to program this, can anyone help please?
thanks in advance! (2 Replies)
Discussion started by: brunobliss
5. Shell Programming and Scripting
> sed ''
sed should take each line as input, process and output the result. In the above scenario the input is passed from keyboard and the output of 'Hello' as you can see is displayed on the screen after 'hi' is passed as input but not as... (1 Reply)
Discussion started by: loggedin.ksh
6. Shell Programming and Scripting
How would I change up a script that currently has something like:
echo what's 1 2 3 4?
then using read 1 2 3 4
I type 1 2 3 4.
so in the script i can do stuff like
echo $1 $2 $3 $4
i was just doing echo "1 2 3 4"|bash script
But was wondering how could I... (5 Replies)
Discussion started by: biopulse
Does anyone know how do you determine the user idle time of STDIN in order to log the user out for being idle too long. I would like to write a c program to do this but I it is not clear upon how to determine idle time from keyboard input. I have found that the "who.c" source file uses the last... (4 Replies)
Discussion started by: cpaquette
I need a way to detect the up and down arrow key inputs for my program. I do not want to wait for the return key to be entered(so that rules out getch() and family). Also I need to process several of these inputs in parallel, by servicing each request with a thread.
Is that possible?
... (4 Replies)
Discussion started by: ravneetd
9. Shell Programming and Scripting
I am developing a script that will run with '/bin/ksh' shell.
The script is intended to receive a password by keyboard input, but for security reasons I would like to hide what the user is typing.
The keyboard input is being caught by 'read' command.
echo "Please type your new... (1 Reply)
Discussion started by: marianor31
10. Shell Programming and Scripting
This User Id and Password mention below are being used with the ISQL command to connect to a sybase database so they are likely to not be the same as those that were signed on from the session.
Using a korn shell, the shell prompts for a User Id and Password. During the... (1 Reply)
Discussion started by: anthreedhr
SEND-REMINDERS(1) User Contributed Perl Documentation SEND-REMINDERS(1)
Send-reminders - send email reminders for special occasions
Send emails reminders set by users for special occasions.
Email-reminder allows users to define events that they want to be reminded of by email. Possible events include birthdays, anniversaries
and yearly events. Reminders can be sent on the day of the event and a few days beforehand.
This script is meant to be invoked everyday by a cron job. It mails the actual reminders out.
When run by the root user, it processes all of the spooled reminders. When run by a specific user, it only processes reminders set by that
Displays basic usage message.
Does not actually send any emails out.
Prints out information about what the program is doing, including the full emails being sent out.
Displays the version number.
Francois Marier <email@example.com>
Copyright (C) 2004-2010 by Francois Marier
Email-Reminder is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
Email-Reminder is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with Email-Reminder; if not, write to the Free Software Foundation,
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
perl v5.14.2 2012-05-28 SEND-REMINDERS(1)