I have a Linux socket server program. I need to run the commands sent by the client and return the output to client. Is there a quicker way?
I tried with
ptr=popen(command, "r"); and then
fgets(buf, size,ptr);
write buf to socket
fgets hangs for me.
Now, I would like to know if I can... (3 Replies)
Hi Everyone,
I am trying to use the basic scp command in Linux to transfer a file over to a windows system, my syntax is as follows: scp <filename> <username)@<serveraddress>:directory. But the command keeps timing out. Any one have any thoughts? Thanks in advance! (5 Replies)
Hi,
Script :
#!/usr/bin/ksh
echo "\n\t\t\t\t Enter your Name : \c"
read name
##############################
I ran the script in LINUX
Enter your Name : abcdefghijklmnopqrstuvwxyz
I ran the script in AIX
Enter your Name : opqrstuvwxyz <
I'm not able to see the... (2 Replies)
Hi,
I accidentally did this:
wadhwaso@nxsdgd01 deps]$sudo rpm -e --nodeps glibc-2.5-107.x86_64
error: %postun(glibc-2.5-107.x86_64) scriptlet failed, exit status 255
and since then I am not able to run any command on this server except 'cd'.
I always get the following error:
$ ls... (6 Replies)
Hi Experts,
I am trying to run a Mainframe Job from Linux using NDM process.
I will be passing the contents of the Mainframe job as an parameter to the NDM script. This is working fine with FTP when i use the option filetype = jes, but in NDM i am not able to identify a similar option like... (2 Replies)
I am looking to run a Windows utility BitRecover PST Viewer.
To help me read a pst file. Can anybody guide me how can I run this Windows utility on Linux. (3 Replies)
Hi All,
How can i run a single command on multiple servers with or without giving credentials.
I have a file(servers.txt) which has got list of servers and i want to run a command lsb_release -dr on all these servers and get output of those servers against each server.
I tried below code... (9 Replies)