Add the below entry at the end of you .profile (I'm assuming you are the only user who is interested in doing this):
Logout/login and it should work fine.
I've posted a reply to your other question which you posted in another thread. Please do not spawn multiple threads for same question - its wastage of everyone's time.
How would I combine something like:
localserver# ssh remoteserver
remoteserver# find blah blah blah
into a one liner that would ssh to the remote server and run the find command, so I could put it in a script to automatically go out and run things on remote servers with out needed user... (2 Replies)
Hi,
example of Unix / Linux dialog utility is below.
I am going to use dialog as simple GUI for testing of a modem.
So I need to combine some dialog boxes into one.
I need to have input box, output box, info box, dialog box,
radiobox as in any standard program with graphical user... (2 Replies)
I'm writing a script (C shell) to search for a pattern in file. For example
scriptname pattern file1 file2 filenN
I use for loop to loop through arguments argv, and it does the job if all arguments are supplied. However if only one argument is supplied (in that case pattern ) it should ask to... (5 Replies)
Hello,
I am trying to learn how to pass something more than a one-command startup for gnome-terminal.
I will give an example of what I'm trying to do here:
#! /bin/bash
#
#TODO write this for gnome and xterm
USAGE="
______________________________________________
${0##*/}
run... (0 Replies)
Hi everyone,
when executing this command in unix:
echo "WM7 Fatal Alerts:", $(cat query1.txt) > a.csvIt works fine, but running this command in a shell script gives an error saying that there's a syntax error.
here is content of my script:
tdbsrvr$ vi hc.sh
"hc.sh" 22 lines, 509... (4 Replies)
I'm reading about debugging aids in bash and have come across the set command. It says in my little book that an addition to typing
set
you can also use them "on the command line when running a script..." and it lists this in a small table:
set -o option Command Line... (5 Replies)
Hi ,
Am trying to send mail using the mail command, but the mail command is working but its not sending automatically after pressing .(dot) in the command prompt it sends . How to achieve that. Also it showing the below line after pressing the dot .
/home/abc1/dead.letter... Saved message in... (5 Replies)
I understand that the SED command reads all the lines in the file before adding a required line to the end of the file.
Is there another command that adds a line to the end of files without reading the entire file....
SED is increasing the processing time as the number of lines in each of the... (1 Reply)
Dialog(3I) InterViews Reference Manual Dialog(3I)NAME
Dialog - popup dialog interactor
SYNOPSIS
#include <InterViews/dialog.h>
DESCRIPTION
A dialog is an interactor that handles input for a dialog box. The dialog layout is specified by a separate interactor passed to the dia-
log constructor. The dialog completes when the value of an associated button state becomes non-zero. This button state is typically set
by one or more buttons in the component interactor.
PUBLIC OPERATIONS
Dialog(ButtonState*, Interactor*, Alignment = Center)
Construct a new dialog with the given button state and interactor. The alignment is used by the Popup operation.
virtual boolean Accept()
Set the dialog button state to zero and loop reading events until the button state's value becomes non-zero. Each event is passed
to is target's Handle operation. Return true if the value is one, false otherwise.
virtual boolean Popup(Event&, boolean placed = true)
Insert the dialog into the world associated with the given event. If placed is true, align the dialog around the event's (x, y)
coordinate. Otherwise, the dialog is inserted without specifying a position. Popup then calls the Accept operation and returns its
value.
SEE ALSO Button(3I), Interactor(3I), World(3I)InterViews 11 August 1988 Dialog(3I)