Mv command was deleted by mistake

Hello all,
I was in the process of renaming a bash script to "ms". However, I mistakenly typed "mv" by accident. The bash script "mv" is correctly renamed. However, the mv (move/rename) command is not longer present.  Whenever, I type "mv", I get: "-bash: mv: command not found."  What is the ideal way to re-install the move command again. Thank you.

Scimmia wrote:
jasonwryan wrote:A couple of points: one, as I mentioned above, what you described would not remove /usr/bin/mv.
I know it's not really important, but how so? If he's in /usr/bin and renames something else to "mv", it would remove the original mv AFAIK.
I hadn't even entertained the idea that someone would be in /usr/bin/ moving stuff around as root. In fact, just on principle, I refuse to...

Similar Messages

  • How do i find out what app was deleted by mistake on my iphone 5?

    How do I find out what app was deleted by mistake on my iphone5?

    Do you mean that you deleted an app by mistake and you don't know which one it was?
    Look for it in the Apps section of iTunes. If you used iTunes to sync your phone, just choose Install next to the app, then resync.

  • How do I retrieve a text conversation that was deleted by mistake ?

    I deleted a text conversation by mistake - I thought I was just deleting one entry.  Can anyone help?

    Please read this article:
    http://www.pcadvisor.co.uk/how-to/mobile-phone/3476628/restore-deleted-text-mess ages-on-iphone/
    Hope I helped

  • I cannot upgrade my iMac 2009 to snow leopard (it was deleted by mistake) now is running 10.5.8, the snow leopard dvd is not installing and the computer keeps crashing..If anyone have an answer, PLEASE Help me.

    I have a 2009 iMac 4,1  2GHz intel Core duo it says here I have 1GB of memory. I had it running on snow leopard 10.6.8 I still have the SN software that i bought to made the upgrade. Had some guest staying at my place and they deleted the running os and a lot of files and stuff..., now is running on leopard 10.5.8 and it's giving me a lot of problems because is soo obsolete, also hte computer is crashing all the time and every time I try ti install the SL dvd, the computer won't read the dvd and I'm keeps booting me off. Is not getting better at all and now when I restart the iMac before I get the grey apple screen, the folder of death icon flashes, (I already lost my Macbookpro due this situation. What can I do to resolve this aggravating and frustrating Issue. Need help now ..Please

    Before we get too far, please clarify this part:
    I have a 2009 iMac 4,1
    A 2009 iMac cannot be an iMac 4,1; they are 9,1 and higher. Did you mean to type "2006?" That would be an iMac 4,1. We need to pin down the model issue before proceeding.
    It could be the drive, not the disk, that is dirty. Try a drive cleaning disk, usually about US$5-15 at home entertainment, electronics stores and office superstores

  • Deleted a Time Machine file.  Was that a mistake?

    Without going into the "whys" of why I did it, I deleted my two oldest Time Machine backup files to free up some disk space. Then I got concerned that I had made a mistake since I understand that TM does incremental backups and maybe these had key system files that don't change.
    Plus, I thought maybe there is some index that tracks stuff that I might have messed up. So I was dumb to do it before checking. OK. Got it.
    I tried to copy them back from Trash but got a message that said I could not.
    My question is...did I make a mistake or is TM OK? The files were backups from over a year ago. If I did create a problem, what do I do to recover?
    Thanks in advance.

    It's hard to tell. TM may be smart enough to perform a deep traversal and replace what was deleted with new versions, but certainly anything kept in those older backups is now gone. If there were older system files this could cause problems if you tried to perform a complete system restore from the TM backup. If TM complains during the next attempted backup, then you may be forced to erase the backup drive and start over.
    It may help to see the following:
    About TM "Backup Drive is Full" Alert
    TM only deletes older files if they have been deleted from the source and when TM needs space on the backup drive for a new incremental backup. Data are deleted to make space for a new backup, but if TM is unable to delete enough files to free up space for the new backup, then you will get a disk full error. Normal thinning during a backup occurs during TM's periodic weekly and monthly consolidation backups. Note, that on a TC the sparsebundle grows in size as needed, but doesn't shrink. Thus, from your view of the TC it appears that no space has been freed, although there may be space in the sparsebundle.
    Once TM has found it cannot free up enough space for a new backup it reports the disk is full. You can either erase the backup drive and start your backups anew or replace the drive with a larger drive.
    It's quite easy to run out of backup space. A TM backup drive should be at least twice the capacity of the drive(s) backed up. If you are forced to delete files from a TM backup then use the TM application to do so rather than deleting anything from the backup drive directly. TM does not maintain a separate index but uses multiple dated folders to keep track of prior backups. If you are running short of space on the backup drive, then your backup drive is too small and should be replaced by a bigger capacity drive.

  • Delete command was hanged

    Hi all,
    I have a one problem while execute the job.
    We execute the job every day in offline (after 10pm).
    We find out a delete command not worked. it hangs.
    Our database is 11g r2.
    The delete command is
    DELETE FROM tab1
    WHERE
    col1= :B1
    But whenever i put a same job after analyzing the table its works fine.
    if i did't put a analyze then this won't work.
    the delete command will delete the more then 30000 every day and inserted again.
    we will put a database analyze on every week without fail.
    can you pls suggest ur idea's to solve the issue.
    because i won't analyze every day .
    Regards,
    reshu.

    From your description of the command 'hanging' I would suspect that Oracle has chosen an execution plan that is not a correct fit for your data profile because the statistics are incorrect or non-existent.
    Check out these threads:
    {message:id=1812597}
    {thread:id=863295}
    You may want to consider fixing statistics on this table (sounds like you do a delete and insert every day). However it's tough to say without knowing the impact it might have on other SQL statements as well as without knowing the volatility of this table.

  • I delete by mistake a video from my iphone 4s..Can i get it back?

    Hello guys, I delete by mistake a video from my iphone 4s..Can i get it back?

    If this was a purchased video then you can go to your purchases and redownload.  If it was a video you put on the iPhone then you will not be able to recover a deletion.

  • How to identify which albums I deleted by mistake

    Hello,
    I have ripped 2403 albums from my CD collection on my iTunes. Yesterday I tried to install another two but I entered some info wrong and deleted the two new entries.
    Unfortunately, I realized rightaway that my number of albums, which should have gone back to 2403, was now down to 2400. I have no idea what the 3 missing albums are; since I did not notice what happened during the deletion of my two new entries, they could be any of the other 2403.
    Is there a way to find out which albums I deleted by mistake? I am thinking, perhaps, of an index list that would tell me what the last operations or modifications were made in iTunes, or the like.
    Otherwise it is like trying to find three needles in a stack of 2403 other needles.
    Thank you. M.

    You can put everything into the "Automatically add to iTunes" folder, but there are occasional horror stories about those files going missing. You can also add the entire media folder, but occasionally that can create duplicate entries in the library, particularly if you have split the media folder to a separate location on a drive that isn't permanently connected to your computer.
    tt2

  • I have a G5 iMac. The browser and other apps were deleted by mistake.  If I had a working browser I think I could recoverss the other apps I need.  Question is .... Where to start without a browser?

    I have a G5 iMac. The browser and other apps were deleted by mistake.  If I had a working browser I think I could recover the other apps I need.  Question is .... Where to start without a browser?

    Well, go to a library or friends house & download file.  Do not expand. copy to zip drive. etc.
    Here is how to download iCab from the terminal.  the curl command reads html page.  I fished out the download link.  I think you want 501.  To get link, click on what download you want.  In the page that comes up . Look at the http source.  search for auto & copy link.
    http://icab.de/dl.php
    Macintosh-HD -> Applications -> Utilities -> Terminal
    # copy the following line to terminal.
    curl -O  http://www.costantini-net.de/iCab/iCab305_UB_OSX.zip
    # Or
    curl -O http://icab.clauss-net.de/icab/iCab_501_UB.zip
    # my termina commands.  Put file in home folder.
    mac $ curl -O  http://www.costantini-net.de/iCab/iCab305_UB_OSX.zip
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    26 6592k   26 1729k    0     0  44360      0  0:02:32  0:00:39  0:01:53 40984^C
    mac $ pwd
    /Users/mac
    mac $ ls i*
    iCab305_UB_OSX.zip
    mac $ ls -l i*
    -rw-r--r--   1 mac  staff       1M Jul 16 13:49 iCab305_UB_OSX.zip
    mac $

  • LSMW project Deleted by Mistake

    Hi Gurus,
    We have developed an LSMW for GL Uploads and got deleted by mistake . we are not able to trace or retrieve back.
    Please suggest how to get the script back or atleast how to find who has deleted ( user Id).
    PLease help .
    Regards
    Anil

    Once worked on project where functional specialist deleted an entire LSMW project.  We restored the development instance to get back.  The other option was to rebuild it, as best we could, from our memory of what had been developed.   I'd guess that your solution will be to redevelop what has been deleted.

  • Command-Shift-Delete no longer works in Mail

    I could easily delete Mail Trash using Command-Shift-Delete. Now that no longer works.

    Anthony Beard wrote:
    NOW I KNOW WHAT THE PROBLEM WAS...--> THE FONT!!!
    I always use monospaced fonts for email, by preference; it's easy to line up things. The problem is the font. Change the font to something other than what you're using, I just selected Arial and then the italic feature worked!!! Hope this helps!
    It isn't about whether it's monospaced, it's about whether the font contains the style variants. Clearly Apple is taking the position of the typographic purist, which means they won't fake a bold or italic like in the old days, they only want to use it if it actually exists.

  • How to know when the tablespace was deleted?

    Hi
    can we find the information regarding which has been deleted.
    can we find that when it was deleted.
    can we find who deleted it?
    Thanks
    Shaikh

    Hi,
    Just for Example :-
    If you have given the access rights for two Users, who have the privi's to drop the tablespaces...and think you dont have the Option of Alert Log.
    what you would do..??
    Auditing...??
    Tracing.. ??
    I think better Option is Trace for Specific Session, which ever he is willing to you.
    How does that help in this scenario and otherwise also ? No one is gonna enable trace like this for the users.
    Let me know your valuable feed back, that might help me in correcting my mistakes..!! ';-)
    Thanks
    Pavan Kumar N

  • Macro command to delete an test run or a test case from QC

    I want to know the VB script command to delete an test run or a test case from QC. i can now able to access all the parameters of an test run, like status, execution data, etc. but stuck up while trying to delete it. please someone reply with the exact command

    My J2SE version was wrongly set to 1.3 instead of 1.5.
    Now it works.

  • Terminal commands to Delete Desktop Folder?

    Can anyone help me with the Terminal commands to delete the desktop folder? I'm not much with Unix. It's related to my previous post about missing drive space/deleted files. I'm planning to try deleting the folder then restoring from time machine.
    Thanks,

    the command is
    *sudo rm -rf ~/Desktop*
    (you'll have to enter your admin password to make it work). Could you explain why you want to do this? If you have a TM backup and a serious problem with your system I would recommend doing a full system restore from TM.
    Message was edited by: V.K.
    Found your other post. (I even replied to it). You should definitely do a full system restore from TM. It will reformat your drive and cure the problem with the missing space.

  • Command-X deletion is _too_ final

    While in Mail yesterday, I learned the hard way that accidentally hitting the Command and the X keys at the same time - not difficult to do as one is right above the other on my keyboard - results in the permanent deletion of the highlighted message in the list of messages; that is, the message is not moved to my Mail trash as is the case when I intentionally delete a message using the Delete key. (The "Move deleted messages to a separate folder" option in Mail Preferences is checked.) Is there any way to configure Mail so that a Command-X deletion moves the deleted message to the Mail trash instead of permanently deleting it? Barring that, can anyone let me know what specific file type I should look for if I am trying to recover a single mail message using Prosoft's Data Rescue II? Thanks.
    PowerBook G4, 1 GHz   Mac OS X (10.4.7)   Mail v.2.1 (752/752.2): POP account

    Thanks, macjack! You went a little deeper and addressed the assumption behind my post, which was that the deleted message was gone forever. Your suggestion to check out mail2web was a godsend! I found the message there (as my Mail preferences were set to "Remove copy from server...for one week"), sent it to my account, and received the retrieved message in Mail. At the risk of sounding like an ad, I'm going to tell all my friends about mail2web! Oh, and I changed my preferences to save my messages on the server for one month, just in case. Thanks again for the great tip!

Maybe you are looking for

  • How do i get my itunes music on my iPhone 5

    Not sure how I sync my music on my iphone from my macpro or the cloud

  • Can not buy RoboHelp

    Im wondering that a big company like adobe offering online payment services is not able to sell his products online to thier customers. When I try to buy that product which is about 1.400 Euros, it tells me my account has the wrong country. Well I am

  • MacBook 2,1 upgrading to 10.6.*

    I have upgraded to 3GB ram and have 95GB disk space free. I am happy with my OS but I just have to have the latest and greatest, short of buying a new mac How much of a risk is this, what other prep should I make on my old book? I cant afford a backu

  • Customizing existing gantt chart view in project server 2013

    Hi, I want to customize existing gantt chart view in PWA to allow text labelling on task/milestone names,numberic dispaly of percentage complete,scroll to date functionality. Please let me know how can this be done? Regards, Sufiyan

  • What does this mean error code u44m1i210 elements 13

    I bought this over the internet and downloaded. I works but it says it has a update, so I started the update gets all the way through and end it gives me an error. I tried this 4 times. I printed the error code telling me to try again later. The last