11-29-2011
Sounds good. Calling that variable would simply require a $USER_ID correct?
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello
I have multiple accounts that running application that uses unique port number
I want to generate this port from some sid number that stays constant for every user account , is there any place in the system
that generate number that is unique to the account ?
thanks (0 Replies)
Discussion started by: umen
0 Replies
2. Shell Programming and Scripting
Hi All,
Am using the following command to add a user in Unix box
useradd -d <default_path> -g 90 -p <pwd for the user> <user_name>
But am getting an error while using this command by root user.Let me know if this cmd is right or else is there any other command to add a user in unix... (9 Replies)
Discussion started by: Ashok_oct22
9 Replies
3. Shell Programming and Scripting
hello,
does anybody can give me a hint on how to generate a lot of numbers which are not identically via scripting etc? (7 Replies)
Discussion started by: xrays
7 Replies
4. Shell Programming and Scripting
I have a data file in the format of
1234 xxx
1234 xxx
1234 xxx
1234 xxxI want to be able to calculate the following -
COLUMN1+((LINENUMBER-1)/365)
The output needs to preserve the 2nd column -
1234 xxx
1234.00274 xxx
1234.00548 xxx
What is the best way to do this? I am somewhat... (9 Replies)
Discussion started by: ncwxpanther
9 Replies
5. Shell Programming and Scripting
Hi,
I have a data file with :
01/28/2012,1,1,98995
01/28/2012,1,2,7195
01/29/2012,1,1,98995
01/29/2012,1,2,7195
01/30/2012,1,1,98896
01/30/2012,1,2,7083
01/31/2012,1,1,98896
01/31/2012,1,2,7083
02/01/2012,1,1,98896
02/01/2012,1,2,7083
02/02/2012,1,1,98899
02/02/2012,1,2,7083
I... (1 Reply)
Discussion started by: himanish
1 Replies
6. Shell Programming and Scripting
Hi,
I want to generate 2000 mac address. Please let me know how to do so.
Perl script or there is some tool availlable wherein i can give the count and it will generate that many mac-address
Thanks,
Kriti (4 Replies)
Discussion started by: kriti
4 Replies
7. Shell Programming and Scripting
Hi,
I want 10000+ unique Audio file of approx 2MB each. How can i generate numerous audio files using shell script. Any tool, command or suggestions are welcome.
If i give one audio seed file then can we create numerous unique files with same seed file?
Any help is highly appreciable.... (11 Replies)
Discussion started by: sushil.kumar
11 Replies
8. Shell Programming and Scripting
We have the data looks like below in a log file.
I want to generat files based on the string between two hash(#) symbol like below
Source:
#ext1#test1.tale2 drop
#ext1#test11.tale21 drop
#ext1#test123.tale21 drop
#ext2#test1.tale21 drop
#ext2#test12.tale21 drop
#ext3#test11.tale21 drop... (5 Replies)
Discussion started by: Sanjeev G
5 Replies
LEARN ABOUT OSX
canvas_zoom
canvas::zoom(n) Variations on a canvas canvas::zoom(n)
__________________________________________________________________________________________________________________________________________________
NAME
canvas::zoom - Zoom control for canvas::sqmap
SYNOPSIS
package require Tcl 8.4
package require Tk 8.4
package require snit
package require uevent::onidle
package require canvas::zoom ?0.2.1?
::canvas::zoom pathName ?options?
_________________________________________________________________
DESCRIPTION
This package provides a widget to enable the user of a map display to control the zoom level.
API
::canvas::zoom pathName ?options?
Creates the zoom control widget pathName and configures it. The methods and options supported by the new widget are described in the
following sections.
The result of the command is pathName.
OPTIONS
-orient
The value for this option is either vertical, or horizontal, specifying the orientation of the major axis of the widget. The default
is vertical.
-levels
The value for this option is a non-negative integer. It specifies the number of zoom levels to support.
-variable
The value for this option is the name of a global or namespaced variable which is connected with the widget. changes to the zoom
level made the widget are propagated to this variable, and in turn changes to the variable are imported into the widget.
-command
This option specifies a command prefix. This callback will be invoked whenever the zoom level is changed. It is called with two
additional arguments, the zoom control widget, and the new zoom level, in this order.
METHODS
The widget supports no methods beyond the standard (configure, cget, etc.).
KEYWORDS
zoom
canvas 0.2.1 canvas::zoom(n)