Sponsored Content
Top Forums UNIX for Advanced & Expert Users Error Message while copying- Pls Help Post 302223748 by zaxxon on Monday 11th of August 2008 09:47:27 AM
Old 08-11-2008
I am blind now... Smilie There are [ code ] and [ /code ] tags to help display code properly.

Quote:
cp: cannot set the permission bits on product/dms300/preproc/input/67/U080823050069OCC: No such file or directory
You should echo your variables and check if the paths etc. are correct, for example those two for your copy here:
Code:
cp $line $lindir

Also I recommend to use scp instead of rcp.

For the start of background processes from one machine, you could use ssh or rsh, better ssh Smilie
Also for killing them at once, you might use ssh again and something like:
Code:
ps -ef| grep myscript| awk 'NR > 1 {print $2}' | xargs kill

Make sure you only get the processes you want, ie. leave the xargs out for a moment and check it.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

urgent help needed!!in copying files to /tmp at boot time,pls help!

Hi all, I am trying to boot a an OS from RAM...(its a opensolaris based distro) For this i have picked up 2 key lib files that when copied to /tmp and mounted to respective places will do the job.. The sizes of these files combined comes upto 600mb.(i have 2gb ram) Now i have also located the... (0 Replies)
Discussion started by: wrapster
0 Replies

2. Shell Programming and Scripting

why is this code generating syntax error?pls help

#!/bin/sh copy() { source=`stat -c %s $1` dest=0 cd $2 while ;do cp $1 $2 & pct=`((100 * $dest) / $source )` dest=`dest+1` echo -en ".$pct%\b\b\b" sleep 1 done } echo "starting now" copy /file1 /tmp (3 Replies)
Discussion started by: wrapster
3 Replies

3. UNIX for Advanced & Expert Users

cp script error, pls help in debugging!!!!

Hi all, I searched to find out a few cp scripts that had progress bar, but did not compromise on performance, when my efforts were in vain i went ahead and wrote one of my own ,taking i/p frm other scripts... But this is causing some errors and am unable to debug it.....pls help Here is the... (1 Reply)
Discussion started by: wrapster
1 Replies

4. Shell Programming and Scripting

Error Handling -pls advice

Dear friends, I am using the below command in my unix script ----------------------------------------------- File_Name=`ls $CTRY*$DATE_SUFFIX*zip` --> Command-1 ..... if then unzip -a $File_Name -d $CTRY_DIR/$CTRY else echo "File for $CTRY dated $DATE_SUFFIX does not exist... (2 Replies)
Discussion started by: sureshg_sampat
2 Replies

5. IP Networking

network message explanation pls

Hi guys, I know some about networking but I know some message below but Can anyone give me full explanation about these message below and how to generate these messages 1 14:52:49.463851 arp who-has 192.168.0.107 tell 192.168.0.108 2 14:52:49.463851 arp reply 192.168.0.107 is-at... (1 Reply)
Discussion started by: peac3
1 Replies

6. Shell Programming and Scripting

help pls getting EOF error

#!/bin/bash while : do clear echo ""***************************************" echo "* - MAIN - MENU - *" echo "***************************************" echo "* 1. Directory Listing *" echo "* 2. Users Currently Logged In *" echo "* 3. Create a... (2 Replies)
Discussion started by: celtic123
2 Replies

7. Shell Programming and Scripting

Error in Shell Script - Can anyone help Pls

Please find my shell script below ------------------------------------- #!/usr/bin/ksh ORAUSER=$1 P_REQUEST_ID=$4 current_time=`date +%m%d%y.%H%M%S` echo "Process started at `date +%m/%d/%y.%H:%M:%S`" #Intialize Variables export SHLIB_PATH=/usr/local/lib ext=".pdf" ps_ext=".ps"... (4 Replies)
Discussion started by: uuuunnnn
4 Replies

8. UNIX for Dummies Questions & Answers

Pls. help with dmidecode message

Hi, On Linux Redhat 5.3, found one of the server has amber light. I then ran dmidecode, I found this on the result. System Boot Information Status: Firmware-detected hardware failure But it doesn't tell me which hardware failure? It's running on HP. Any idea? (4 Replies)
Discussion started by: samnyc
4 Replies

9. Shell Programming and Scripting

Pls Help: SFTP Error Handling for transfers

I am working on a shell script where after making sftp connection to a remote server the file are being transferred. The problem is how to capture return code for the file which is missing at the remote location. I have tried to capture the return code which return value of "0" even the transfer of... (4 Replies)
Discussion started by: Khan28
4 Replies

10. UNIX for Beginners Questions & Answers

BASH join command error PLS

i've tried every variation possible and keep getting not sorted error. can anyone shed any light on how to do this? (image attached) (1 Reply)
Discussion started by: deadcick
1 Replies
GO::Model::GeneProduct(3pm)				User Contributed Perl Documentation			       GO::Model::GeneProduct(3pm)

NAME
GO::Model::GeneProduct - gene product in a particular species DESCRIPTION
represents a gene product in a particular species (this will effectively always be refered to implicitly by the gene symbol even though a gene may have >1 product) acc Usage - Returns - Args - symbol Usage - Returns - Args - type Usage - Returns - Args - full_name Usage - Returns - Args - as_str Usage - Returns - Args - add_synonym synonym_list accessor: gets/set list of synonyms [array reference] speciesdb Usage - Returns - Args - add_seq Usage - Returns - Args - GO::Model::Seq seq_list Usage - Returns - GO::Model::Seq listref Args - seq Usage - Returns - GO::Model::Seq Args - returns representative sequence object for this product properties Usage - Returns - hashref Args - hashref set_property Usage - $sf->set_property("wibble", "on"); Returns - Args - property key, property scalar note: the property is assumed to be multivalued, therefore $sf->set_property($k, $scalar) will add to the array, and $sf->set_property($k, $arrayref) will set the array get_property Usage - Returns - first element of the property Args - property key get_property_list Usage - Returns - the property arrayref Args - property key to_fasta Usage - Returns - Args - returns the longest seq by default perl v5.14.2 2013-02-07 GO::Model::GeneProduct(3pm)
All times are GMT -4. The time now is 11:40 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy