How to save settings in Terminal?

hey guys i just installed OSX for the first time and it's great.
i'm not sure how to save the settings in Terminal though. i changed the theme from the default to homebrew and it won't save.
what do i do?
thanks

While there are books about UNIX, I like the good old man pages. Just type *man command_name* in Terminal to get the manual page for the command.

Similar Messages

  • How to save settings in iPhoto '11 (9.1.3)?

    Hello, does everybody know how to save settings in iPhoto '11 (9.1.3)? Always when I change settings, for example when I check "Copy items to the Library", it is after new start up restored to the default. Also every start up appears "Welcome to iPhoto" and I'm not able to switch it off.

    Trash the com.apple.iPhoto.plist file from the HD/Users/ Your Name / library / preferences folder. (Remember you'll need to reset your User options afterwards. These include minor settings like the window colour and so on. Note: If you've moved your library you'll need to point iPhoto at it again.)
    What's the plist file?
    For new users: Every application on your Mac has an accompanying plist file. It records certain User choices. For instance, in your favourite Word Processor it remembers your choice of Default Font, on your Web Browser is remembers things like your choice of Home Page. It even recalls what windows you had open last if your app allows you to pick up from where you left off last. The iPhoto plist file remembers things like the location of the Library, your choice of background colour, whether you are running a Referenced or Managed Library, what preferences you have for autosplitting events and so on. Trashing the plist file forces the app to generate a new one on the next launch, and this restores things to the Factory Defaults. Hence, if you've changed any of these things you'll need to reset them. If you haven't, then no bother. Trashing the plist file is Mac troubleshooting 101.

  • How to save settings in the front panel to different files and retrieve it later?

    How to save the front-panel controllers' settings to different files and retrieve it later?
    What I've archived is the "Save Settings" function, but when trying to "Reload Settings", I can only retrieve the saved data to front-panel indicators, but not the controllers!
    Can anybody give me some advises?
    Thanks in advanced!
    Charles Lu

    Hi
    Just write the retrieved data to a local variable (but make it writable first) or property node of the controls.
    Hope this helps.
    Thomas
    Using LV8.0
    Don't be afraid to rate a good answer...

  • How to save settings on Toshiba 40RL933

    Dear all,
    I've just  purchased Toshiba 40RL933. I use it for digital TV channels by local TV provider in Ukraine. While setting up this TV I've found that if Ukraine is selected in countries list then the message apperas that DVB-T is not available in this country. So I've got the ability to get digital channels only by selecting Germany.
    Everything is fine now but the language - such channels as Euronews start speaking german language every time I turn my TV on. I can select another language, but I cannot save these settings.
    Can anyone explain how can I save the selected language of the channel forever?
    Thanks in advance
    P.S. Truly saying I don't understand why Toshiba has locked DVB-T for Ukraine. I've found it as at least "strange" solution.

    This site only supports models from the US. I'd recommend you contact Toshiba in your region.
    - Peter

  • How to Save settings

    I made a few Java Programs and I've wanted to do something but never knew if it was possible.
    I would want to save a string of text so whenever I open the program it is the same until I change it.
    like let's say a program that saves notes with the ability to save without using TextWriters.
    Is that possible?

    I did something like this using a file and XML Tags here are the methods i used
         public void saveSettings(){
              String com = "";
              String ip = "";
              String ipAddr = "";
              String sm = "";
              if(sleepMode.isSelected()){
                   sm = "Y";
                   sleepMode.setSelected(true);
              else{
                   sm = "N";
              if(isIp.isSelected()){
                   ip = "Y";
                   comPort.setSelectedIndex(-1);
              else{
                   ip = "N";
              if(isCom.isSelected()){
                   com = "Y";
              else{
                   com = "N";
              if(jtfip.getText().length() < 1){
                   JOptionPane.showMessageDialog(this, "Please enter an IP address");
                   return;
              }else{
                   ipAddr = jtfip.getText();
              JOptionPane.showMessageDialog(this, "You must reload server for changes to take effect.");
              String prt = "";
              if(String.valueOf(comPort.getSelectedItem()).length() > 0 && comPort.getSelectedItem()!= null){
                   prt = String.valueOf(comPort.getSelectedItem());
              xmlRequest = "";
              rf.setINXML(rf.IS_COM, com);
              rf.setINXML(rf.IS_ETHERNET, ip);
              rf.setINXML(rf.IP_ADDR, ipAddr);
              rf.setINXML(rf.PORT, prt);
              rf.setINXML(rf.SLEEP, sm);
             String xml = rf.getXMLRequest();
            xml = rf.Header + xml + rf.Trailer;
              try {
                 BufferedWriter out = new BufferedWriter(new FileWriter("serverConfig.txt"));
                 out.write(xml);
                 out.close();
             } catch (IOException e) {
             this.dispose();
    public void getSettings(){
              ArrayList line = new ArrayList();
              File f = new File("serverConfig.txt");
              try {
                   if(f.exists()){
                        BufferedReader in = new BufferedReader(new FileReader("serverConfig.txt"));
                        while ((str = in.readLine()) != null) {
                             line.add(str);
                        in.close();
                   str = line.get(0).toString();
                   if (str.indexOf("<IS_COM>") > 0){
                        is_com = str.substring(str.indexOf("<IS_COM>")+ 8, str.indexOf("</IS_COM>"));
                        if(is_com.equalsIgnoreCase("Y")){
                             isCom.setSelected(true);
                        RFIDServer.lg.info("Is Com " + is_com);
                   if (str.indexOf("<IS_ETHERNET>") > 0){
                        Is_ip = str.substring(str.indexOf("<IS_ETHERNET>")+ 13, str.indexOf("</IS_ETHERNET>"));
                        if(Is_ip.equalsIgnoreCase("Y")){
                             isIp.setSelected(true);
                        RFIDServer.lg.info("Is IP " + Is_ip);
                   if (str.indexOf("<PORT>") > 0){
                        Devport = str.substring(str.indexOf("<PORT>")+ 6, str.indexOf("</PORT>"));
                        if(Devport.length() > 1){
                        comPort.setSelectedItem(Devport);
                        RFIDServer.lg.info("Com Port " + Devport);
                   if (str.indexOf("<SLEEP>") > 0){
                        is_sleep = str.substring(str.indexOf("<SLEEP>")+ 7, str.indexOf("</SLEEP>"));
                        if(is_sleep.equalsIgnoreCase("Y")){
                             sleepMode.setSelected(true);
                             setSleepMode(true);
                        RFIDServer.lg.info("Sleep Mode On " + is_sleep);
                   if (str.indexOf("<IP_ADDR>") > 0){
                        ipAddr = str.substring(str.indexOf("<IP_ADDR>")+ 9, str.indexOf("</IP_ADDR>"));
                        jtfip.setText(ipAddr);
                        RFIDServer.lg.info("IP Address " + ipAddr);
              } catch (IOException e) {
                   e.printStackTrace();
    public void setINXML(String fieldID, String val)
              if (!(val.equals("")))
                  xmlRequest = xmlRequest + ("<" + fieldID + ">" + val + "</" + fieldID + ">");
          public static String getXMLRequest()
              String temp = "";
              temp = xmlRequest;
              return temp;
          }Keep in mind this isnt the entire program just an example of how to do it
    Edited by: jonnyd9191 on Jun 27, 2008 5:34 PM

  • How to save settings when a worksheet is exported to pdf?

    Hi all,
    I have a problem when i export a worksheet to pdf in Dicoverer Viewer. Whenever i export the map , i always have to change the column dimensions in printable page options because, by default, the worksheet doesn't fit like i want. I have more than 30 worksheets and it's a little bit annoying and tyring do this process all the time.
    Is there a a way to save the settings, to do this process once?
    Best Regards,
    Diogo

    Hi Diogo
    Try setting your column widths in Plus first then save the worksheet and reopen it in Viewer.
    Does this help?
    Best wishes
    Michael

  • How to save settings of Smart Playlists ?

    Hello,
    Im using Itunes Smart Playlists a lot.
    Im running Itunes with Windows.
    I will soon change my PC and I would like to save the settings of my smart playlists.
    To be clear I do not want to save the contents, the list of songs, of the smart playlist, it is the parameters of the smart playlist that I want to save in order to be able to recover the smart playlistand and its content. If in futur i add songs in my library thats matchs the smart playlist parameters i want the smart playlist to be updated.
    I am looking for an automatic solution, the solution: you can write the settings on a notepad or take a screenshot does not suit me. (Do not ask me more details but I have a list with more than 100 criteria).
    Thanks for your help

    See also this migrate iTunes library post.
    tt2

  • I need to erase the contents of my phone and restore to factory settings. Does anybody know how to save your texts so you don't lose them?  Can I back those up to iCloud?  My phone was very likely hacked (Apple's advice was to call the police!)

    "I need to erase the contents of my phone and restore to factory settings. Does anybody know how to save your texts so you don't lose them?  Can I back those up to iCloud?  My phone was very likely hacked (Apple's advice was to call the police!)"
    That was all I could put in the initial "box."  Then it brought me to this page with instructions on how to write a good sentence.
    Proceeding ...
    After going back and forth between Apple, AT&T and the police (all telling me to go to the other two) I took AT&Ts suggestion and got a new number. One tech warned against doing a backup, especially on my Mac, saying if my phone had been hacked then whatever bug was there would then invade my computer. But nobody knows how to determine if the phone has been hacked or a virus was planted there. Unfortunately I know who would have reason to do such a thing and all I can say is that he is at the top technologically and could easily do it. Almost impossible to prove, however.
    So I need to preserve my text messages and my emails as well. I backed up my photos to that Microsoft product (One-Drive) and it froze (Surprise, Surprise) with four short videos to go, and no way of stopping that (when I tried it crashed repeatedly) so I'm in crisis mode here.
    Help ...
    Running 8.0 on 5S
    Thanks!

    Betty I don't know if you fixed your hacking problem but I feel your pain. I've seen some strange things going on between my iMac and my iPhone and Apple has told me the same thing, call the police which I have done. The hackers have stole 500.00 out of my checking account have access to every internet account I use and no matter how often I change the password their right back on the account. I closed my FB account 3 times only to have someone reopen it. Right now I've got a link in my reading list (Safari) that if I click on it, it allows me to log onto my FB account anonymously.
    I've seen a green folder come out of no where while I was trying to delete my passwords out of keychain when that green folder was put into the key chain I was immediately locked out. I than went into system preferences to try to make changes to my security settings, when I clicked on the icon it wouldn't open. I've seen log files of automator receiving commands and sending out my personal information thats on my computer.
    I have a legitamate program called iExplorer that allows you to look at the contents of your iPhone back ups and saw a transaction someone made at the Apple store for some full length movies, some albums, ibooks and other apps but when I called the iTunes store and they said none of those items were showing up on my account. If their not on my account how can they be on my iPhone 6? One day someone was using my gmail account and unknowingly used google maps to search for an Italian restaurant, than a Mexican restaurant than a coffee shop and their search showed up on my iPhone but I didn't have my gmail account installed on my iPhone 6. Using my computer I logged onto my gmail account and looked at the maps history and sure enough there were the searches when I'd hover my curser over the link it gave me the longitude and latitude of the where the hacker was when he was using google maps. I know whoever reads this thinks Im crazy but I've documented everything and can prove the things that I have mentioned in this post actually happened.
    One day I had my laptop (pc) and my iMac next to each other as I was using both. when I clicked on airport it showed that my laptop and my iMac had made a connection and were actually communicating with each other. I know I didn't do it I don't know how. The iMac was logged into my iCloud account while my laptop wasn't. I have formatted my iPhone at least a dozen times, Apple and an Apple retailer have formatted my hard drive not to mention the numerous times I have formatted it but the hackers keep getting on my devices. Im formatting my lap top at this very second because during the course of the night I left the ethernet cable plugged into it and they locked me out of my c: drive, and configured the system so I can't download any updates from Microsoft, overtime I type in www.microsoft.com it changes to ww38.microsoft.com which takes me to a blank page. I right clicked on the page I was redirected to and read the java script and couldn't believe that someone had actually configured Internet Explorer to redirect me to a blank page when I tried to go to Microsoft. Apples answer to all this is there was nothing wrong with my iPhone or my iMac and if I thought there was a problem to call the police which I have done.
    Theres no doubt the hackers are reading this while I type it or will read it and I simply don't care anymore. I no longer email anyone, don't use my iCloud account and have taken precautions to protect my credit but if I ever find out who has invaded my privacy to this extreme the police are going to want to talk to me because Im going to hurt them like they've never been hurt before

  • How to save status bar background color in local settings(Windows Phone 8.1)

    I have given the user the freedom to change background colour and save it in local settings. But I am confused on how to save the status bar colour settings because I want to give the user the freedom to choose from 4-5 colours where background of status bar
    can be changed.
    public static void SaveStatusBarColor()
    // get status bar color
    var statusBar = StatusBar.GetForCurrentView();
    var color = statusBar.BackgroundColor;
    // convert color to hex string
    var hexCode = color.HasValue ? color.Value.ToString() : "";
    // store color in local settings
    ApplicationData.Current.LocalSettings.Values["StatusBarColor"] = hexCode;
    public static void LoadStatusBarColor()
    // get color hex string from local settings
    var hexCode = ApplicationData.Current.LocalSettings.Values["StatusBarColor"] as string;
    if (string.IsNullOrEmpty(hexCode))
    return;
    // convert hexcode to color
    var color = new Color();
    color.A = byte.Parse(hexCode.Substring(1, 2), NumberStyles.AllowHexSpecifier);
    color.R = byte.Parse(hexCode.Substring(3, 2), NumberStyles.AllowHexSpecifier);
    color.G = byte.Parse(hexCode.Substring(5, 2), NumberStyles.AllowHexSpecifier);
    color.B = byte.Parse(hexCode.Substring(7, 2), NumberStyles.AllowHexSpecifier);
    // set the status bar color
    var statusBar = StatusBar.GetForCurrentView(); // Exception Line
    statusBar.BackgroundColor = color;
    }This is what was suggested to me. Initially the app runs and saves the settings.But when the app is closed and restarted again it crashes.

    Hi shriyansh,
    Where did you call the method SaveStatusBarColor() and LoadStatusBarColor()?
    I have called your SaveStatusBarColor() in the OnNavigatedFrom method and called the LoadStatusBarColor() in the OnNavigatedTo method, it worked very well in my side.
    So I can not reproduce your issue.
    Here are my code and result, please try to check it:
    public class test
    public Color colors { get; set; }
    public sealed partial class MainPage : Page
    List<test> testdemo = new List<test>();
    public MainPage()
    this.InitializeComponent();
    testdemo.Add(new test() { colors = Colors.Red });
    testdemo.Add(new test() { colors = Colors.Green});
    testdemo.Add(new test() { colors = Colors.Gray});
    testdemo.Add(new test() { colors = Colors.Blue });
    this.NavigationCacheMode = NavigationCacheMode.Required;
    public static void SaveStatusBarColor()
    // get status bar color
    var statusBar = StatusBar.GetForCurrentView();
    var color = statusBar.BackgroundColor;
    // convert color to hex string
    var hexCode = color.HasValue ? color.Value.ToString() : "";
    // store color in local settings
    ApplicationData.Current.LocalSettings.Values["StatusBarColor"] = hexCode;
    public static void LoadStatusBarColor()
    //get color hex string from local settings
    var hexCode = ApplicationData.Current.LocalSettings.Values["StatusBarColor"] as string;
    if (string.IsNullOrEmpty(hexCode))
    return;
    // convert hexcode to color
    var color = new Color();
    color.A = byte.Parse(hexCode.Substring(1, 2), NumberStyles.AllowHexSpecifier);
    color.R = byte.Parse(hexCode.Substring(3, 2), NumberStyles.AllowHexSpecifier);
    color.G = byte.Parse(hexCode.Substring(5, 2), NumberStyles.AllowHexSpecifier);
    color.B = byte.Parse(hexCode.Substring(7, 2), NumberStyles.AllowHexSpecifier);
    var statusBar = StatusBar.GetForCurrentView();
    statusBar.BackgroundColor = color;
    statusBar.BackgroundOpacity = 1;
    protected override void OnNavigatedTo(NavigationEventArgs e)
    LoadStatusBarColor();
    protected override void OnNavigatedFrom(NavigationEventArgs e)
    SaveStatusBarColor();
    private void ChangeColorButton_Click(object sender, RoutedEventArgs e)
    var statusBar = StatusBar.GetForCurrentView();
    statusBar.BackgroundColor = testdemo[Convert.ToInt32(Mytextbox.Text)].colors;
    statusBar.BackgroundOpacity = 1;
    The result:
    Best Regards,
    Amy Peng
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to Change the Screen Saver Settings to Mystify in Windows 7 using vbscript?

    HI All,
    How to Change the  Screen Saver Settings to Mystify in Windows 7 using vbscript?
    Thanks
    Divakar

    First: What is a GPO?
    Second: jrv, that was not too helpful in general. someone should do some actual code.
    Bob Blork - Mark as answer if it helped!
    This is a forum for technicians and not for home users.  GPO is what technical people use to manage Windows. THe script to do this is in the link I posted - how is that not helpful?
    I know this is all over your head.  I am curious as to why you would respond in a technical forum to a question you do not understand.
    We do not provide free scripts.  We also will point users at correct answers.
    This is not a forum for homw users or for simple support questions.  It is also a thread that has been  answered for a long time.  Perhaps you should start a new thread if you have an actual question about scripting.
    ¯\_(ツ)_/¯

  • How to save slideshow settings so when I press Ctrl-Enter it does what I want?

    How to save slideshow settings so when I press Ctrl-Enter it does what I want?
    eh?
    R

    I tested what you gave me there Rob. On my Mac I have dual monitors:
    -Only blackens/show slideshow on one monitor (the main monitor, if I move LR to my secondary monitory, the slideshow is still on the first, but the second still runs normal, with LR just sitting there).
    -If I disable slide durration I have to manually advance the slides with the right arrow.
    -I don't have "Lightroom" (or with my current settings any) text on the screen.
    -Does not repeat.
    My Windows machine doesn't have dual monitors, but the others work correctly....
    That is, until I thought about this differently. Since we are looking at changing Slideshow settings, I was naturally in the Slideshow module. But then I remembered the whole point of the Impromtu Slideshow was that you can view slideshow playback from any module. Once I returned to Library and clicked Command/Ctrl+Enter, then I saw exactly what you are talking about. Both monitors are blackened, slide duration is ignored, etc.
    You know why? Because the Impromptu Slideshow uses one of the templates when outside of the Slideshow Module. Which one? Well, Default +, of course. How do you change that? Right-click (Command-click) the slideshow template you'd rather use and select "Use for Impromptu Slideshow".

  • How to save terminal command as application

    Does anybody know how to save this terminal command as an application? This is the command that I use to backup my computer, but it is annoying having to copy and paste it into terminal every time I want to use it. Here is the command:
    sudo rsync -auE --progress / /Volumes/Backup
    If I Paste this into terminal, it asks me for my password, then starts backing up. When I enter it into automator or applescript editor, there is an error. Thanks in advance!

    I tried saving a shell script command in an Applescript but when I run the script, it runs but then I get a spinning wheel, as if the script is in an endless loop. Can someone clarify what I need to do?
    My script:
    do shell script "/System/Library/CoreServices/Finder.app/Contents/MacOS/Finder & disown"

  • Built-in SSH Terminal question on how to save and exit

    Howdy, Heres my question and problem.
    I haven't been able to figure out how to save and exit the editor for the SSH terminal that the mac has. I've read that to save you press control -O hit return and to exit hit control -X but that doesn't seem to be working.
    I'm trying to install imagemagick onto my web server and I get stuck at that point of saving and then exiting.
    can anyone tell me how to save and exit the editor?
    I hold down control press -O i let go of the buttons then i press control -X and it stays at the same editor like nothing happened. I try quitting the terminal and reloading it all but that just causes me to restart and nothing saved. and I actually hit the "-" key should i do that or no?
    heres the instructions I'm following for the imagemagick install.
    (For this next part, if you don't have "pico", you can use "vi" instead)
    $ cd libtiff-lzw-compression-kit
    $ pico Makefile
    change
    TIFFSRCDIR = /tmp/libtiff
    to
    TIFFSRCDIR = ../tiff-v3.5.5
    Then save and exit the Editor $ make install
    $ cd ..
    $ cd tiff-v3.5.5
    $ ./configure
    thanks for any help
    -Ahufs

    ctrl+x (thats both keys at the same time) will invoke the exit of the program. at wich point if youve made changes to the file it will ask you if you want to save the data or not. If yes you need to type yes or y and hit enter... if no then no or n. Then it will ask you what you want the file name to be with the default being whatever the file was that you opend to buffer to work on so in most cases you hit enter again.
    hitting ctrl+o (thats both at the same time again) should write the file out and close the application without prompting i think (i dunno for sure... i always use ctrl+x myself).
    At least thats on the OS X version of pico... your server is probably linux so it may differ although i wouldnt expect it to. my pico bindings have always been the same from Debian to CentOS to Darwin.
    Also i msut ask... why cant you pass the TIFFSRCDIR as an option to ./configure like normal instead of manually editing the make file?

  • "vocals" How do i save settings on vocal track

    Hi All
    Can anyone please help, I am new to GB and wondered if anyone could please tell me how to save vocal settings on a track so I may use them again on earlier recorded vocals, eg: import the earlier recorded vocal track into GB with the settigs already in GB. Is this possible? Also is there any good plug in settings about use can use for vocals. Thanks to all in advance.
    Kind Regards Gary

    how to save vocal settings on a track
    open Track "i"nfo, select a category in the left hand list (e.g. Vocals), and click the Save Instrument button
    so I may use them again on earlier recorded vocals
    select your newly saved "instrument" for any track in which you want the same effects

  • How to export/save settings for Authentication?

    Hello all,
    what is the best way to export/save settings for Authentication and 'core settings' of authentication using ssoadm?
    I want to save all settings from:
    (Top Level Realm) -> Authentication [ in web gui console].
    Also all settings from 'All Core Settings'. Is there a way to do that from command line?
    Thank you

    Does the backed up copy of the iPhone's settings include the voicemail information? I'm wanting to do a "restore" on the iPhone, but want to find a way to keep the voicemails and not lose them

Maybe you are looking for

  • How do i transfer contacts from blackberry to iphone4s

    I have a blackberry for work that syncs with Lotus Notes for contacts.  How do I get those contacts on my iphone 4s?

  • Site System Status Error Message on SiteStat.log : SQL statement with Incorrect Syntax

    Hi Folks, We are getting the below system status error in the primary servers site status log (SiteStat.log) every minute. It relates to the updating of a secondary site. I have worked out where the SQL syntax is wrong (TimeReported=,) and that it mo

  • Purchase transactions

    Dear All, A Very happy pongal. Whenever I am trying to generate Goods receipt or A\P Invoice I am getting a error "G/L account is missing [A/P Invoice - Rows - Warehouse Code][line: 1] , 'I004'  [Message 131-46]". I am using chart of accounts In_ C o

  • Rocket Raid 2314 & Bootcamp Win7

    I have been trying to get an eSata card to work with my 2009 Mac Pro and its been nothing short of nerve racking. I tired the Rocket 622 but that would not recognize PM (port multiplier) cases or boot to Windows 7. Highpoint assured me that they woul

  • Same artist, different categories

    i'm a bit new here so i don't know if this question has already been answered... my ipod randomly places the same artists and albums in two different categories, i.e. i have two "high fidelity" files in my ipod. both are spelled exactly the same, etc