> _ .....such a newbie
Hello All,
I am a developer, that uses mostly windows boxes however in our office we have one box that runs centOS 5 (AKA Kryptonite to us Windows guys lol) I have tried deleting some backups on this server using the following Command Line find /var/lib/asterisk/backups/ -name *.gz" -mtime +90 -delete I have a good idea of what the above line is doing, however when I ran the command instead of it going back to the standard prompt, which looks like this [root@localhost var]# it instead went to the next line and it looks like this: > _ so my question is did I break something? or this like a processing please wait? just not sure what all is going on with it.... Thank-you all for taking the time to look at this, I appreciate it in advance. Bryan |
You quotes are mismatched. Cancel that command (it's doing nothing) and balance them.
|
Welcone to LQ!
Code:
find /var/lib/asterisk/backups/ -name "*.gz" -mtime +90 -delete |
Thank-you Thank-you
So another stupid question how do I cancel that? my guess is the command should look like find /var/lib/asterisk/backups/ -name "*.gz" -mtime +90 -delete ? I am so sorry, I am truly as green as it gets on these commands. and am going by examples I have found on other boards. Thanks again Bryan |
Quote:
|
you are aware that cent5 is a LEGACY hardware operating system now
it is really showing it's OLD AGE and that cent is ONLY!!! supporting the single minor version CentOS 5.11 if the output of this is NOT 5.11 upgrade ASAP!!!! Code:
su - the terminal is waiting for you to finish the incomplete command you are missing one " or have one " too many "", ``,'' and () and {} and [] are all like there math formula equivalents if you have a "open" you MUST!!! have a "close" |
I GOT IT!!!! Thank-you all so much, you saved my bacon
|
Also, best to use single quotes there so that the name pattern gets parsed by the find cmd itself, rather than the shell (which is what happens with double quotes).
It can lead to problems in certain situations. FYI this is a good cli tutorial http://rute.2038bug.com/index.html.gz |
Quote:
Regards... |
All times are GMT -5. The time now is 09:41 AM. |