Sponsored Content
Full Discussion: OS settings by commands
Operating Systems OS X (Apple) OS settings by commands Post 303024387 by saouu on Sunday 7th of October 2018 09:31:14 PM
Old 10-07-2018
OS settings by commands

hi please help me. i cant find how i can do this settings in terminal
one i find it not works on mojave, i color it purple.



Code:
# "Finder: items in the sidebar
show Mac
hide iCloud/recents

# "Settings-general-RecentItems - NONE"

defaults write -g 'NSRecentDocumentsLimit' -int 0
defaults write com.apple.Preview NSRecentDocumentsLimit 0

# "set F13(printScr) for save-screenshot-as-file"

# "set Alt+F13(printScr) for save-pic-of-area-as-file"

# "Mojave Settings-Update -ALL disable

 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Password Settings

Is there an easy way to spit out a screen with all the password setting parameters set out? For example: MINWEEKS=1 MAXWEEKS=8 etc. I'm looking for a way to have all the settings consolidated on a report for inclusion in policy documents. (4 Replies)
Discussion started by: Hoju
4 Replies

2. UNIX for Dummies Questions & Answers

CHMOD settings

Right, I'm really new to the UNIX stuff, and the main reason for posting is as follows: I am attempting to install postnuke on the local council webserver. for web server stats search for http://www.haybridge.worcs.sch.uk here and I am being asked to change the CHMOD settings for two of the... (3 Replies)
Discussion started by: womble
3 Replies

3. UNIX for Advanced & Expert Users

.profile settings

I need to configure my .profile so that it should always reflect my present directory path during my session. How can i do that. Please help (1 Reply)
Discussion started by: satgur
1 Replies

4. Programming

code that reads commands from the standard i/p and executes the commands

Hello all, i've written a small piece of code that will read commands from standard input and executes the commands. Its working fine and is execting the commands well. Accepting arguments too. e.g #mkdir <name of the directory> The problem is that its not letting me change the directory i.e... (4 Replies)
Discussion started by: Phrozen Smoke
4 Replies

5. Shell Programming and Scripting

enviroment settings

What are the environment setting during a cron session? I have HP-UX and I want to send the output/file from a script to several e-mail addresses. I want to create an env-var to store the e-mail addresses in my .profile, but I do not know if it will be visible when a script is executed in a cron. (4 Replies)
Discussion started by: ALTRUNVRSOFLN
4 Replies

6. Linux

Ip settings

Hi, How to set ip address in linux. Regards, Guguli (1 Reply)
Discussion started by: guguli
1 Replies

7. Shell Programming and Scripting

Can BASH execute commands on a remote server when the commands are embedded in shell

I want to log into a remote server transfer over a new config and then backup the existing config, replace with the new config. I am not sure if I can do this with BASH scripting. I have set up password less login by adding my public key to authorized_keys file, it works. I am a little... (1 Reply)
Discussion started by: bash_in_my_head
1 Replies

8. Red Hat

SMTP Settings

Hi all, Please help to check weather the SMTP settings are configured or not on my LINUX server? I want to send a mail to mailbox. I know that the target SMTP server has to be configured on LINUX box to do so. How can i see weather it is configured or not? --Ramesh Ch. (3 Replies)
Discussion started by: Raamc
3 Replies

9. HP-UX

Vi Editor Settings For Hp-UX

can any one provide me Vi Edior Settings for HP-UX I searched the forum i cound't able to find much information. 1) Need Vi editor setting for Color Code ... to work in C++ (Highlight Syntax .... as Vi Editor in Linux ... which we enable the syntax) 2)Delete , backspace , arrows , home ,... (3 Replies)
Discussion started by: girija
3 Replies

10. AIX

HACMP: difference between 'cl' commands and 'cli' commands

Hi all, I'm new in this forum. I'm looking for the difference between the HACMP commands with the prefix "cl" and "cli". The first type are under /usr/es/sbin/cluster/sbin directory and the second are under /usr/es/sbin/cluster/cspoc directory. I know that the first are called HACMP for AIX... (0 Replies)
Discussion started by: peppix
0 Replies
AssetCacheManagerUtil(8)				    BSD System Manager's Manual 				  AssetCacheManagerUtil(8)

NAME
AssetCacheManagerUtil -- control the macOS Content Cache SYNOPSIS
AssetCacheManagerUtil [-a|--all] [-j|--json] [-l|--linger] command DESCRIPTION
AssetCacheManagerUtil controls the macOS Content Cache. AssetCacheManagerUtil must be run by root except as noted below. The options are: -a|--all Show all events, not just the end result of the specified command. -j|--json Print results in machine-parseable JSON format to stdout. -l|--linger Linger after completing command, to show other events. The commands are: activate Activates the content cache. Content caching is deactivated by default. After you activate content caching, restart devices on your network to take advantage of content caching immediately. Devices on your network will discover this content cache over time. Devices that are restarted will use this content cache immediately. deactivate Deactivates the content cache. isActivated Reports the content cache's activation status. Does not require root. canActivate Reports whether the content cache is eligible for activation. Does not require root. flushCache Flushes the content cache. flushPersonalCache Flushes all personal (iCloud) content from the content cache. flushSharedCache Flushes all shared (non-iCloud) content from the content cache. status Reports the content cache's status. Does not require root. settings Reports the content cache's settings. Does not require root. reloadSettings Forces the content cache to reload its settings. moveCacheTo path Moves the cache to path. The path must end with /Library/Application Support/Apple/AssetCache/Data. The contents of path are deleted and replaced with the cache. absorbCacheFrom path read-only|and-destroy Imports the cache from path. The path must end with either /Library/Application Support/Apple/AssetCache/Data or /Library/Server/Caching/Data. If the last argument is read-only the cache at path is not modified, otherwise it is emptied. This command only starts the absorption, which proceeds and finishes in the background. SEE ALSO
System Preferences > Sharing > Content Caching, AssetCache(8), AssetCacheLocatorUtil(8), AssetCacheTetheratorUtil(8) macOS June 1, 2019 macOS
All times are GMT -4. The time now is 05:37 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy