How to set the time zion

Answers were Sorted based on User's Feedback



How to set the time zion..

Answer / sbrahman75

# /etc/default/init

TZ=

Is This Answer Correct ?    1 Yes 0 No

How to set the time zion..

Answer / ramunix123

You can change the time zone in below file.


bash-3.00# cat /etc/default/init
#
# Copyright 1992, 1999-2002 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#ident "@(#)init.dfl 1.7 02/12/03 SMI"
#
# This file is /etc/default/init. /etc/TIMEZONE is a symlink to this file.
# This file looks like a shell script, but it is not. To maintain
# compatibility with old versions of /etc/TIMEZONE, some shell constructs
# (i.e., export commands) are allowed in this file, but are ignored.
#
# Lines of this file should be of the form VAR=value, where VAR is one of
# TZ, LANG, CMASK, or any of the LC_* environment variables. value may
# be enclosed in double quotes (") or single quotes (').
#
TZ= --------------- <==========================
CMASK=022
LC_COLLATE=en_US.ISO8859-15
LC_CTYPE=en_US.ISO8859-1
LC_MESSAGES=C
LC_MONETARY=en_US.ISO8859-15
LC_NUMERIC=en_US.ISO8859-15
LC_TIME=en_US.ISO8859-15

Is This Answer Correct ?    1 Yes 0 No

How to set the time zion..

Answer / sachin

vi /etc/timezone
your_timezone your_domain

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More Solaris Commands Interview Questions

how to find NIC card type. is there any command to display the card type when it not plumbed.

4 Answers   Thomson Reuters,


i dont have access to the FTP server, what is the problem and how to trouble shoot?

1 Answers   Wipro,


What is mean by paging & server average time.

1 Answers  


How to review IP as weel as port no in solaris?

3 Answers  


How will compare 2 host patches

1 Answers  






what is differnce between boot -s and boot -S ?

3 Answers  


How to remove the volume

1 Answers  


how to search hide files

14 Answers   TCS,


How will you clear the soft error on disk

1 Answers  


what is mean by system calls

1 Answers  


Hi I wanted to know what command can I use to perform a rescan in Solaris10 u4/u5 64 bit machine. I know once the disks are added we can perform a rescan using the following commands drvconfig-->disks--> cfgadm OR devfsadm But they will detect the disks and once the disks are remove the entries are still shown unless the disks are removed. So is there another command or a script that could help me find that disks were removed from my solaris machine.

2 Answers  


what is cluster.

5 Answers  


Categories
  • Solaris Commands Interview Questions Solaris Commands (360)
  • Solaris Threads Interview Questions Solaris Threads (9)
  • Solaris IPC Interview Questions Solaris IPC (30)
  • Solaris Socket Programming Interview Questions Solaris Socket Programming (3)
  • Solaris System Calls Interview Questions Solaris System Calls (25)
  • Solaris General Interview Questions Solaris General (170)
  • Solaris AllOther Interview Questions Solaris AllOther (297)