304 reputation
517
bio website
location
age
visits member for 2 years, 1 month
seen 7 hours ago

1/0


Oct
22
comment How to print only the duplicate values from a text file?
what if I want the triplicates only to be printed?
Oct
22
comment Join problem: throwing error, join extra operand
actually the problem is , I know only the prefixes of the files,I cant use the exact names of them.
Oct
4
comment How to put the specific files from a directory in an array in bash?
I have edited my explanation above.
Sep
29
comment How to know if a file has been written completely?
what does -s test??
Sep
29
comment How to know if a file has been written completely?
no local_enc* is not empty..
Sep
28
comment How to sort and join at the same time?
Hello Mat, think like this: The second file is joined against the file 1 on column 1 and then the uniq entries are taken from column 2 of file 1. I tried but I think syntactically its not correct, thats what I was asking if its ok or not.
Sep
24
comment Is it possible to send arrays from bash to C++ program?
I wanted to mean, not writing it explicitly, rather save strings in a bash array, and send it to a C++ function.
Sep
19
comment How can I send single file to multiple remote sites at the same time?
well, I needed to do some experiments, where the root site needs to send copies of the same thing to multiple site at the same time, and multiple sites do some processes then again send the result to root site.
Sep
19
comment How can I send single file to multiple remote sites at the same time?
at the same time->parallely
Sep
19
comment How can I send single file to multiple remote sites at the same time?
and thanks for your script, but again its sending files serially through the iteration of the loop. But I want it to be parallely sent.
Sep
19
comment How can I send single file to multiple remote sites at the same time?
thanks man!..the thing you suspected was correct, one of the guys of that group told me to specify the path to pdcp binaries using -e PATH, and there you go!it worked just fine. Though, It seems to me, somewhat slow..:P:P...anyways, can you just do one more little help? how can I set up global variables for pdcp binaries in root and other hosts? so that writing only pdcp will do,instead writing everytime the total path to pdcp binaries.
Sep
18
comment How can I send single file to multiple remote sites at the same time?
No, I haven't, and the reason to install it into my own path is I dont have permissions in the local/usr/bin and also etc. I'll try dicussing it in the code.google.
Sep
18
comment How can I send single file to multiple remote sites at the same time?
ok, let me tell you how I installed it briefly: In the root pc, I issued following command(inside the pdsh-2.26 directory) ./configure --with-ssh --prefix=/home/mindfreak/local, then make,then make install, I repeated the same process in other hosts where I have also the same file structure under home/mindfreak
Sep
18
comment How can I send single file to multiple remote sites at the same time?
I am trying ../local/bin/pdcp -R ssh -w mindfreak@asper.comgrid.ac,looper.comgrid.ac test.txt /home/mindfreak/Test_Data, from the Test_Data folder of root. It returns the following error: looper: bash: /global/home/mindfreak/Test_Data/../local/bin/pdcp: No such file or directory pdcp@seawolf2: nestor: ssh exited with exit code 127 asper: bash: /global/home/mindfreak/Test_Data/../local/bin/pdcp: No such file or directory pdcp@seawolf2: jasper: ssh exited with exit code 127
Sep
18
comment How can I send single file to multiple remote sites at the same time?
I have installed pdsh in all the hosts,and also,configured all the hosts for passwordless access from the root(by copying public keys of root to them and vice-versa), but the problem is when I issue pdcp command from root,to send same files to the remote hosts,it says,rcmd socket: permission denied. What is the solution for that?
Sep
17
comment How can I send single file to multiple remote sites at the same time?
I asked that because I was puzzled too from the man page as it was written that the path cann't be specified the way we specify it in scp,but with that they meant the use of :and then file path name, I didn't get it then,now its clear.
Sep
17
comment How can I send single file to multiple remote sites at the same time?
Is there any other way round than using gender database? I have 1 root site(from where I use to send files to all the 3 client sites).from the man page I found I can use pdcp -w user@[host1,host2...hostn] command, please correct me if its wrong, also here how can I mention the destination hosts path is like pdcp -w user@[host1, host2, host3] /home/user/Test_Data(let this is the common destination path for each hosts).
Sep
15
comment How can I send single file to multiple remote sites at the same time?
Can you shed some light on how can I use it in an environment where I have 3 remote servers each in different locations, how to install and get it working, any man page?
Sep
7
comment How to login from remote server to my own PC?
When I ran ps -ef | grep ssh, I found the following:nawshad 2898 2512 0 23:18 pts/0 00:00:00 grep --color=auto sshd Does it mean that I dont have ssh enabled in my personal laptop?