How can I undo a terminal command?

I have altered the default location of screenshots taken on my iMac. Origionally the screenshots were sent to my desktop.
I created a folder and named it screenshots. I then opened a terminal screen which was found in the finder, under utilities. Then I copied the following into the command line "defaults write com.apple.screencapture location". Then before clicking return, I dragged the folder I named "screenshots" into the terminal window. Then I typed "killall SystemUIServer" to reset the terminal and the changes took effect.
I am curious now, how to undo these changes if I want to?

I don't believe you are using a PPC iMac, so you may want to change your profile configuration to include all the information about your hardware.
A good utility for doing these types of configurations without the need to know Terminal commands is MacPilot 4.3.1.

Similar Messages

  • How do I Undo This Terminal Command?

    defaults write com.apple.Safari NSQuitAlwaysKeepsWindows -int 0
    thats the exact termial command i used. Any help would be great! Ive Tried using different commands to counteract this one but i have no idea what im doing.
    - Im running lion
    - i got the brand new macbook pro
    - any help would be awesome!

    Obligatory warning: If you mess around with the shell without knowing what you're doing, you will cause yourself big trouble. You were lucky this time. Many shell commands can't be reversed so easily, if at all.

  • Can I undo iChat Terminal command?

    Entered "com.apple.ichat newbwdup 300000" on an iBook running 10.3.9 not realizing that that was only for Panther. Now it cannot connect to the internet or open iChat. Is there anything that can be done other than reinstall?

    Run the following command:
    defaults delete com.apple.iChat newbwdup
    (32882)

  • How can I send multiple string commands into a VISA write?

    Hi Fellow LabVIEW users
    I am very new to LabVIEW (2.5 months) so please forgive me if my lingo is not up to par.
    How can I send multiple string commands to a VISA write. For example each string command looks like this
    1) 3A00 0000 0000 FFFF FFFF FFFF 0000 0000 FF00 0000 0000 0000 0000 0033 (Scenario 1)
    2) 3A01 0000 0000 FFFF FFFF FFFF 0000 0000 FF00 0000 0000 0000 0000 0034 (Scenario 2)
    3) 3A01 0000 0000 33FF FFFF FFFF 0000 0000 FF00 0000 0000 0000 0000 0067 (Scenario 3).
    and so on and so forth. And there are a number of scenarios.
    Each String scenario will give a different string output which will be interpreted differently in the front panel.
    Right now I have to manually change the string commands on the front panel to give me the desired output. How can I do this without manually changing the commands i.e. hard coding each scenario into the block diagram?
    Thanks, any feedback will help.
    mhaque

    Please stick to your original post.

  • How can I undo an add-on settings sync?

    I use Firefox Sync. As far as I can tell, bookmarks synced well. Tabs didn’t but that’s probably due to having opened to many on my main machine. Also add-ons synced i. e. the Firefox on a Ubuntu laptop now has all the add-ons that my home computer Firefox has. Unfortunately, the sync reset all of the settings in some add-ons. So, for example, in LeechBlock the list of websites that I’d like to block, the schedule and all the rules are gone. How can I undo the last sync? Or is there a way to make my main computer the master in all syncs?

    The prefs that are set by an extension are usually not included in the Sync, so you get the default setting if you sync an extension from one computer to another.
    Only prefs that have a corresponding services.sync.prefs.sync.* pref that is set to true will be synced to other devices.
    If you want to sync additional prefs then you can create a corresponding Boolean sync pref yourself and set the value to true.
    * services.sync.prefs.sync. (with the pref name appended no space after the last dot)
    *http://kb.mozillazine.org/about:config

  • How can I undo a software update?

    How can I undo a software update?

    That indicates something went wrong. Make sure no anti-virus software or firewalls are running on your system. Make sure iTunes is up to date. Then, follow the directions here to force the phone into recovery mode & restore it:
    http://support.apple.com/kb/HT1808

  • After getting an update from 10.6.8 many of my programs were no longer able to open. How can I undo the update or solve this problem another way?

    After getting an update from 10.6.8 many of my programs were no longer able to open. How can I undo the update or solve this problem another way?

    Do you have a bootable clone from prior to the update? If so, roll back with that.
    Are your apps that won't open PPC and do they need Rosetta? Do you need to activate Rosetta?
    Have you considered reinstalling 10.6 from your install disc and then coming forward with the 10.6.8 Combo Updater, then doing software update and not including whatever it was you installed that caused this propblem?
    By the way - what update was it that caused this problem?

  • How can I run Runtime.exec command in Java To invoke several other javas?

    Dear Friends:
    I met a problem when I want to use a Java program to run other java processes by Runtime.exec command,
    How can I run Runtime.exec command in Java To invoke several other java processes??
    see code below,
    I want to use HelloHappyCall to call both HappyHoliday.java and HellowWorld.java,
    [1]. main program,
    package abc;
    import java.util.*;
    import java.io.*;
    class HelloHappyCall
         public static void main(String[] args){
              try
                   Runtime.getRuntime().exec("java  -version");
                   Runtime.getRuntime().exec("cmd /c java  HelloWorld "); // here start will create a new process..
                   System.out.println("Never mind abt the bach file execution...");
              catch(Exception ex)
                   System.out.println("Exception occured: " + ex);
    } [2]. sub 1 program
    package abc;
    import java.util.*;
    import java.io.*;
    class HelloWorld
         public static void main(String[] args){
         System.out.println("Hellow World");
    } [3]. Sub 2 program:
    package abc;
    import java.util.*;
    import java.io.*;
    class HappyHoliday
         public static void main(String[] args){
         System.out.println("Happy Holiday!!");
    } When I run, I got following:
    Never mind abt the bach file execution...
    I cannot see both Java version and Hellow World print, what is wrong??
    I use eclipse3.2
    Thanks a lot..

    sunnymanman wrote:
    Thanks,
    But How can I see both programs printout
    "Happy Holiday"
    and
    "Hello World"
    ??First of all, you're not even calling the Happy Holiday one. If you want it to do something, you have to invoke it.
    And by the way, in your comments, you mention that in one case, a new process is created. Actually, new processes are created each time you call Runtime.exec.
    Anyway, if you want the output from the processes, you read it using getInputStream from the Process class. In fact, you really should read that stream anyway (read that URL I sent you to find out why).
    If you want to print that output to the screen, then do so as you'd print anything to the screen.
    in notepad HelloWorld.java, I can see it is opened,
    but in Java, not.I have no idea what you're saying here. It's not relevant whether a source code file is opened in Notepad, when running a program.

  • How can I customize my terminal?[SOLVED]

    I'm using xterm and /bin/zsh, but it looks ugly. It's a white background with a black text. On debian, I use to right click and hit preferences and went from there. But when I right click it just highlights the shell. How can I customize background color, change font, etc?
    http://dwv91.deviantart.com/art/Twily-L … -426541695 How can I get my terminal to look like this? I know the color codes, but I don't know how to actually get there!
    Last edited by BabbyUser (2014-08-28 18:14:20)

    He/she lists everything they are using right under the screenshot:
    Much of the same from my other submission...
    Arch Linux with Awesome WM and custom tile layout. Also using Compton for composition.
    Firefox Nightly (Australis) [v31.0a1] and 4-Chan with my CSS. Using Vimperator for navigation.
    (Firefox CSS can also place an url-bar on top (below the tabs or merged with the tabs on the left) or at the bottom of the browser)
    Terminals (URxvt-256color) showing from left: screenfetch and ncmpcpp + mpd.
    My files can be found at twily.info (files updated for this theme May 17th, 2014)
    The Lemon font and my vol/bat widgets belong to github.com/phallus.
    Wallpaper: http://wallbase.cc/wallpaper/2…
    If I was you, I would go through each thing listed and figure out each one.  Understanding each element is essential.

  • I accidently pressed autofill on itunes several times while by iphone 4s was plugged in and it duplicated many songs and turned them grey. how can i undo this?

    i accidently pressed autofill on itunes several times while my iphone 4s was plugged in and it duplicated many songs and turned them grey. how can i undo this?

    Connect your ipod upto thecomputer
    View > Show Sidebar then you will see your device on the left hand side.
    Select Device by clicking on the name
    Select Music from the options on the right
    untick Sync Music
    Click Apply bottom right.
    All the music should now be taken off your ipod
    When Finished
    re tick Sync Music Select what Albums, Artists, Genres and playlists you want
    Click Apply and you should be back where you started

  • HT4528 How can I undo a restoration in my iphone 4?

    How can I undo a restoration in my iphone 4?

    Restore from a previous backup. There is no way to roll back a restore other than using a backup made fprior to that restore.

  • Accidentally I deleted the automatic connection of iPhone and I chused instead explorer. How can I undo this. I have Windows8. Thanks in advance.

    Accidentally I deleted the automatic connection of iPhone and I choosed instead explorer. How can I undo this. I have Windows8.
    Thanks in advance.

    Hi there gali2012!
    I believe I have an article that will help you troubleshoot this issue:
    iOS: Disabling digital camera notification in Windows
    http://support.apple.com/kb/TS1500
    Thanks for using the Apple Support Communities. Have a good one!
    -Braden

  • I accidentally clicked add to dictionary on a misspelled word when I was trying to click the right spelling for it. How can I undo that so it will catch the misspelled word?

    I accidentally clicked add to dictionary on a misspelled word when I was trying to click the right spelling for it. How can I undo that so it will catch the misspelled word?

    You need to edit a file in your profile folder, for details see [[using the spell checker]].

  • How can I undo the deleting of a calendar?

    How can I undo the accidental deleting of a calendar within the ipad calendar program? How can I generally undo things I did within the ipad programs?

    Hi,
    Per my understanding, you might want to check if there any overlapped recurring events in Event Receiver.
    You can build the query with <DateRangesOverlap> to return the recurring events with Server Object Model.
    A code demo in the thread below about how to get recurring events from Calendar for your reference:
    https://social.technet.microsoft.com/Forums/en-US/99c3ded6-a8cb-4509-9a74-e93e445d78c7/how-does-calender-list-daterangesoverlap-todaymonthyear-and-week-exactly-work?forum=sharepointdevelopmentprevious
    Thanks
    Patrick Liang
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • HT1495 I have accidentally synced my friends iPad to mine. How can I undo this?

    I have accidentally synced my iPad with a friends. How can I undo this?

    If you do not have backup, you can download past purchase.
    Download past purchase
    http://support.apple.com/kb/HT2519

Maybe you are looking for

  • Can you open with Pages documents that were created in a 2004 version of Microsoft word for Mac?

    Can you open in Pages documents that were created in a 2004 version of Microsoft Word for Mac?

  • Posting Date in Service Entry Sheet

    Hi All, The problem I am facing is as follows: The Client makes a service PO then it gets released from the highest level. Thereafter when we do service entry sheet in ML81N, that also has a release strategy and if suppose the highest level has relea

  • Does ANYONE know what error code 4280 is referring too?

    I have asked this same question 4x this will be my 5th time. I keep getting an error code 4280 and I have no idea what it is or how to fix it. Someone.... anyone please help. Here is the diagnostic code Microsoft Windows XP Home Edition Service Pack

  • Dropdown List Web dynpro Abap

    Hi All I am new to adobe forms.  I am having a problem with populating drop down list box on an adobe interactive form.  I have gone through this forum and I have tried a number of different things but nothing seems to work. When I run my web dynpro

  • Calendar items with Actions no longer work

    It appears that actions attached to a calendar item are now completely broken or just missing. I can no longer attach a custom action to run on a calnedar event, and items on my calendar that had actions no longer seem to have them attached. Was this