Sponsored Content
Top Forums Shell Programming and Scripting Writing a bash script using host Post 302678403 by neutronscott on Friday 27th of July 2012 08:18:58 PM
Old 07-27-2012
your file must be different than what you shown then...
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Problems writing bash script to unzip files

I'm getting the following errors when I try to write a script to unzip some zip files. When I use the free trial copy of the commerical winzip program, however, they work fine. When I use -l or -t on unzip it indicates no errors. When I use the -o switch interactively from the bash command line it... (1 Reply)
Discussion started by: siegfried
1 Replies

2. Shell Programming and Scripting

Writing Bash script

Could anyone help me to Write a script in BASH Shell to determine the percentage of system disk space you are using. (1 Reply)
Discussion started by: boris
1 Replies

3. UNIX for Dummies Questions & Answers

Bash Script to check Remote Host Connection

Hi all, Can anyone tell/guide me how to check remote host is up/running using bash script? Thanks. Zulfiqar (5 Replies)
Discussion started by: zulfikarmd
5 Replies

4. Shell Programming and Scripting

Help with writing simple bash script

I want to write a bash script to: 1. Send an email from localhost to an external gmail account. (gmail then automatically forwards the message back to a pop account on the same server. 2. Script waits 3 minutes then checks to see if the email arrived, and if not, it sends an email to... (9 Replies)
Discussion started by: sallyanne
9 Replies

5. Homework & Coursework Questions

brand new user!.. Lost on BASH script writing

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: I have just gotten into writing bash scripts for a class, part of the assignment is to read and be able to tell... (4 Replies)
Discussion started by: Byrang
4 Replies

6. Shell Programming and Scripting

Bash script to Automate the Virtual Host creation process!!

Hi all, This is my sample code in /etc/httpd/conf.d/applications.conf file currently we are creating subdomain mannually for every new subdomain. I want to automate this process througs bash script , how its possible. <VirtualHost *:80> ServerName google.com ServerAlias google.com... (5 Replies)
Discussion started by: anishkumarv
5 Replies

7. Shell Programming and Scripting

Mkbootfs writing to stdout in bash script

Hi, I need to automate some repacking tasks of a boot image for Android When in command line, I can use this command: mkbootfs /path/to/root > /path/to/ramdisk-recovery.cpio;However, if I try to run the command from a shell script under Ubuntu, it fails and outputs to stdout instead of the... (27 Replies)
Discussion started by: Phil3759
27 Replies

8. Shell Programming and Scripting

Question about writing a bash script

Hello, I want to write a bash script to delete the content after '#'. However, if '#' appears in a string with "", ignore this. For example, input file: test #delete "test #not delete" Output file: test "test #not delete" Does anyone know how to write this script? Thanks (1 Reply)
Discussion started by: jeffwang66
1 Replies

9. Shell Programming and Scripting

Writing hive scripts in bash script file

Hi, I wanted to load data from HDFS to HIVE by writing bash script. Description: I have written a bash script to validate the data and loaded validated data from local file system to HDFS. Now in the same bash script i wanted to load the data from HDFS to HIVE. How can i do it ? Also how tyhe... (2 Replies)
Discussion started by: shree11
2 Replies

10. Shell Programming and Scripting

Telnet Bash Script (Connection closed by foreign host.)

Hello Everyone, My following script is giving me problems, when the SIP trunk goes down and the telnet session is started and just when the command is about to complete the connection is closed then script restarts. I have noticed that as soon the script types in "sys re" or "sys rebo" or... (6 Replies)
Discussion started by: jeetz
6 Replies
tixScrolledText(n)					       Tix Built-In Commands						tixScrolledText(n)

__________________________________________________________________________________________________________________________________________________

NAME
tixScrolledText - Create and manipulate Tix ScrolledText widgets SYNOPSIS
tixScrolledText pathName ?options? STANDARD OPTIONS
-anchor -background -cursor -relief -borderWidth See the options manual entry for details on the standard options. WIDGET-SPECIFIC OPTIONS [-height height] Specifies the desired height for the window, in pixels. [-scrollbar scrollbar] Specifies the display policy of the scrollbars. The following values are recognized: auto ?+x? ?-x? ?+y? ?-y? When -scrollbar is set to "auto", the scrollbars are shown only when needed. Additional modifiers can be used to force a scrollbar to be shown or hidden. For example, "auto -y" means the horizontal scrollbar should be shown when needed but the vertical scrollbar should always be hidden; "auto +x" means the vertical scrollbar should be shown when needed but the hori- zontal scrollbar should always be shown, and so on. both Both scrollbars are shown none The scrollbars are never shown. x Only the horizontal scrollbar is shown; y Only the vertical scrollbar is shown. [-width width] Specifies the desired width for the window, in pixels. SUBWIDGETS
Name: hsb Class: Scrollbar The horizontal scrollbar subwidget. Name: text Class: Text The Text subwidget inside the ScrolledText widget. Name: vsb Class: Scrollbar The vertical scrollbar subwidget. _________________________________________________________________ DESCRIPTION
The tixScrolledText command creates a new window (given by the pathName argument) and makes it into a ScrolledText widget. Additional options, described above, may be specified on the command line or in the option database to configure aspects of the ScrolledText widget such as its cursor and relief. WIDGET COMMANDS
The tixScrolledText command creates a new Tcl command whose name is the same as the path name of the ScrolledText widget's window. This command may be used to invoke various operations on the widget. It has the following general form: pathName option ?arg arg ...? PathName is the name of the command, which is the same as the ScrolledText widget's path name. Option and the args determine the exact behavior of the command. The following commands are possible for ScrolledText widgets: pathName cget option Returns the current value of the configuration option given by option. Option may have any of the values accepted by the tixScrolledText command. pathName configure ?option? ?value option value ...? Query or modify the configuration options of the widget. If no option is specified, returns a list describing all of the available options for pathName (see Tk_ConfigureInfo for information on the format of this list). If option is specified with no value, then the command returns a list describing the one named option (this list will be identical to the corresponding sublist of the value returned if no option is specified). If one or more option-value pairs are specified, then the command modifies the given widget option(s) to have the given value(s); in this case the command returns an empty string. Option may have any of the values accepted by the tixScrolledText command. pathName subwidget name ?args? When no additional arguments are given, returns the pathname of the subwidget of the specified name. When no additional arguments are given, the widget command of the specified subwidget will be called with these parameters. KEYWORDS
Tix(n) Tix 4.0 tixScrolledText(n)
All times are GMT -4. The time now is 08:18 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy