10 More Discussions You Might Find Interesting
1. Windows & DOS: Issues & Discussions
Hi,
I have run into a problem to which i can't seem to find any solution, posting here is my last resort.
Problem:
I am using plink to access my router and run a few configuration commands. When in enter configurations mode, instead of sending next command plink keeps on waiting for manual... (7 Replies)
Discussion started by: zaainabbas
7 Replies
2. UNIX for Dummies Questions & Answers
Hello gurus,
I am making what I think is a simple db2 call from within a shell script but I am having difficulty producing the desired
report when I run the script shown below from a shell script in cron. For example, my script and the crontab file setup
is shown below:
#!/bin/ksh
db2... (3 Replies)
Discussion started by: okonita
3 Replies
3. Shell Programming and Scripting
hi,
Can anybody help me about the odd output file yielded by the following command:
plink --noweb --allow-no-sex --bfile input_file --assoc --adjust --out output_file
In fact, I'd like to perform a simple Bonferroni basic association test, and I obtains the following output file (extract... (1 Reply)
Discussion started by: boro82
1 Replies
4. Shell Programming and Scripting
I am trying to create a bat file with the below piece of code.
plink.exe -l username -pw password -P 22 -2 -ssh servername
sudo su - devuser
cd /opt/sample
echo 3 | ./Script.sh
It executes only the first line and not the rest of the lines.
Can you please help me where am I doing wrong? (5 Replies)
Discussion started by: lingu85
5 Replies
5. Programming
Hi!
I'm having problems with pipes... I need comunnications with childs processes and parents, but only one child can comunnicate with parent (first child), others childs can't.
A brief of code:
if(pipe(client1r)<0){
perror("pipe");
}
... (1 Reply)
Discussion started by: serpens11
1 Replies
6. Solaris
Hi,
I am using solaris 10. i am facing a strange problem regarding os passwd. i have a user oracle with passwd abc123
when i open a putty session with the os using abc123 it logs on. but if i use abc123!@# it agian log on without passwd error.
I came to know about the issue that if i... (5 Replies)
Discussion started by: malikshahid85
5 Replies
7. Programming
This is the source code:
#include <pwd.h>
#include <iostream>
#include <string.h>
using namespace std;
int main()
{
struct passwd *user;
char login="alex", password="qwertyuiop";
if ((user= getpwnam(login)) == NULL)
cout << "No such user\n";
else if... (24 Replies)
Discussion started by: hakermania
24 Replies
8. Homework & Coursework Questions
1. The problem statement, all variables and given/known data:
I have two files created from extracting data off of two CSV files, one containing class enrollment on a specific quarter and the other containing grades for that specific quarter. The Enrollment file generated contains course name,... (11 Replies)
Discussion started by: Lechnology
11 Replies
9. Emergency UNIX and Linux Support
on Runnning passwd command on HPUX 11.23
I am getting
pam_chauthtok: Shared object load failure.
Pls help ... (13 Replies)
Discussion started by: ultimatix
13 Replies
10. Shell Programming and Scripting
This is my shell script... test.sh
DIRECTORY=/XYZ/PQR
if ; then
echo "In test.."
else
echo "lno.."
fi
when i run this script through a putty its output is:
./test.sh: line 2: [: too many arguments
lno..
But when i run the same script using plink its running fine and its... (5 Replies)
Discussion started by: praveen.1
5 Replies