Sponsored Content
Operating Systems OS X (Apple) BuDop's mbp:~ budop$ changes to dhcp-v062-202:~ budop$...not quite why? Post 302899601 by xbin on Wednesday 30th of April 2014 10:15:38 AM
Old 04-30-2014
Quote:
Why did my terminal name changed?
Because the host name is not set on your computer. Bonjour services is setting the host name.
Code:
$ scutil --get HostName
HostName: not set

The scutil manual will explain how you can set the host name.
 

5 More Discussions You Might Find Interesting

1. AIX

change user id from 200 to 202

Hi AIX Experts, i need your help in this issue, i want to change user id of xyz user from 200 to 202 note that this xyz user owner for many files and directories so my issue how to change the user id from 200 to 202 and the files still under his ownership this is an urgent work ,... (4 Replies)
Discussion started by: sh_day1
4 Replies

2. Homework & Coursework Questions

310-202 question

Hi guys, i need help : The system admin wants to configure user_attr(4)sources in the /etc/nsswitch.conf Which line needs to be configured? a: passwd b: user_attr The answer is A but wait !! I did a man nsswitch.conf and user_attr is a valid database ( at least for soalris 10) ,... (0 Replies)
Discussion started by: binary0011
0 Replies

3. Solaris

Solaris 10 310-202 Question

Hello All, Below I'm posting a question regarding a possible Solaris 10 310-202 exam question that I think is wrong. I do not agree that the answer is B. The inetadm command does not even have a flag/option of -a. Can anyone provide any assistance? Thanks! You've tried connecting to... (2 Replies)
Discussion started by: VeeDub78
2 Replies

4. IP Networking

Get DHCP relay interfaces IP address using DHCP

Hi All , please view the set up below: ------------------------------------------------------------------- | DHCP Server |-----------| ROUTER & |-----------| Clients | | 192.168.99.1 | - -<eth1>| DHCP-RELAY|<eth2>-- | 192.168.88.X | ... (2 Replies)
Discussion started by: gdangoor
2 Replies

5. OS X (Apple)

Let your iMac/MBP detect a burglar whilst idle...

Hi folks... (Apologies for typos.) I have been working on a very simple MacBook_Pro/iMac centric project. I have called it Spy . If you just want to test for fun you only need ./Spy and this defaults to a 5 second video with Medium sensitivity from the working directory whre Spy is. (Just... (1 Reply)
Discussion started by: wisecracker
1 Replies
SCUTIL(8)						    BSD System Manager's Manual 						 SCUTIL(8)

NAME
scutil -- Manage system configuration parameters SYNOPSIS
scutil scutil --prefs [preference-file] scutil -r [-W] { nodename | address | local-address remote-address } scutil -w dynamic-store-key [-t timeout] scutil --get pref scutil --set pref [newval] scutil --dns scutil --proxy scutil --nc nc-arguments DESCRIPTION
Invoked with no options, scutil provides a command line interface to the "dynamic store" data maintained by configd(8). Interaction with this data (using the SystemConfiguration.framework SCDynamicStore APIs) is handled with a set of commands read from standard input. A list of the available commands is available by entering the help directive. The --prefs option provides a command line interface to the [raw] stored preference data. Interaction with this data (using the SystemCon- figuration.framework SCPreferences APIs) is handled with a set of commands read from standard input. A list of the available commands is availble by entering the help directive. The -r option provides a means of checking the network reachability of a host, an IP address, or a pair of local and remote IP addresses. Network "reachability" is a term that indicates whether network communication is possible between the current host and the specified host. The -w option provides a means of checking for (and optionally waiting for the creation of or posting of a notification to) a dynamic store key. The --get and --set options provide a means of reporting and updating a select group of persistent system preferences. The --dns option reports the current DNS configuration. The first listed resolver(5) configuration is considered to be the "default" config- uration. Additional "supplemental" configurations follow. Those containing a "domain" name will be used for queries matching the specified domain. Those without will be used as a "default" configuration in addition to the first listed. The --proxy option reports the current system proxy configuration. The --nc option provides a set of commands for monitoring and interacting with VPN connections. Use --nc help for a full list of commands. OPTIONS
-r [-W] { nodename | address | local-address remote-address } Check the network reachability of the specified host name, IP address, or a pair of local and remote IP addresses. One or more of the following strings will be reported to standard output. Not Reachable The specified nodename/address cannot be reached using the current network configuration. Reachable The specified nodename/address can be reached using the current network configuration. Transient Connection The specified nodename/address can be reached via a transient (e.g. PPP) connection. Connection Required The specified nodename/address can be reached using the current network configuration but a connection must first be established. As an example, this status would be returned for a dialup connection that was not currently active but could handle network traffic for the target system. Connection Automatic The specified nodename/address can be reached using the current network configuration but a connection must first be established. Any traffic directed to the specified name/address will initiate the connection. Local Address The specified nodename/address is one associated with a network interface on the system. Directly Reachable Addresss Network traffic to the specified nodename/address will not go through a gateway but is routed directly to one of the interfaces on the system. The reachability can also be monitored by specifying the -W (watch) option. This will result in the current status being reported as well as the status when/if the network configuration changes. A zero exit status will be returned when the reachability status is reported correctly. A non-zero exit status will be returned if errors are detected with an error reported to standard error. -w dynamic-store-key [-t timeout] Check if the specified key exists in the "dynamic store" data maintained by configd(8). If present, scutil will return with a zero exit status. If not present, scutil will wait for the specified time for data to be associated with or a notification to be posted using the key. A non-zero exit status will be returned if the key was not created/posted within the specified time. scutil will wait indefinitely if a timeout of 0 seconds is specified. The default timeout is 15 seconds. --get pref Retrieves the specified preference. The current value will be reported on standard output. Supported preferences include: ComputerName The user-friendly name for the system. LocalHostName The local (Bonjour) host name. HostName The name associated with hostname(1) and gethostname(3). --set pref [newval] Updates the specified preference with the new value. If the new value is not specified on the command line then it will be read from standard input. Supported preferences include: ComputerName LocalHostName HostName The --set option requires super-user access. --dns Reports the current DNS configuration. --proxy Reports the current proxy configuration. --nc nc-arguments Provides a set of commands for monitoring and interacting with VPN connections. Use --nc help for a full list of commands. SEE ALSO
configd(8) HISTORY
The scutil command appeared in Mac OS X Public Beta. Mac OS X January 23, 2008 Mac OS X
All times are GMT -4. The time now is 06:04 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy