Terminal command messed up my computer HELP ME!!!

I Used a terminal command to show hidden files, and I don't know how to Reverse it. HELP!!!

Hello and Welcome to Apple Discussions.
. defaults write com.apple.finder AppleShowAllFiles TRUE
Shows hidden files in the finder. Replace TRUE with FALSE to hide hidden files again.
Carolyn

Similar Messages

  • I need help starting a Terminal command at start-up to help silence CPU fan

    I have a 24" iMac (Early 2009) and the CPU fan runs at full RPMs - NOTE: it is a refurbished model. I think that the person who did the refurbishing either messed up the CPU Temp Sensor or something, because the CPU temps are fine and the fan kicks on right after start-up chime.
    Anyways, I have found a terminal command (see below) that, when used in conjunction with smcFanControl, will force my CPU fan to run at 1200 RPM. I need a way to either auto-launch this Terminal Command at start-up, or an easier way to launch it because having to type it out in Terminal every boot and reset is getting old.
    Terminal Command:
    /Applications/smcFanControl.app/Contents/Resources/smc -k F2Mx -w 3cf0
    Any help would be greatly appreciated!

    You shell script should look something like this:
    #!/bin/bash
    your command line
    Construct this in your favorite text editor and save as plain text, not .rtf.  Call the file anything you want, but here I'll call it slowfan.
    In terminal type,
    chmod +x /path/to/slowfan
    where /path/to/slowfan is the path to the slowfan file.  You could drag the file into the terminal after typing the chmod +x followed by a space.  This step is only to mark the text file (script) as executable.
    Now you can run Platypus and set up a simple app with admin privleges.  Then test the app.  If it works you can then add it to your login items.
    If you decide to use applescript (do shell script descibed earlier) then you could just use the full pathname to whereever you saved the script and save that as a applescript application.  Again test it and then add to your login items.  I would bother adding an alias to .bash_profile.  That just adds to the complextity.
    As you can see, with Platypus you only have the single app it creates to deal with.  The script is enclosed in the generated app bundle for easy updating if necessary later on.  With the applescript method you will need to keep track of two spearate files; the applescript and the shell script.  Actually three, the app too.

  • How do I back up the music and apps etc. I restored my computer and I reinstalled iTunes, I was told something about a terminal command line, what does that mean? Please help

    How do I back up the music and apps etc. I restored my computer and I reinstalled iTunes, I was told something about a terminal command line, what does that mean? Please help

    - Transfer iTunes purchases to the computer by:
    iTunes Store: Transferring purchases from your iOS device or iPod to a computer
    - Transfer any other music by using a third-party program like one of those discussed here:
    Copy music
    - Connect the iPod to the computer and make a backup by right clicking on the iPod under Devices in iTunes and select Back Up
    - Restore the iPod from that backup. The restore will also update the iOS.
    Note that the backup that iTunes makes does not include synced media like apps and music
    Are you sure you have a 3G iPod? A 1G iPod can only go to iOS 3.1.3
    See:
    Identifying iPod models

  • Help!! Itunes is messing up my computer...it freezes everything, i cant get on itunes store, and it wont sync! I already tried uninstalling and reinstalling...no luck!

    Help!! Itunes is messing up my computer...it freezes everything, i cant get on itunes store, and it wont sync! I already tried uninstalling and reinstalling...no luck!

    Close your iTunes,
    Go to command Prompt -
    (Win 7/Vista) - START/ALL PROGRAMS/ACCESSORIES, right mouse click "Command Prompt", choose "Run as Administrator".
    (Win XP SP2 & above) - START/ALL PROGRAMS/ACCESSORIES/Command Prompt
    In the "Command Prompt" screen, type in
    netsh winsock reset
    Hit "ENTER" key
    Restart your computer.
    If you do get a prompt after restart windows to remap LSP, just click NO.
    Now launch your iTunes and see if it is working now.

  • Can't seem to sync my phone with iCal because I get a message that says:No writable calendar. I tried the suggestions I found in Help including a Terminal command to no avail.

    Can't seem to sync my phone with iCal because I get a message that says:No writable calendar. I tried the suggestions I found in Help including a Terminal command to no avail.

    I can only suggest you now need to somehow link your mobile to sync with the new calendar 'On my Mac'.
    I have a work Blackberry whose calendar I sync with an iCal calendar 'On my Mac' using a usb lead and the Blackberry Desktop Manager for Mac. This free piece of software from Blackberry, automatically starts up as soon as I connect the usb to the iMac and it then prompts me to select which calendar 'On the iMac', which is writable, that I want my Blackberry to sync to.

  • Hey,i forgot my login password,so i changed the password by using terminal command(reset password).now i have new user name with new password,but i can't find  my data which i have saved on mac.please help me out in this matter.

    hey,i forgot my login password,so i changed the password by using terminal command(reset password).now i have new user name with new password,
    but i can't find  my data which i have saved on mac.the storage is showing data used and free space on the disk
    please help me out in this matter.

    How did you change your user name?
    resetpassword wouldn't have done it. If you managed to create a new user, then your data is still in the old account.

  • TS3002 My macbook pro 4,1 runs os x 10.6 but won't run my apple usb superdrive. One forum said that this is due to os x, not hardware. The terminal commands given were for Lion, but don't work in snow leopard. Help!

    My macbook pro 4,1 runs os x 10.6 but won't run my apple usb superdrive. One forum said that this is due to os x, not hardware. The terminal commands given were for Lion, but don't work in snow leopard. Help!

    I was able to get it to work!

  • I need help, How could I add Aliases to Local Administrator account via terminal commands???

    I need help, How could I add Aliases to Local Administrator account via terminal commands???
    I want to use commands to add alias for existing administrator account remotly by using ARD.
    Thanks.

    Hi,
    a Windows Domain Controller does not have any local user or groups. So you might add the user to the admin group at Domain level.
    B RGDS,
    Gregor
    Edited by: Gregor Gasper on Jan 9, 2009 1:44 PM

  • Computer not obeying terminal commands

    I've been trying to eject a disk using the Terminal command "drutil tray eject" (the eject button isn't working and the computer is in denial about the disk being there- except iTunes which crashes every time I tell it to eject the disk). The Terminal is pretending that it is Text Edit- it sends me no responses to anything I type (I tried several other basic commands- nada). I tried changing my preferences in Terminal and got a response which told me what my command was supposed to do, but didn't obey the command. I got the disk out using the mouse method- but I just want the computer to obey my commands. What should I do?

    1.dragging and dropping the icon for the CD into your trashcan
    2. Restart the computer and after the chime press and hold down the left mouse button until the disc ejects.
    3. Press the Eject button on your keyboard.
    4. Click on the Eject button in the menubar.
    5. Press COMMAND-E.
    6. Open the Terminal application in your Appl/Utilities folder. copy & paste the following:
    /usr/bin/drutil eject
    If this fails then try this:
    Boot the computer into single-user mode (hold down ⌘ -S through the boot process.)  At the prompt copy & paste:
    /usr/bin/drutil eject
    Restart the computer enter reboot at the prompt or shutdown
    7.  restart hold down trackpad button

  • Terminal Command to Remove All Permissions on a Drive (Please help)

    Sorry, I'm new and was wondering what the Terminal command is to set all permissions to Root as the owner and propagate those permissions to every folder and file on a drive. Any help would be great appreciated.

    Long story. Basically I have files that are tagged with unknown user info. What I'm trying to do is remove the info and propagate that info the the file within the folder. I've done this before, but I can't remember the command.

  • I would like to know some fun and helpful Terminal commands.

    I would like to know some fun and helpful Terminal commands. So, if you know of any, contact me!
         Thanks
         - Max

    Max,
    if you’ve installed the Xcode compiler and its “command line tools” add-on, there’s a lot of text-mode games for which source code can be downloaded and compiled. Back in the Neolithic Age when I was at university, Empire was a multiplayer favorite (see here for one of its current offspring, which can run multiplayer over the Internet, and for which a text-mode client is still available), and Rogue was popular for when solitary play was the only available option.

  • Help, i made a terminal command and i don't know how to undo it.

    i found my long lost folder of terminal commands.. and i forgot what this one did, so i clicked it (i made the commands into a "unix executable file").. and all my files on my desktop are now hidden.. the only way to find them is to type in the file name into finder.
    the command i typed in was
    while (true) do
    chflags hidden ~/Desktop/*
    done
    and now everything on my desktop is gone, and i dont know how to undo it, I undid once about 3 months ago when i wrote it, but i forgot what i did. I tried counterering the command with others but it isn't doing anything. thank you
    edit: i know this command cant destroy my system because it wasn't a sudo, but still, i had all my class work on my laptop and now it's all invisible

    Hi, try this...
    while (true) do
    chflags nohidden ~/Desktop/*
    done

  • Help on terminal command

    i just accidently copy a command to terminal to order make a bootable USB for Mavericks, what the command for the default view folder on terminal?
    just too annoying looking ds_store file visible in my all folder

    Neil's script will work so long as you didn't use the key "True" (a synonym for "1") in the original command to turn on hidden files.   To turn Finder back to normal, copy and paste this entire line into Terminal: 
    defaults write com.apple.finder AppleShowAllFiles 0;  killall Finder
    Press 'return' to enter it.
    I have a free, one-click app for toggling hidden files on and off that you can download and keep in your Dock if remembering Terminal commands is too boring. .
    You can download "Reveal.app" from here:
    http://applehelpwriter.com/apps/
    (disclaimer: this links to my personal website which is in no way endorsed by Apple)

  • Done Something Dumb, Please Help With Terminal Command

    OK, So I couldn't figure out why I was no longer getting Growl notifications with mail.app and GrowlMail after I upgraded to 10.5. Turns out it has something to do with the bundle version it is running. I ran the following 2 terminal commands found here : http://www.davidroessli.com/logs/2007/01/gettinggrowlmail_towork/
    they were:
    defaults write com.apple.mail EnableBundles 1
    defaults write com.apple.mail BundleCompatibilityVersion 2
    Once I launched mail.app again the application told me that it had shut off support for the Plaxo plugin that I use. Now neither Growl nor the Plaxo plugin work. Long story short, can someone explain to me how to put mail.app back the way it was before I foolishly ran terminal commands? Thanks in advance

    Email the author. Growl isn't supported by Apple.
    You are aware that the article was written quite a while before 10.5.2 was released? It's not a good idea to implement modifications that are not tested on the current version of OS X without checking first with the author of such modifications. It's especially not a good idea to use the "defaults write" command without knowing how to undo the change.
    The first command is undone by substituting 0 for 1. Change the second one from 2 to 3.

  • Need a Terminal Command

    Hi, I have no idea how to use terminal so I need code I can copy and paste. I am running iFreeMem and its crashed. These type of apps do not show up in the force quit box so I have no idea how to force quit it. My only idea was Terminal but I don't know how to do it.
    Can someone please help? Has this ever happened to anyone? I just read some articles that made me decide to trash the app altogether, but I need to get it closed first. :o)
    I have to many things going on to shut the computer down at the moment and the iFreeMem screen is in the way of everything (floats on top). Thanks in advance!

    You must know either the correct case sensitive name of the application, such as iFreeMem. If you do then the Terminal command is:
    killall iFreeMem
    Press RETURN.
    However, even though iFreeMem is an application it may fork a process with a different identifier. If so the above command will fail. In this case you need to find the PID - Process IDentifier. In the Terminal enter, top, and press RETURN. If the process is in the listing then you get the PID from the lefthand column. Use the same killall command but with the PID instead of the application name.
    If you cannot find a PID, then you need to restart the computer. If the application runs automatically then you need to uninstall its components. See the following:
    Uninstalling Software: The Basics
    Most OS X applications are completely self-contained "packages" that can be uninstalled by simply dragging the application to the Trash. Applications may create preference files that are stored in the /Home/Library/Preferences/ folder. Although they do nothing once you delete the associated application, they do take up some disk space. If you want you can look for them in the above location and delete them, too.
    Some applications may install an uninstaller program that can be used to remove the application. In some cases the uninstaller may be part of the application's installer, and is invoked by clicking on a Customize button that will appear during the install process.
    Some applications may install components in the /Home/Library/Applications Support/ folder. You can also check there to see if the application has created a folder. You can also delete the folder that's in the Applications Support folder. Again, they don't do anything but take up disk space once the application is trashed.
    Some applications may install a startupitem or a Log In item. Startupitems are usually installed in the /Library/StartupItems/ folder and less often in the /Home/Library/StartupItems/ folder. Log In Items are set in the Accounts preferences. Open System Preferences, click on the Accounts icon, then click on the LogIn Items tab. Locate the item in the list for the application you want to remove and click on the "-" button to delete it from the list.
    Some software use startup daemons or agents that are a new feature of the OS. Look for them in /Library/LaunchAgents/ and /Library/LaunchDaemons/ or in /Home/Library/LaunchAgents/.
    If an application installs any other files the best way to track them down is to do a Finder search using the application name or the developer name as the search term. Unfortunately Spotlight will not look in certain folders by default. You can modify Spotlight's behavior or use a third-party search utility, Easy Find, instead. Download Easy Find at VersionTracker or MacUpdate.
    Some applications install a receipt in the /Library/Receipts/ folder. Usually with the same name as the program or the developer. The item generally has a ".pkg" extension. Be sure you also delete this item as some programs use it to determine if it's already installed.
    There are also several shareware utilities that can uninstall applications:
    AppZapper
    Automaton
    Hazel
    CleanApp
    Yank
    SuperPop
    Uninstaller
    Spring Cleaning
    Look for them at VersionTracker or MacUpdate.
    For more information visit The XLab FAQs and read the FAQ on removing software.

Maybe you are looking for