I guess I posted in wrong forum before. How do I pause another process and then restart it on linux? The other process doesn't listen for anything.
Thanks for any help you can offer.
Dane :confused: (1 Reply)
Hi, i facing a problem when run the script below..
while
do
if
then
printf "Please enter a name : "
read response # the problem occur here
if
then
ea_ident=${omc_ident}
else
#
# Check that name does not contain invalid... (14 Replies)
Hi there,
I'm writing a script to restore 3 directories and 3 mysql db's every 24 hours. While writing the script, I came across the thought...
Do I need to pause between executions?
Example:
msql restore1.sql
rm -Rf path1/*
cp -Rf path1/* /restore1
chmod 777 /folder1/cache1
... (2 Replies)
Hi,
I've written a shell script to take photos with my camera.
After every picture taken, the picture is transmitted to the computer via usb and then deleted on the camera.
But sometimes there's an error and the picture is not deleted and so, after a certain time, the camera chip will be... (4 Replies)
Hi,
I recently would like to write a shell script that
1. Runs in the background (can be done with "&", but i'd be happy for other solutions to keep programs running)
2. Does its stuff
3 THEN checks a specified folder for a size change over time (say, each 5 seconds. AND ONLY continues with... (9 Replies)
Hi,
I new to cron job...
I need to schedule a job that runs on a particular day at a specific time
say for example need to send a test mail at around 2:30PM on wed 10th August
i have used the below syntax, but the job was not executed.
30 14 * * * echo "message from UNIX... (3 Replies)
6) printf "\n GoodBye! \n\n"; exit ;;
I am trying modify the above command to pause a couple of seconds before exiting, so a message can be displayed. Thank you :). (8 Replies)
Discussion started by: cmccabe
8 Replies
LEARN ABOUT HPUX
profile
profile(4) Kernel Interfaces Manual profile(4)NAME
profile - set up user's environment at login time
DESCRIPTION
If the file exists, it is executed by the shell for every user who logs in. The file should be set up to do only those things that are
desirable for every user on the system, or to set reasonable defaults. If a user's login (home) directory contains a file named that file
is executed (via the shell's before the session begins. files are useful for setting various environment parameters, setting terminal
modes, or overriding some or all of the results of executing
EXAMPLES
The following example is typical (except for the comments):
# Make some environment variables global
export MAIL PATH TERM
# Set file creation mask
umask 22
# Tell me when new mail comes in
MAIL=/var/mail/myname
# Add my /bin directory to the shell search sequence
PATH=$PATH:$HOME/bin
# Set terminal type
echo "terminal: c"
read TERM
case $TERM in
300) stty cr2 nl0 tabs; tabs;;
300s) stty cr2 nl0 tabs; tabs;;
450) stty cr2 nl0 tabs; tabs;;
hp) stty cr0 nl0 tabs; tabs;;
745|735) stty cr1 nl] -tabs; TERM=745;;
43) stty cr1 nl0 -tabs;;
*) echo "$TERM unknown";;
esac
A more complete model can be found in
FILES SEE ALSO env(1), login(1), mail(1), sh(1), stty(1), su(1), environ(5), term(5).
profile(4)