hello,
I a problem. I would like write script in True64 Unix.see below.
last testerkl | head > mailfile.asc
wolteru < mailfile.asc
With the "last" command I get a list when testerkl logged on. And I would like to send this to a user. But how can I write in a "ctrl.-d" and "ctrl.-c" that... (2 Replies)
Hi folks!
I'm new in this forum and in the UNIX-world too!!
I've got a real problem:
I have to read out datas like name and e-mail-adress from a Windows- Server from the active directory and put this information into a file.
This file should be moved (or copied) on a Unix- Server...
But I... (3 Replies)
Hi All,
I m very new to unix.
I have a basic doubt ..
In unix I m seeing that there is a * at the end of by executable name (exe1*)..
Wht is the significance of that
Thanks a lot in advance (2 Replies)
Hi all,
I am trying to end a Menu script. Can people suggest various methods please?
At the moment I am doing:
quit=n
while
do
...Code
Code
Code...
read userinput
case $userinput in
q|Q) quit=y;;
esac
done
But this doesn't seem to work every time, occasionally it will work,... (6 Replies)
Hi
Current SCO Unix 5.05
I see that there are filenames with @ at the end of file name for example
in the /usr/lib there is file lpadmin@
what does the @ represent when it is at the end of the file name
Thanks (4 Replies)
Hi All,
Need help on below script
for g in `cat /home/sid.txt`
do
for h in `cat /home/dev.txt`
do
symmaskdb -sid $g -dev $h list assign |grep FA |head -1|awk '{print $2}' > tt1.txt
done
done
cat /home/sid.txt
**************
123
235
456 (5 Replies)
Hello,
I am working with a list that contains a large number of files listed by their absolute path. I am trying to determine a way to delete the file name at the end of each line, therefore leaving just the directory path. For example, I'd like to go from:
/home/something/file... (2 Replies)
This is a very general question but the idea popped into my head several years ago and wanted the opinions of all the master jedi's of this forum. I had a client that no matter what was done to control there spam(spam assassin,anti-virus(email scanning) and etc) sooner or later something would slip... (2 Replies)
Hi,
The first if loop in the script not ending and going to infinite loop.
#!/usr/bin/ksh
set -vx
lc=1
st_date=$(date "+%Y%m%d")
LOGFILE=/home/infa_shared/OM_ftp_transfer.log.$st_date
file="/home/infa_shared/OM_WF.log.$st_date"
while ]; do
if ]
then
sleep 15
let lc=lc+1
print... (4 Replies)
Discussion started by: nag_sathi
4 Replies
LEARN ABOUT DEBIAN
mdm-run
MDM-RUN(1) User Commands MDM-RUN(1)NAME
mdm-run - run a command in parallel with mdm-master
SYNOPSIS
mdm-run command
mdm-sync command
DESCRIPTION
mdm-run annotates command as a candidate for parallel execution. If an mdm-master process is present (i.e., the environment variable
MDM_CMD_SOCK is defined), mdm-run submits command to the mdm-master, and it exits when the master issues the command to an mdm-slave
process (which may be connected to another terminal) for execution. mdm-sync runs command in place, but it coordinates with mdm-master to
ensure that executing command does not interfere with commands that are currently executing in parallel.
If there is no mdm-master process present (i.e., the environment variable MDM_CMD_SOCK is not defined), both mdm-run and mdm-sync simply
run command as if you entered command all by itself.
These programs are a part of the Middleman System (mdm).
OPTIONS
Neither mdm-run nor mdm-sync accepts any options.
EXIT STATUS
If there is no mdm-master process present, the exit status of mdm-run is the exit status of command. If an mdm-master process is present,
the exit status is 0 if and only if command is successfully issued to an mdm-slave process for execution.
The exit status of mdm-sync is always the exit status of command.
ENVIRONMENT
The mdm system uses the following environment variable for internal communication, and thus you should not try to set them yourself.
MDM_CMD_SOCK
mdm-run uses this environment variable to decide whether a mdm-master process is present.
EXAMPLE
See mdm.screen(1) for an example use of mdm-run.
SEE ALSO mdm.screen(1)Linux 2009-03-06 MDM-RUN(1)