Hi,
i have a line
tftp dgram udp wait nobody /usr/sbin/tcpd in.tftpd /tftpboott
in /etc/inet.conf file. ineed to replace nobody with root and /tftpboott with /flx/boot. i tried using sed ,but i could not change both of them. can you please help me to do this.
Edit:... (7 Replies)
Hi,
I have a file content like:
:
:
<span class="ColorRed"> 1.23</span><br>
:
:
the value 1.23 will be changed from time to time, and I want to use a shell script command, e.g grep or sed, to retrieve only the value, how to do it?
Thanks!
Victor (6 Replies)
Hello everybody,
I have some files in directory. I want to shift 3 characters of filenames to the right at a same time.
for example, I have filenames like $ls -l
01_2000.G3.input.txt
02_2000.G3.input.txt
...,
...,
04_2010.G3.input.txt
I want to change the filenames like... (3 Replies)
echo apple orange
What command would I use to grab the common letters out of both words?
output would be
a and e are both common in these 2 words!
Please no ruby explanations and please no full answers I just need to know how to get started!
Could I sed out a and if the variable =aa... (3 Replies)
hello,
i 'd like your help about a bash script which:
1. finds inside the html file (it is attached with my post) the code number of the Latest Stable Kernel,
2.finds the link which leads to the download location of the Latest Stable Kernel version,
(the right link should lead to the file... (3 Replies)
Hi
I want to write a shell script to print only those words from a file whose beginning
and last character are same.
Please help.
Thanks,
vini (5 Replies)
I need a shell programing script for "double words"
Available Data:
This is a shell script that is used to find the ten character words in the machine local
dictionary (/usr/dict/words) that are made up with two valid english words that are
five character long. This means that each of the... (0 Replies)
Hello,
I have output like below:
-----------------------------------------------------------------------------
Group 'group1' on system 'system01' is running.
-----------------------------------------------------------------------------
Group 'group2' on system 'system01' is running.... (4 Replies)
Hi :)
I have a .txt file with thousands of words.
I was wondering if i could use a simple sed or awk command to convert / replace all words in the text file to Title Case format ?
Example:
from:
this is line one
this is line two
this is line three
to desired output:
This Is Line... (8 Replies)
Hello All,
I have python script that pulls out a keyword from the data set. The data set contains 3 columns,
1. SysID 2. ID 3. Comment Section.
This script just pulls out keyword for certain extent from Comment section and display only keyword, not any other columns.
Can someone help... (1 Reply)
Discussion started by: jg355187
1 Replies
LEARN ABOUT X11R4
rstart
RSTART(1) General Commands Manual RSTART(1)NAME
rstart - a sample implementation of a Remote Start client
SYNOPSIS
rstart [-c context] [-g] [-l username] [-v] hostname command args ...
DESCRIPTION
Rstart is a simple implementation of a Remote Start client as defined in "A Flexible Remote Execution Protocol Based on rsh". It uses rsh
as its underlying remote execution mechanism.
OPTIONS -c context
This option specifies the context in which the command is to be run. A context specifies a general environment the program is to
be run in. The details of this environment are host-specific; the intent is that the client need not know how the environment must
be configured. If omitted, the context defaults to X. This should be suitable for running X programs from the host's "usual" X
installation.
-g Interprets command as a generic command, as discussed in the protocol document. This is intended to allow common applications to
be invoked without knowing what they are called on the remote system. Currently, the only generic commands defined are Terminal,
LoadMonitor, ListContexts, and ListGenericCommands.
-l username
This option is passed to the underlying rsh; it requests that the command be run as the specified user.
-v This option requests that rstart be verbose in its operation. Without this option, rstart discards output from the remote's rstart
helper, and directs the rstart helper to detach the program from the rsh connection used to start it. With this option, responses
from the helper are displayed and the resulting program is not detached from the connection.
NOTES
This is a trivial implementation. Far more sophisticated implementations are possible and should be developed.
Error handling is nonexistent. Without -v, error reports from the remote are discarded silently. With -v, error reports are displayed.
The $DISPLAY environment variable is passed. If it starts with a colon, the local hostname is prepended. The local domain name should be
appended to unqualified host names, but isn't.
The $SESSION_MANAGER environment variable should be passed, but isn't.
X11 authority information is passed for the current display.
ICE authority information should be passed, but isn't. It isn't completely clear how rstart should select what ICE authority information
to pass.
Even without -v, the sample rstart helper will leave a shell waiting for the program to complete. This causes no real harm and consumes
relatively few resources, but if it is undesirable it can be avoided by explicitly specifying the "exec" command to the shell, eg
rstart somehost exec xterm
This is obviously dependent on the command interpreter being used on the remote system; the example given will work for the Bourne and C
shells.
SEE ALSO rstartd(1), rsh(1), A Flexible Remote Execution Protocol Based on rsh
AUTHOR
Jordan Brown, Quarterdeck Office Systems
X Version 11 rstart 1.0.4 RSTART(1)