

If you are using a password for authorization, then you need to enter the macOS password to execute the command La commande sur mac OS Catalina Plus Moins. Now type the below command in Terminal and hit the enter button. After it runs, change the last number to 4, and so on Open Terminal (Application - > Utilities - > Terminal or click Go- > Utilities- > Terminal). Once that's done, type the same command in, but change the last number to 3. Now, type in this command: cp ~/largefiles/largefile ~/largefiles/largefile2. Īfter about five minutes or so, hit Control + C in Terminal to stop the previous command. you can also schedule this command on daily or weekly basis. go to the folder /opt/tomcat/logs/ type in command line sudo echo > catalina.out. Google VIM commands if you don't know how to.

When you run this command, it will open up the crontab in an editor (probably vim. For most people, this will be empty initially. So the above command says to edit the root user's crontab, which is a list of scheduled tasks. sudo is a command to allow you to run things as root. When Terminal launches, type in the following command and press Enterįor those wishing to automate the running of purge, open a terminal and enter this command: sudo crontab -e. If you have to do this often, you might want to create an Automator service that does it for you in a single-click. Quit all of the running apps on your Mac. OS X Mountain Lion (10.8) : Lancez le terminal et tapez « purge » OS X Mavericks (10.9) : Lancez le terminal et tapez « sudo purge » OS X Yosemite (10.10) : Lancez le terminal et tapez « sudo purge » OS X El Capitan (10.11) : Lancez le terminal et tapez « sudo purge  Speeding Up a Mac Using the Purge Command.
