Can I use "nohup" on "mv"
Like this
nohup mv /users/q /users/w I test it on Xstart and then it turns to no responding Why and thanks |
should work fine. what does "no responding" mean? as there is no -v flag it won't tell you what it's doing until it's finished, is that what you're confused about? Needing to put it in a nohup suggests there's a lot of data to move in the first instance.
|
Hi,
If with "no responding" you mean you don't get the prompt back: Put an ampersand after the command: Code:
nohup mv /users/q /users/w & |
Thanks, the files size is 200Gb
And maybe it is the problem.Thanks |
Quote:
|
something happen again
it appears the word
Code:
" nohup: appending output to `nohup.out'" |
Hi,
Quote:
This file will be placed were the command was executed. Hope this helps. |
mv == rename :
iirc, if src & tgt src on same partition, it just renumbers the inode entries in the containing dir files. If src & tgt are on different partitions, then it will have to physically 'move' the entire 200GB of data. |
nohup is use to run a program/script after you exit the system. If you log back in you can see the running process by typing
tail -f nohup.out Whenever I learn a new command I always do a test run on it. The first time I used this command I created a counting script and logged out of the system for 1 minute. I logged back in and ran tail -f nohup.txt and the output was 75 76 77 78 79 And so on. This is a partial output. The script was still running and appending the results to the nohup.txt file BTW, you can redirect the output to another file besides the default one. |
Thanks, I know. Good all of you are
|
All times are GMT -5. The time now is 08:18 AM. |