I don't know why it had  around it, but it does. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed And why NOT patch for SUNWsmbac is installed. weblink
usually the path for user profiles is /home/username, or use the special path syntax ~username/file do you have root access to the machine? I am not sure of the syntax.. Share a link to this question via email, Google+, Twitter, or Facebook. up vote 1 down vote please check your access with ls -ld /users/other_user ls -l /users/other_user/file and post the output.
share|improve this answer edited May 7 '14 at 16:37 answered May 7 '14 at 11:03 girardengo 2,5541022 whoami - output root i tried cp -f and sudo cp -f Why did Borden do that to his wife in The Prestige? sys3=OMS stat3=COPIED mstat3=RENAMED cp $source/home/selectica/Outbox/$file1 $source/home/oms/Inbox/$file1 echo "`date +%D`...$sys3....$stat3...$file1...`date +%T`" >> $source/Log/$logfile mv $source/home/oms/Inbox/$file1 $source/home/oms/Inbox/$file2 chmod 666 $source/home/oms/Inbox/$file2 echo "`date +%D`...$sys3....$mstat3....$file2...`date +%T`" >> $source/Log/$logfile sleep 2 #mv $source/home/oms/Inbox/$file2 $source/home/oms/Archive/$file2 # file secondly i have never used "functions" in shell scripts so i am not trying it.
stat0=ARCHIVED mv $source/home/selectica/Outbox/$file1 $source/home/selectica/Archive/$file2 echo "`date +%D`...$sys1...$stat0...$file1...`date +%T`" >> $source/Log/$logfile done # 'POSTPAID' loop starts here ls $source/home/selectica/Outbox > $source/Log/ox3 grep "New_Ordr_" $source/Log/ox3 > $source/Log/ox4 grep "_POSTPAID.xml" $source/Log/ox4 > $source/Log/ox3 for Count trailing truths The cost of switching to electric cars? Display field value in Drop Link field This is my pillow How can I track time from the command-line? What Does Cannot Stat Mean I just don't seem to get it!
Are there continuous functions for which the epsilon-delta property doesn't hold? I got it. –Menon Mar 16 '15 at 9:43 | show 1 more comment active oldest votes Know someone who can answer? Or did you simplify the question and removed some variables? –Walter A Mar 10 '15 at 21:58 Thanks for replies,guys. http://unix.derkeiler.com/Newsgroups/comp.unix.shell/2004-12/0136.html Why do cars die after removing jumper cables?
Join them; it only takes a minute: Sign up Problem with directory spacing when copying files up vote 0 down vote favorite I trying to copy a file from a directory Cp: Cannot Stat â But this command works when I run it from logs directory. Is it a permissions issue? If you need to reset your password, click here.
Please help me! Hot Network Questions How can I track time from the command-line? Cp Cannot Stat No Such File Or Directory First order reaches ADC & it is then parsed by the xml parser & then it is put into "Archive" folder of ADC by the parser. Cp Cannot Stat No Such File Or Directory Ubuntu The cost is that some characters are then interpreted in a special manner, and if they exist in a filename (they can exist there, it's just fine because it wouldn't be
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. one more thing..... The time now is 05:01 PM. - Contact Us - UNIX & Linux - unix commands, linux commands, linux server, linux ubuntu, shell script, linux distros. - Advertising - Top So you have to put a \ there. Cp Cannot Stat No Such File Or Directory In Shell Script
This site is not affiliated with Linus Torvalds or The Open Group in any way. To tell bash, for example, that a string you type is a filename with possibly special characters inside and not a sequence of characters with some "command characters" to be interpreted, How do pilots identify the taxi path to the runway? http://sonoportal.net/cannot-stat/cp-cannot-stat-unix.html fi } cp $source/home/selectica/Outbox/$file1 $source/home/oms/Inbox/$file1 if_error "Oh crap.
Retype the script with a linux editor, and you'll be OK. Cp Cannot Stat Wildcard Please visit this page to clear all LQ-related cookies. Or search on the dos2unix and unix2dos utilities which will make the conversions for you.
This appears to be an attempt to install the same architecture and version of a package which is already installed. Registration is quick, simple and absolutely free. solaris share|improve this question asked Jul 24 '10 at 2:06 dfdf 1 can you backslash escape the space? Scp Cannot Stat Can I cite email communication in my thesis/paper?
Not the answer you're looking for? up vote 1 down vote When you assign a value to a variable in the shell, as in DIR1="/u01/home files", the quotes have special meaning, and are not actually assigned to This appears to be an attempt to install the same architecture and version of a package which is already installed. http://sonoportal.net/cannot-stat/cannot-stat-unix.html Success!
b0uncer View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by b0uncer 10-06-2009, 01:57 PM #5 nar_adi LQ Newbie Registered: Oct 2009 Posts: Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the It seams that the patch installed successfully. I saw a post on a similar one (w/ a jar file, which appears to be slightly different) Following are the lines used in a bash script in Linux RHEL5. #!/bin/bash
Try our newsletter Sign up for our newsletter and get our top new questions delivered to your inbox (see an example). What security operations provide confidentiality, integrity and authentication? Who is this Voyager character? Thanks, Naradi Last edited by nar_adi; 10-06-2009 at 02:10 PM.
most intrestingly,this error comes randomly..not for every transfer....
© Copyright 2017 sonoportal.net. All rights reserved.