zoukankan      html  css  js  c++  java
  • 加快Terminal的打开加载速度

    加快Terminal的打开加载速度

    加快Terminal的打开加载速度

    有时终端打开慢,开启Terminal卡顿的时候,清除asl的log文件就好了.

    Mac OS X: If Terminal is loading slowly on your Mac (for me, slow loading in Terminal is more than five seconds), try clearing out the ASL logs.

    For reasons I do not understand, ASL logs make Terminal load really, really slowly. You can clear out the ASL logs by executing this command:

     
    x
     
    sudo rm -f /private/var/log/asl/*.asl

    Before executing that command, though, make sure you don't need those logs. Because that line will effectively delete all of them.

    I put that in my .bash_profile as a function because Terminal.app is often slow for me.

    I gave it a try on a machine where Terminal's been extremely slow for me and it did seem to help a lot, but likewise, I'm not sure why. A little research also shows the folks at OS X Daily had similar results. If you've got a better explanation, let's hear it in the comments.

    一句话

    删除 /private/var/log/asl/目录下的asl文件

     
     
    sudo rm -f /private/var/log/asl/*.asl

    原文链接:

    http://lifehacker.com/5666887/speed-up-terminal-by-clearing-asl-logs?trending_test_b&utm_expid=66866090-62.H_y_0o51QhmMY_tue7bevQ.2&utm_referrer=http%3A%2F%2Flifehacker.com%2F5666887%2Fspeed-up-terminal-by-clearing-asl-logs

    undefined
  • 相关阅读:
    the schema version of 'microsoft.aspnet.mvc' is incompatible with version of nuget
    ODBC连接到400
    PC端使用program來CHGUSRPRF
    Could not load file or assembly 'System.Data.SQLite' or one of its dependencies. An attempt was made
    编辑器,按钮等等,图片上传到服务器的原理-----图片上传预览原理及实现
    dedecms,ajax提交,前端验证,前端提示,以及30秒后再提交
    js提交表单的时候,30秒后才能提交第二次
    z-dialog下载,以及使用教程---下载zdialog以后,有案例,那里才是官方最全的教程
    Resource interpreted as Stylesheet but transferred with MIME type application/javascript
    dedecms ajax表单提交,以及如何返回json的数据,以及数组的写法
  • 原文地址:https://www.cnblogs.com/xilifeng/p/4953453.html
Copyright © 2011-2022 走看看