10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I tried to run a command which simply generates SSH key with out prompting password.
After several trails , got the below command to run the script :
ssh-keygen -t rsa -N "" -f id_rsa
-N "" tells it to use an empty passphrase (the same as two of the enters in an interactive script)
-f... (0 Replies)
Discussion started by: ulaxmi
0 Replies
2. Shell Programming and Scripting
Hi guys,
I am wanting to create a script that will logon to HackThisSite.org and complete Programming Mission 11. You can find a link to this mission here for your reference:
www hackthissite org/missions/prog/11/
The following is what I have so far:
#!/bin/bash
USER="myUsername"... (0 Replies)
Discussion started by: spooke
0 Replies
3. Shell Programming and Scripting
Hello,
I have a scenario for which I am trying to write a shell script and I have a question regarding the same. Here's the situation:
I am trying to copy a directory which consists of a few sub-directories and .c and .dat extension files say n number of times so that the copied file have... (3 Replies)
Discussion started by: corntown118
3 Replies
4. UNIX for Dummies Questions & Answers
Testing for the presence/absence of a pattern in a file, using /bin/sh:
while read a;
do
b="${a##*pattern*}";
;
done < file
This returns 0 if there's a match. That signal ($?) can then be used outside the loop.
However this method reads through the whole file, even if the match... (2 Replies)
Discussion started by: uiop44
2 Replies
5. Shell Programming and Scripting
HI all,
I am attempting to use the scp statemet in a shell script that I am writing
I need to have the user of the script enter a password at the time of the shell script running.I have the following questions?
1) how do i disable the automatic text echo when the user is entering the... (1 Reply)
Discussion started by: Segwar
1 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I am assaigning the output to the variable outp and when i try to loop thru the variable i see the original content $OUTPUT also in the array outp.
I dont want to have the original content in the array outp.
Please reply.
outp=$(echo $OUTPUT | awk '{FS = "|"}{
for(i=0;i<NF;i++)... (8 Replies)
Discussion started by: vijaykrc
8 Replies
7. Shell Programming and Scripting
If I did indeed grep something out of it, why woudln't $result show nothing?
When I do $? , it does show success...
What is the proper syntax so that $result shows actual thing it's grepping out?
result=`(ssh $host tail -1 /something/somethingelse) | egrep -i "value" >dev/null`
#echo... (3 Replies)
Discussion started by: convenientstore
3 Replies
8. Shell Programming and Scripting
please give the difference between AIX shell scripting and Unix shell scripting. (2 Replies)
Discussion started by: haroonec
2 Replies
9. Shell Programming and Scripting
To anyone who can help greetings,
I am a beginner at Unix shell scripting.
I need to know how to use the command line tool "itstat".
I understand it's application, however I cannot find any additional information.
Any assistance will be greatly appreciated. (3 Replies)
Discussion started by: tech2040
3 Replies
10. Shell Programming and Scripting
To anyone who can help greetings,
I am a beginner at Unix shell scripting and am taking a class.
The assignment question is as follows:
use a command-line tool named "itstat" which will display the resolution of an image file and some other lines of information. It accepts a list of image... (1 Reply)
Discussion started by: tech2040
1 Replies
xorp(1) General Commands Manual xorp(1)
NAME
xorpsh -- XORP Command Shell
SYNOPSIS
xorpsh [-c command] [-t directory] [-e] [-h] [-v]
DESCRIPTION
This manual page documents briefly the xorpsh command.
This manual page was written for the Debian distribution because the original program does not have a manual page.
xorpsh is the command used to interact with a eXtensible Open Router Platform (XORP) router. This command starts up a command line inter-
face (CLI), that allows the configuration of the router and monitoring of the router state.
The xorpsh command provides an interactive command shell to a XORP user, similar in many ways to the role played by a Unix shell. In a
production router xorpsh might be set up as an user's login shell - they would login to the router via ssh and be directly in the xorpsh.
It can also be run directly from the Unix command line.
xorpsh should normally be run as a regular user; it is neither necessary or desirable to run it as root. If an user is to be permitted to
make changes to the running router configuration, that user needs to be in the Unix group xorp.
The Debian package installation automatically sets up both a xorp user and a xorp group to which this user belongs. However, any user can
run the xorpsh command unless locally restricted by the administrator.
OPTIONS
xorpsh allows the following options:
-h Show summary of options.
-v Print verbose information.
-c command
Specify command(s) to execute.
-t directory
Specify templates directory.
-e Exit immediately if cannot connect to the rtrmgr
SEE ALSO
xorp_rtrmgr (8)
This program is documented fully in the Xorp User Manual, chapter Command Structure, available at /usr/share/doc/xorp-doc/ in Debian sys-
tems when the xorp-doc package is installed.
AUTHOR
XORP is Copyright (c) 2001-2009 XORP, Inc.
This manual page was written by Javier Fernandez-Sanguino jfs@debian.org for the Debian system (but may be used by others). For licensing
details please see /usr/share/doc/xorp/copyright.
xorp(1)