06-30-2011
If you want to run those commands without a visible terminal, running /bin/sh instead of Terminal should provide the same result.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi mates,
i am trying to run a shell command from my C program in this case let is say the "ls" command. It copiles it okay, and even creates the new fork too. But seems to nothing is happening i mean it is not showing the result of the "ls" command.
I don't know wat i am doing wrong. Any... (1 Reply)
Discussion started by: abdul
1 Replies
2. Shell Programming and Scripting
I am running Mac OS X (10.5). I run the following script successfully in terminal in order to split an mp3 file into 3 smaller mp3 files...
split -b 8667k -a1 Monday.mp3 Levin-Hour_; ls Lev* | sed "s/.*/mv '&' '&.mp3'/g" | zsh
However, when I run a similar script within the Applescript editor... (2 Replies)
Discussion started by: tgaleza
2 Replies
3. Shell Programming and Scripting
I developed a script in Lingon (which is an automated script editor developed for OS X) that is used to automatically restart programs only if they crash. The script itself does just that, but I only want it to load if I'm going to use the specific application that it's designed to protect. In... (3 Replies)
Discussion started by: JFraser1
3 Replies
4. OS X (Apple)
I developed a script in Lingon (which is an automated script editor developed for OS X) that is used to automatically restart programs only if they crash. The script itself does just that, but I only want it to load if I'm going to use the specific application that it's designed to protect. In the... (2 Replies)
Discussion started by: JFraser1
2 Replies
5. Shell Programming and Scripting
I am new to shell scripting.
I tried to run a simple shell script using Cygwin terminal in Win XP env.
The script I have written is as follows -
#!/bin/bash
a=5
] && echo "true" || echo "false"
But when I execute the script, getting some confusing error. The error I am getting are - ... (3 Replies)
Discussion started by: linux_learner
3 Replies
6. Shell Programming and Scripting
The following command works perfectly in Terminal, but not in Applescript. (Returns "unknown token" error for square brackets.)
(new to site. sorry.)
I have an Applescript that is designed to find and remove any square-bracketed text, including the square brackets.
I ran the following code from... (1 Reply)
Discussion started by: Phillip Acosta
1 Replies
7. Shell Programming and Scripting
Hi freinds,
I have tried running a script through cron ,it is a shell script which calls a oracle procedure , problem here is that there is function in sql code which makes a external C call , this function is failing when running manually but works when run manually.
I have trouble shooted... (6 Replies)
Discussion started by: Jcpratap
6 Replies
8. Shell Programming and Scripting
Hi,
I do have an R script named KO.R. Basically reads thousands of files, whose name has a pattern that differs at a portion of the file name, List.txt.
Row_file1_mile.txt
Row_file2_mile.txt
Row_file3_mile.txt
...
...
Row_file1000_mile.txt
Below is a portion of my Rscript that reads... (4 Replies)
Discussion started by: Kanja
4 Replies
9. AIX
Hello every one.
I know little to nothing about AIX. Recently I have been assigned to an AIX project.
For some reason or another the find command is hanging the server.
Well it does not hand server per say, it just freezes my terminal session.
after running find, I waited up to 40 min and... (3 Replies)
Discussion started by: busi386
3 Replies
10. Shell Programming and Scripting
I have cygwin installed on windows server and when I do
echo $SHELL the output is
/bin/bash
I have created a ssh tunnel from this windows server through cygwin to ibm -i series which is running Q-shell.
I am trying to invoke a utility wsadmin (used for scripting) on ibm-i from the... (12 Replies)
Discussion started by: gaurav99
12 Replies
vte(1) User Commands vte(1)
NAME
vte - virtual terminal emulator
SYNOPSIS
vte [-2] [-A] [-a] [-B image] [-b] [-C] [-c command] [-D] [-d] [-f font] [-g] [-h] [-i] [-k] [-n] [-r] [-S] [-s] [-T] [-t terminal-type]
DESCRIPTION
vte is simply a window wrapped around the vte embeddable terminal emulation control, which does most of the work for gnome-terminal. vte is
used mainly to test the control. Most users do not need to use vte directly, but use gnome-terminal instead.
OPTIONS
The following options are supported:
-2 Toggle double buffering. Enabled by default.
-A Toggle antialiasing. The default is that of the current GTK+ default.
-a Toggle audible bell on/off. If audible bell is enabled, visible bell is disabled. If audible bell is disabled, visible bell
is enabled. Audible bell enabled by default.
-B image Use image as background.
-b Toggle cursor blinking. Enabled by default.
-C Open a "console" connection.
-c command Fork the specified command.
-D Use dingus clicking: as the cursor moves over text matching a certain pattern, the matched text is highlighted and the cur-
sor changes shape. Disabled by default.
-d Toggle update debugging. Disabled by default.
-f font Specify the font to use. Default font is "Sans 12".
-g Toggle whether to set geometry hints if font is changed. Enabled by default.
-h Toggle highlighting. Disabled by default.
-i Toggle whether to obey attempts to set the icon name, if applications running in the terminal request this.
-k Toggle whether to keep program running after GTK main loop. Disabled by default.
-n Specify the number of scrollback lines. Minumum number of scrollback lines is 100. Default number of scrollback lines is
100.
-r Toggle whether to set cursor color to pale red. Disabled by default.
-S Toggle launching a shell. Enabled by default.
-s Toggle whether to scroll background image along with text. This option is only useful when combined with the -B option.
Disabled by default.
-T Use transparent background. Overrides the -B option.
-t terminal-typeSpecify the terminal type to emulate.
EXTENDED DESCRIPTION
vte is designed to emulate the xterm program provided by the X Consortium. In turn, xterm is an almost complete emulation of the DEC VT102
terminal. vte supports the same extensions to VT102 as those provided by xterm, through special escape sequences.
xterm is an evolving program. Recent changes to xterm have been been incorporated into vte. This includes emulation of the newer DEC VT220
escape sequences.
EXAMPLES
Example 1: Launching the Virtual Terminal Emulator
example% vte
ENVIRONMENT VARIABLES
See environ(5) for descriptions of the following environment variables:
VTE_PROFILE_MEMORY Virtualize memory allocation for debugging purposes.
EXIT STATUS
The following exit values are returned:
0 Application exited successfully
>0 Application exited with failure
FILES
The following files are used by this application:
/usr/bin/vte Executable for virtual terminal emulator
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWvte |
+-----------------------------+-----------------------------+
|Interface stability |External |
+-----------------------------+-----------------------------+
SEE ALSO
gnome-terminal(1), xterm(1), libvte(3)
NOTES
Written by Johan Steyn, Sun Microsystems Inc., 2004.
SunOS 5.10 6 Sep 2004 vte(1)