10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
I am firing off some scripts from a main script,
cd B/
./EV_B_m0-m200_hex1.sh &
./EV_B_m0-m200_hex2.sh &
wait
...more
It would be useful to put a bit of time between the two to clean up the output to the terminal.
I think this would work,
cd B/
... (4 Replies)
Discussion started by: LMHmedchem
4 Replies
2. UNIX for Advanced & Expert Users
This came up a little in another thread. Can someone explain some why awk (I happen to use gawk) behaves as follows:
$ cat file
aaa
$ awk 'BEGIN {print x}' x=1
$ awk x=1 'BEGIN {print x}'
awk: fatal: cannot open file `BEGIN {print x}' for reading (No such file or directory)
$ awk -v... (6 Replies)
Discussion started by: hanson44
6 Replies
3. Shell Programming and Scripting
Hello,
I am looking for a connection method in which i can connect to a remote server but I want to have only one chance to connect to the remote server (not to be asked for iuser name and password again).
If I have provided a wrong password then I want the connection to broke and be routed... (1 Reply)
Discussion started by: LiorAmitai
1 Replies
4. UNIX for Dummies Questions & Answers
I know this is probably a really stupid question, with a really stupidly simple answer.
So I've got a Mac, and I have to do a bunch of work via SSH on a Solaris workstation owned by my university.
I've already got keys set up, and my ~/.ssh/config file set up as follows:
Host prime
... (6 Replies)
Discussion started by: oboewan
6 Replies
5. Shell Programming and Scripting
hi,
The following mail cmd executed successfully.
mailx -s 'subject' user@company.com < testfile.dat
However When i include this mail cmd in shell script it behave odd. Getting an error message mailx comand not found. (2 Replies)
Discussion started by: zooby
2 Replies
6. Shell Programming and Scripting
Hi,
I'm trying to make an SSH into a SGSN node and collect some commands printouts.:confused:
I really don't know how this can be done.
I think it must be like this:
#!/bin/bash
ssh user@192.168.88.10
Then I must enter the password, but I don't know how to do it, I tried with:
echo... (3 Replies)
Discussion started by: nagomes
3 Replies
7. UNIX for Advanced & Expert Users
I am wanting to run backups to remote servers ie: A to B's tape drive and B to A's tape drive. Should I use rsh or ssh? It looks as those rsh opens up security issues (the backup has to run as root). Which one should be used and does someone have the links to set up allowed connections. In what I... (7 Replies)
Discussion started by: jphess
7 Replies
8. Shell Programming and Scripting
Hi , I have a script that compares two string and prints the larger string , This is an extract of a biggers script that i have.
#! /bin/ksh
DT_STRING_CMP=20081221223440
DT_STRING=20071221223440
if ; then
echo "20081221223440"
fi
echo... (5 Replies)
Discussion started by: amit1_x
5 Replies
9. Shell Programming and Scripting
Hi , I have a script that compares two string and prints the larger string , This is an extract of a biggers script that i have.
#! /bin/ksh
DT_STRING_CMP=20081221223440
DT_STRING=20071221223440
if ; then
echo "20081221223440"
fi
echo... (1 Reply)
Discussion started by: amit1_x
1 Replies
10. Solaris
Hi ,
I have a Solaris 9 machine in which I can ftp but telnet/rsh/ssh is not working, although it was working before. I cannot also log in through the console. I get the banner for telnet but it kicks me out.
Any ideas?
rte (2 Replies)
Discussion started by: run_time_error
2 Replies