How do I change the BLOCKSIZE variable permanently?

I want to change the output when I do ls -s to 1024 instead of 512. How do I do this so it stays that way permanently?

alias ls='ls -k'
Now put this into your
.bashrc
If you do not have a .bashrc then create one using a text editor such as nano from the Terminal, or TextWrangler a free download, or Smultron another free download, or if you are a vi or emacs user then one of those editors.
Once you have the alias in your .bashrc file, you enter the command:
source ~/.bashrc
and you are all set to go. From this point on and every time you start a new Terminal session your ls command will use the -k option with the *"ls -s"* command.

Similar Messages

  • How do i change the $Date variable format on an Ironport ESA to be DD/MM/YYYY

    I have an Ironport ESA running ASyncOS 7.6 and i use the $Date variable in notification emails.  It is currently formatted in the US way of MM/DD/YYYY but we need it to be formatted as DD/MM/YYYY.  Is there any way to do this?  The time zone is correct but i can't find anywhere to modify system variables.

    There doesn't appear to be any way to change the formatting of that variable.  Perhaps you can make use of $Timestamp or $GMTimeStamp instead?

  • How to change the text variables for a standard report-writer report ?

    I am trying to change the text variables for a report -writer report and transport the same so as to change the title page and the report output heading  .I know the Report-Group 6Z02 and the library 6O1 to which it belongs.I tried using the change transaction GR32 after going to the area menu through FGRP . I try to change the text variables through  but it throws an error "You chose a name in the reserved name range - try different name ".
    I have also tried copying this report into another report and changing the new report . I was able to change and save the text variables . Now when I try to overwrite the original report 6Z02-001 with this new report , it does not allow that.
    Let me know how I can change the text variables for the same

    Can anyone please suggest me what to do here ?

  • How to (if possible) change the measfilename variable at runtime

    Hello / Hallo (in Deutsch unten)
    Is it possible to change the measfilename at runtime? I have two HBM MGC+ which need a pretty long time to initialize. Both are installed in a car. For each measurement we make I must run the DAC scheme make the measurements an stop it. Then ich change the filename for the data and we make the next measurements. This takes a lot of time.
    I want to start run the DAC scheme for only one time and let it run. Then I want to trigger the measurements with buttons setting triggerconditions in the DAC scheme. To trigger the recording of the data is not the problem but how can I change the measfilename variable at runtime so that each new measurement is saved in a new file?
    The example with the GenFileName function is interesting but not the solution for my problem...
    has anyone an idea?
    Thanks a lot.
    Sebastian
    DEUTSCH:
    Hallo,
    kennt einer eine Möglichkeit die Variable MeasFileName bei laufender Messung zu verändern? Ich möchte die Messung starten... das Abspeichern geschieht über Triggerbedingungen die von Button im DAC Plan während der Messung gesteuert werden. Ziel wäre für jede neu getriggerte Messung je eine neue Datei mit einem neuen (in der Laufzeit eingebbaren) Dateinamen anzulegen.
    Hat das oder ähnliches schonmal einer gemacht und kann sachdienliche Hinweise abgeben ?
    Danke schonmal.
    Grüße Sebastian

    Hallo,
    ich habe noch ein wenig herumprobiert aber es klappt nicht so richtig. Ich habe noch folgendes versucht: Daten ins Datenportal ablegen und immer nach Ende einer einzelnen Messung per Button eine Autosequenz aufrufen die die Daten in eine Datei schreibt (Dateiname über Dialogfeld eingebbar). Das klappt auch... nur wenn ich dann in der Autoseq. den Datenbereich komplett lösche (DATADELALL) und eine neue Messsequenz starten will stürzt das Messprog. mit Runtimeerror ab. Irgendwie kommt der vermutlich nicht klar damit, dass der Messwertzähler während der Laufzeit wieder auf 0 gesetzt werden muss.
    Eine fortlaufende Speicherung mit anschließender Sortierung wollte ich auch schon machen aber bei fast 200 Messkanälen mit 800Hz häufen sich einfach soviele Daten an, dass die Messdatei riesig werden würde.
    Grüße Sebastian

  • Change the environment variables for sid adm failed

    Hi Experts,
    I have installed ECC HA on AIX/ORACLE
    now i want to change the environment variables for the qr1adm user at the standby node
    i tried to change the /home/qr1adm/.profile with command
    vi  /home/qr1adm/.profile  it is changed  and i saved this changes.
    now I login with qr1adm user and i executed this command
    env |more
    it comes with the old values
    i don't know why?
    and if i oppened the .profile file i'm finding the new values
    So could you please tell me how can i change the environment variable for qr1adm user
    Thanks
    Sherif
    Edited by: Sherif Eid on Jan 23, 2008 9:08 AM

    Thanks Sridhar ,
    which hostname?
    for example i have
    .dbenv_R3QASsvc.csh
    .sapenv_KFGKWERPR303.csh
    i want to tell you that R3QASsvc is the virtual hostname
    and KFGKWERPR303 is the name of the primary node A
    and the phiscal host name of node B is KFGKWERPR307
    so which one should i change it?
    thanks
    Sherif
    Edited by: Sherif Eid on Jan 23, 2008 11:59 AM

  • How do I change the Not Editable flag of a variable?

    How do I change the Not Editable flag of a variable?  I need to edit the variable but right now the Not Editable box is checked.

    You can't do it unfortunately.  That's why it pops up a warning when you check it in the first place.
    Ok seriously though there is a workaround for this.  It's a total hack but may get you back to where you need to be without having to copy everything to a new sequence file. 
    WARNING:  Not sure what versions of TS this will work with.
    With the offending sequence file open go to Edit>>Sequence File Properties. 
    On the General tab change the File Format to XML. 
    Click OK. 
    Save the sequence file.
    Now browse to where you saved the sequence file and open it with Notepad.
    Search for FileGlobal and look for the offending variable. <MyGlobal classname='Num' valueflags='1'>
    It should have a property called valueflags.  It will be valueflags='1'.
    Remove that property altogether.  So it should be something like this: <MyGlobal classname='Num'>
    Save it and reopen it in TestStand.
    You may need to change it back to binary format from within TestStand.
    If deleting it gives you problems then just change the valueflags to 0.
    Hopefully this helps.
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • How do I change the the "From" in Mail permanently from Cloud to my

    How do I change the the "From" in Mail permanently from my iCloud account to my gmail account?
    Also, how can I permanently increase the font size when composing an email?

    Many thnks!  I'm an old and experienced PC user who recently made the switch to a Mac.  Love the Mac, but it does take some time to learn all the differences.
    Jim in MA

  • How to change the characterstic variable

    Hi Friends,
    I have to change the characterstic variable Variable Represents = u201CSelection Option to interval option.
    Can any body help me in this regard
    Thanks
    Kiran

    Unfortunately Rakesh is right. you cant change this property once the variable is created. You will need to create a new one.
    best regards,
    Jerome

  • How to change the outbound variable?

    Hi..
    we are trying to change the outbound variable tag <http:http-response-code>, we tried with replace activity it was not working as what we expected.
    By default we are getting the following value "<http:http-response-code>200</http:http-response-code>" we are trying to change it from "200" to some other value.
    Thanks.

    Hi..
    Thanks for ur reply..
    Replace node contents of ./ctx:transport/ctx:response/http:http-response-code in inbound variable with "202"
    we tried insert also Insert
    <http:http-response-code>202</http:http-response-code> as last child of ./ctx:transport/ctx:response in inbound variable.
    Its not working
    Thanks

  • How can I change the frame rate mode?

    Adobe Premiere Pro exports my videos with a variable frame rate. Because of this long videos are asynchronous. How can i change the frame rate mode? So Adobe Premie Pro exports my videos with a CONSTANT frame rate? The original video  has a constant frame rate...

    Sorry my mistakes. I am from Germany.. so...I mean with asynchronous that the video file and the sound file are displaced. In the beginning of the Video it's normal, but if the videos is very long it goes VERY "asynchronous"
    I analyzed the video with "mediainfo":
    General
    Format                                   : MPEG-4
    Format profile                           : Base Media / Version 2
    Codec ID                                 : mp42
    File size                                : 2.00 GiB
    Duration                                 : 20mn 13s
    Overall bit rate mode                    : Variable
    Overall bit rate                         : 14.2 Mbps
    Encoded date                             : UTC 2013-12-11 13:56:13
    Tagged date                              : UTC 2013-12-11 13:58:30
    ©TIM                                     : 00:00:00:00
    ©TSC                                     : 30
    ©TSZ                                     : 1
    Video
    ID                                       : 1
    Format                                   : AVC
    Format/Info                              : Advanced Video Codec
    Format profile                           : [email protected]
    Format settings, CABAC                   : Yes
    Format settings, ReFrames                : 3 frames
    Format settings, GOP                     : M=3, N=30
    Codec ID                                 : avc1
    Codec ID/Info                            : Advanced Video Coding
    Duration                                 : 20mn 13s
    Source duration                          : 20mn 13s
    Bit rate                                 : 14.0 Mbps
    Width                                    : 2 560 pixels
    Height                                   : 1 440 pixels
    Display aspect ratio                     : 16:9
    Frame rate mode                          : Variable
    Frame rate                               : 30.000 fps
    Minimum frame rate                       : 30.000 fps
    Maximum frame rate                       : 30.030 fps
    Standard                                 : PAL
    Color space                              : YUV
    Chroma subsampling                       : 4:2:0
    Bit depth                                : 8 bits
    Scan type                                : Progressive
    Bits/(Pixel*Frame)                       : 0.127
    Stream size                              : 1.98 GiB (99%)
    Source stream size                       : 1.98 GiB (99%)
    Language                                 : English
    Encoded date                             : UTC 2013-12-11 13:56:13
    Tagged date                              : UTC 2013-12-11 13:56:13
    Color primaries                          : BT.709
    Transfer characteristics                 : BT.709
    Matrix coefficients                      : BT.709
    mdhd_Duration                            : 1213733
    Audio
    ID                                       : 2
    Format                                   : AAC
    Format/Info                              : Advanced Audio Codec
    Format profile                           : LC
    Codec ID                                 : 40
    Duration                                 : 20mn 13s
    Source duration                          : 20mn 13s
    Bit rate mode                            : Variable
    Bit rate                                 : 158 Kbps
    Maximum bit rate                         : 254 Kbps
    Channel(s)                               : 2 channels
    Channel positions                        : Front: L R
    Sampling rate                            : 44.1 KHz
    Compression mode                         : Lossy
    Stream size                              : 22.8 MiB (1%)
    Source stream size                       : 22.8 MiB (1%)
    Language                                 : English
    Encoded date                             : UTC 2013-12-11 13:56:13
    Tagged date                              : UTC 2013-12-11 13:56:13
    mdhd_Duration                            : 1213777
    And there i can read that the "frame rate mode" is variable... and that's the bad thing... I want to change that point to a constant frame rate mode. I use the H.264 codec 

  • How do i change the text color in ichat?

    How do i change the text color in ichat?

    Hi,
    In One Chat by word or letter go to the Format Menu as you type (Highlight and change like you would in any other App)
    On a more permanent basis the Font, it's colour and the IM background colour are set in iChat Menu > Preferences > Messages
    10:12 PM      Wednesday; November 23, 2011
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Lion 10.7.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • How do I change the behaviour of an update button.

    I have a variable - $UpdateFlag, which contains a string and updates a table with it on the click of the update button.
    The problem I have is that if the string is blank, I don't want to update, and I want the button to exit instead.
    here's the code. At the moment the button does nothing if $UpdateFlag is blank.
    How do I change the behaviour of the button so that it can update or exit based on $UpdateFlag?
    <?php
    $editFormAction = $_SERVER['PHP_SELF'];
    if (isset($_SERVER['QUERY_STRING'])) {
      $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
    if ((isset($_POST["MM_update"])) && ($_POST["MM_update"] == "form1") and $UpdateFlag !='' ) {
      $updateSQL = sprintf("UPDATE offer SET status=%s WHERE offer_id=%s",
                           GetSQLValueString($UpdateFlag ,"text"),
                           GetSQLValueString($_GET['offer_id'], "int"));
      mysql_select_db($database_guitarswap_db, $guitarswap_db);
      $Result1 = mysql_query($updateSQL, $guitarswap_db) or die(mysql_error());
      $updateGoTo = "Member2.php";
      if (isset($_SERVER['QUERY_STRING'])) {
        $updateGoTo .= (strpos($updateGoTo, '?')) ? "&" : "?";
        $updateGoTo .= $_SERVER['QUERY_STRING'];
        echo OK;
      header(sprintf("Location: %s", $updateGoTo));

    Add an else statement to do what you want if the flag is empty.
    if ((isset($_POST["MM_update"])) && ($_POST["MM_update"] == "form1") and $UpdateFlag !='' ) {
      $updateSQL = sprintf("UPDATE offer SET status=%s WHERE offer_id=%s",
                           GetSQLValueString($UpdateFlag ,"text"),
                           GetSQLValueString($_GET['offer_id'], "int"));
    mysql_select_db($database_guitarswap_db, $guitarswap_db);
      $Result1 = mysql_query($updateSQL, $guitarswap_db) or die(mysql_error());
    $updateGoTo = "Member2.php";
      if (isset($_SERVER['QUERY_STRING'])) {
        $updateGoTo .= (strpos($updateGoTo, '?')) ? "&" : "?";
        $updateGoTo .= $_SERVER['QUERY_STRING'];
        echo OK; // <-- This will cause a parse error
      header(sprintf("Location: %s", $updateGoTo));
    } else {
      //do something else
    Note that your echo statement will cause a parse error. OK is a string, and should be in quotes. Also, it will prevent the redirect from working.

  • How do I change the width of column "rating"

    all columns are variable in widht. but not "rating" (stars). How do I change the width of column "rating"?

    Hi Emkaha,
    By the way the column "last played" can be reduced to a size which display the date "incorrect" as well (you'll see only the first number of the date which wouldn't make any sense too, but it is possible).
    True, but if you see date of "1" you will know you are not seeing a full date.  If you see 2 stars, it is a valid value, even if it is not correct.  At least, that is my supposition about why it is designed the way it is.
    Having said that, the extra width in the German version -- the Wertung column is wider than needed for 5 stars -- does seem odd.  In the English version for Windows PC, the Rating width is just enough for 5 stars.  You can report this to Apple via the iTunes Feedback page.

  • How do I change the image selected for the finalized movies pane in all events?

    How do I change the image selected for the finalized movies pane in all events? I made a movie some time ago in iMovie, and a still from this now appears as the image for Finalized Movies in the All Events pane (as well as showing up if I then click on this pane to take me to Finalized Movies). Anyone know how to change or delete this image, please?

    Unfortunately, the suggested solution in that thread does not work and the thread appears to be closed to replies.  That is, even though I am logged in the Reply|Quote|Mark as answer|Report as abuse items are missing.
    The suggested solution is:
    First, I found I had "img100.png" in  C:\Windows\Web\Screen  and
    C:\Windows\WinSxS\x86_microsoft-windows-themeui-client_31bf3856ad364e35_6.2.9200.16384_none_69ee3fa2269e545e
    1. Belonging to the Administrators Group, I replaced file Owner TrustedInstaller with my Username on both "img100.png" files
    2. After resizing the image I wanted to see on the Login screen to the resolution of "img100.png" file,
    I copied and pasted it to both "img100.png" files keeping this way the format (extension) and resolution of the original "img100.png" file,
    which I permanently deleted.
    However, I have not been able to replace the img100.pgn in C:\Windows\Web\Screen even after taking ownership of it and setting the permissions for my userid to All.  I edit it with mspaint and then try to save it. The save starts that then says the
    save was interrupted.
    The appears to be some additional protection besides the standard acls.
    http://www.saberman.com

  • How Can i retain the Shared Variable Values after PC rebooting

    Hi all,
    I am facing a paculiar problem with Shared Variables. I have an application in which shared variables are used for data communication.
    One of the application requirement is to retain the variable values eventhough PC is rebooted or started after crashing. 
    As per the my understanding, the variable values will retain eventhough the PC is rebooted. But here i can observe a paculiar problem like some library variables are retaing the values while some others not. I enabled logging for all the variables.
    I tried many ways. like logging enabled, logging disabled, changing variable names, changing process names etc... But i am not getting a consistent behaviour.
    I hope some you can help me in solving this issue.. "How Can i retain the Shared Variable Values after PC rebooting"
    Thanks and Regards,
    Mir

    Hi Blackperl,
    Thanks for the post and I hope your well. 
    What do you mean by not getting consistent behaviour.. this will all depend on excatly when the crash happens i.e. before the write or after. 
    Surely a better method would be to log the data to a file during the reboot...
    I beleived the value read back
    will be the default value for the shared variable's data type.
    The LabVIEW DSC 8.0 module adds more functionality to the shared variable, including initial values and alarms.
    If you enable an initial value on a shared variable, when the variable
    engine comes back on-line it will default to this value. Setting a bad
    status alarm for the shared variable is also a good way of handling
    this type of event. Additionally, if you are using a LabVIEW Real-Time
    target such as Compact RIO or Compact FieldPoint, it is appropriate to
    consider hosting the shared variable engine on the real-time target.
    These devices have watch-dog capabilities and are typically the
    hardware controlling the critical pieces of an application. Most
    Windows or PC-based targets do not have these fail-safes.
    I guess, if you could explain to me again that would be great. From my point of view, if I have a cRIO and a Windows PC. If the windows PC crashes, the cRIO will still update its shared variables. Then once the PC has started up its own shared variable engine, and the bindings are loaded, it will once again continue to update its copies of the variables.
    Please let me know what you think,
    Kind Regards,
    James.
    Kind Regards
    James Hillman
    Applications Engineer 2008 to 2009 National Instruments UK & Ireland
    Loughborough University UK - 2006 to 2011
    Remember Kudos those who help!

Maybe you are looking for

  • Key figure value in a level

    Hi is it possible to identify which key figures values has introduce a user ? and which CVC has the user uses for inserting the key figure value? REgards. PS :We have APO DP 5.0

  • How to make managed masters available in Finder & other apps

    Hi all, In discussing a Referenced vs Managed storage, one of the issues is not being able to see your Masters in the Finder, so other apps can access them. You can get at the Masters in your managed Library quite easily, although BEWARE... DO NOT MO

  • How can I file compliant to Customer service or about Customer service?!!!

    Dear Verizon Manager, I am writing to you file a formal complaint about the Verizon customer service, and to request the refund regarding my Internet service of Verizon FIOS (Account No. 6703004253) for March 2013. This internet service was meant to

  • Errors in data loading & BEx reporting.........,

    Hi all, should i know that what are the possible erros occur in data extraction & reporting ....., how would we rectify it in real time .........., can anyone tell me tips please.....all masters please advice me some solutions based on real time plz.

  • Typical metric thresholds and patterns for monitoring Exadata

    I'm looking for any best practices or a list of recommended settings for the following: .- Metric Threshold settings to manage Exadata with OEM12c. .- List of main and/or typical metrics used for setting up alerts in OEM12c for Exadata. Thanks in adv