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
gettydefs(4)						     Kernel Interfaces Manual						      gettydefs(4)

NAME
gettydefs - Terminal attributes SYNOPSIS
/etc/gettydefs DESCRIPTION
The gettydefs file supplies the getty command with information about various terminal attributes, such as the default initialization and the login message. The gettydefs file contains single line entries that are separated by blank lines. Each entry contains five fields; each field is separated by a number sign (#). You can indicate comments in the file by putting a number sign (#) at the beginning of a line. When the getty command is invoked, it scans the gettydefs file for the first entry with a matching identifier field (see below). If the gettydefs file cannot be opened, internal default settings are used. If a match is found, then the matching entry is parsed, and the ter- minal attributes are set based on the fields specified in the entry. If a match is not found, the first gettydefs file entry is used; therefore the first entry in gettydefs must be the default entry. The maximum length of each entry is 255 characters. The format of each entry is as follows: Identifier#Iflag#Fflag#Message#Next Identifier Identifies an entry. The getty command uses an identifier as an argument and searches for the first entry with a matching identifier field. The identifier must be unique. Specifies the initial terminal flags that the getty command uses to set the terminal attributes after a line has been successfully opened. There are four categories for the terminal attributes. The input flags control the basic input attributes. The output flags control how the terminal system processes output. The control flags describe how the hardware controls the terminal. The local flags control various terminal functions. Refer to termios(4) for the description of the possible settings on a ter- minal port. You can specify the symbol SANE to select default settings. The default settings set the input flags to BRKINT, IGNPAR, ICRNL and IXON; the output flags to OPOST and ONLCR; the control flags to CS8, and CREAD; and the local flags to ISIG, ICANON, IEXTEN, ECHO, ECHOK. Specifies the final terminal flags used by the getty command. These flags are set after the getty command receives a valid login name from the standard input. The output flags and the control flags are set to the terminal attributes specified in Fflag. The input flags and local flags are appended to the initial flags specified in the Iflag field. Specifies the login message. The login message can include the character sequence %h to obtain the host name and %t to obtain the terminal name. This field is limited to 79 characters. Specifies that if the speed specified in the current entry was incorrect, the entry corresponding to this field should be used. The getty command obtains the new entry from this field, and the scan process is repeated. EXAMPLES
The following is an example of an entry in the gettydefs file containing settings for an 8 bit, no parity, 9600 baud, locally connected terminal line: 9600# B9600 HUPCL CS8 CLOCAL # B9600 SANE IXANY TAB3 CLOCAL #login: #9600 The following is an example of an entry in the gettydefs file containing settings for a 8 bit, no parity, 2400 baud, dial in modem line: M2400# B2400 HUPCL CS8 # B2400 SANE IXANY TAB3 HUPCL #login: #M1200 FILES
Specifies the command that initializes and controls terminal lines. RELATED INFORMATION
Commands: getty(8) Functions: kill(2) delim off gettydefs(4)
All times are GMT -4. The time now is 06:50 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy