Tag Info

New answers tagged

6

This question probably has all the answers for you. In short there is no easy way. Your options are: Recover the files from a (Time machin) Backup, if existent. Reinstall OSX, e.g. from the Recovery mode pressing Command+R at the startup screen Copy the missing files from the Recovery partition (check if the partition is up to date first). E.g. by doing ...


1

If it's only one file you need, you can DL your version of OS X, and create a USB installer. Then install the new OS X on another flash drive. This one is called a bootable flash drive. Then go back to your troubled system and mount the bootable drive. Find the file you need and voila.


1

You can stop the execution by entering the command break. To make a sound, tput bel should work on most shells. Something like the following example should work: while true do commands... if [[ "$YOUR_VARIABLE" == "value" ]] then tput bel break fi done


0

Change the file extension from .py to .command. With the .command suffix the file will become associated with Terminal.app. When opened, the file will open with Terminal.app and immediately be run within a new terminal window.


0

Removing the file's extension should cause the file to open in your default terminal application. Alternately, you could select "All Applications" from the "Enable" menu in the "Open With" dialog to enable opening with "Terminal.app" regardless of the file's extension.



Top 50 recent answers are included