04-09-2010
Changing network parameter in Existing OS image
Hi , Can some one tell me , is there a way to change the existing network parameter in existing OS image , or do i have to create a new image to have new network parameters .
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
On solaris and irix systems, I'm using csh in an existing xterm or dterm and would like to change the text colors. How do I accomplish this?
Thanks (1 Reply)
Discussion started by: fjc
1 Replies
2. Solaris
Hi gurus
Could anybody tell me that what are the kernal parameter of network interface in solaris
Regards (3 Replies)
Discussion started by: girish.batra
3 Replies
3. Ubuntu
Sorry. I know this has been asked before but I am not finding anything that works and after a couple of days I am getting frustrated.
I am using Ubuntu 10.04 i386
I know how to change the Grub menu image. I have the login screen image and theme changed as well with GDM. What I am trying to... (2 Replies)
Discussion started by: Nix_Cola
2 Replies
4. UNIX for Dummies Questions & Answers
Does anyone know how I can create a file like this:
blue 0
red 0
yellow 0
green 0
orange 0
blue 2
red 2
yellow 2
green 2
orange 2
blue 4
red 4
yellow 4
green 4
orange 4
blue 6
red 6 (5 Replies)
Discussion started by: cosmologist
5 Replies
5. Solaris
Hello
I have just install solaris via virtualbox on my desktop .
The network is not working I mean i would like to upgarde there some more binaries , is it ever possible if its image? if yes can anybody help me with it how to run the network ? The VBox is running on xp box .
cheers (24 Replies)
Discussion started by: kvok
24 Replies
6. Solaris
Are the default password setting parameters (that are in /etc/login.defs) only used when a new local account is created on a server?
It looks to me like a 'useradd userid1' command will look to the /etc/login.defs file to get default values for MINWEEKS MAXWEEKS and PASSLENGTH. If the parms are... (2 Replies)
Discussion started by: msdjunk
2 Replies
7. Solaris
Hi
Administering Solaris Systems - Solaris 10 mostly.
If I change the /etc/default/passwd settings - E.G. to increase minimum passwd length, then what happens to existing users with passwords shorter than this. presumably they are not affected until next time they want to change password.
... (4 Replies)
Discussion started by: Mudshark
4 Replies
8. Shell Programming and Scripting
Hi all,
I am using following command:
perl program.pl input.txt output.txt CUTOFF 3 > groups_3.txt
containing program.pl, two files (input.txt, output.txt) and getting output in groups_3.txt:
But, I wish to have 30 files corresponding to each CUTOFF ranging from 0 to 30 using the same... (1 Reply)
Discussion started by: bioinfo
1 Replies
9. Shell Programming and Scripting
Hi,
I have a trigger file which looks like this abcdefgh_YYYYMMDD.trg The YYYYMMDD is the year, month and the date. So for example today the trigger file would be abcdefgh_20130703.trg similarly tomorrow it would be abcdefgh_20130704.trg
I need to write a script to check if the trigger file... (2 Replies)
Discussion started by: halfafringe
2 Replies
10. Shell Programming and Scripting
Hello,
I use a program using an input stream of parameters:
./my_prog.out <parameters.txt
The parameters.txt file has the following structure:
name
date
number1
number2
system
now imagine i would like to execute several times (>200) this program, but with different sets of number1... (2 Replies)
Discussion started by: shamsfield
2 Replies
image(n) Tk Built-In Commands image(n)
__________________________________________________________________________________________________________________________________________________
NAME
image - Create and manipulate images
SYNOPSIS
image option ?arg arg ...?
_________________________________________________________________
DESCRIPTION
The image command is used to create, delete, and query images. It can take several different forms, depending on the option argument. The
legal forms are:
image create type ?name? ?option value ...?
Creates a new image and a command with the same name and returns its name. type specifies the type of the image, which must be one
of the types currently defined (e.g., bitmap). name specifies the name for the image; if it is omitted then Tk picks a name of the
form imagex, where x is an integer. There may be any number of option-value pairs, which provide configuration options for the new
image. The legal set of options is defined separately for each image type; see below for details on the options for built-in image
types. If an image already exists by the given name then it is replaced with the new image and any instances of that image will
redisplay with the new contents. It is important to note that the image command will silently overwrite any procedure that may cur-
rently be defined by the given name, so choose the name wisely. It is recommended to use a separate namespace for image names
(e.g., ::img::logo, ::img::large).
image delete ?name name ...?
Deletes each of the named images and returns an empty string. If there are instances of the images displayed in widgets, the images
will not actually be deleted until all of the instances are released. However, the association between the instances and the image
manager will be dropped. Existing instances will retain their sizes but redisplay as empty areas. If a deleted image is recreated
with another call to image create, the existing instances will use the new image.
image height name
Returns a decimal string giving the height of image name in pixels.
image inuse name
Returns a boolean value indicating whether or not the image given by name is in use by any widgets.
image names
Returns a list containing the names of all existing images.
image type name
Returns the type of image name (the value of the type argument to image create when the image was created).
image types
Returns a list whose elements are all of the valid image types (i.e., all of the values that may be supplied for the type argument
to image create).
image width name
Returns a decimal string giving the width of image name in pixels.
Additional operations (e.g. writing the image to a file) may be available as subcommands of the image instance command. See the manual page
for the particular image type for details.
BUILT-IN IMAGE TYPES
The following image types are defined by Tk so they will be available in any Tk application. Individual applications or extensions may
define additional types.
bitmap Each pixel in the image displays a foreground color, a background color, or nothing. See the bitmap manual entry for more informa-
tion.
photo Displays a variety of full-color images, using dithering to approximate colors on displays with limited color capabilities. See the
photo manual entry for more information.
SEE ALSO
bitmap(n), options(n), photo(n)
KEYWORDS
height, image, types of images, width
Tk 4.0 image(n)