It appears i cant connect linux VPS server via SSH or i cant SCP any file to it and i cant wget any file TO it (from inside it) while CSF (Config Server Firewall, LFD is running. Just after isntall in default configuration and after changing TESTING mode to LIVE mode.
Trying to wget & install... (1 Reply)
Hi all,
I am trying write a shell script to automate the installation of a program, but during the process of the installation, the installation program requires the user to scroll through 10 pages of a license agreement. Since this is coming from stdout and is not a prompt, I am unable to send... (4 Replies)
Perderabo *
Unix Daemon
*
Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,071
Using head and tail like that is terribly inefficient. I decided to try a rewrite. Sheesh...I spent all morning on this....
Code:
#! /usr/bin/ksh
#
# scroller --- display text, but sleep every... (0 Replies)
SM(6) Games Manual SM(6)NAME
sm - Displays a short text fullscreen
SYNOPSIS
sm [OPTIONS] [text|-]
DESCRIPTION
Screen Message will display a given multi-line message as large as possible, fullscreen and black on white. You can specify the text either
when launching sm, or edit it while the program is running.
After a short timeout, the text entry and the quit button will disappear, leaving nothing on the screen but the entered text. To continue
entering text, just start typing or (left-)click anywhere on the screen.
To clear the displayed text, press Escape.
To quit the program, press Ctrl-Q or press the button.
OPTIONS
[text] Text to display at start up. Defaults to ":-)". If "-" is passed to sm, it will read the text to display from stdin.
-f, --foreground=colordesc
Define a different color to use for the foreground of the text to display than black. The text string can be in any of the forms
accepted by XParseColor; these include name for a color from rgb.txt, such as DarkSlateGray, or a hex specification such as #3050b2
or #35b.
-b, --background=colordesc
Define a different color to use for the background of the text to display than white. For possible values, see above.
-n, --font=fontspec
Define a different font to use than the default sans-serif font of your system. The fontspec be the complete name for a truetype
font (like "DejaVu Sans" or "Bitstream Vera Serif") or just a short font family specification ("serif", "sans-serif").
-r, --rotate=rotation
Rotates the display by rotation*90 degrees counter-clock-wise. So -r 1 rotates the display to the left, and -r 2 puts it upside
down.
-- (Double dash) End option parsing. This is used to be able to actually hand over text that starts of with an dash.
-h, --help
This option will give you a short usage message summarizing the recognized options and quits.
-V, --version
This prints the project name together with its version number quits.
AUTHOR
This manual page was written by Joachim Breitner <mail@joachim-breitner.de> and updated by Gerfried Fuchs <rhonda@deb.at> to reflect addi-
tions for commandline option handling.
August 05, 2008 SM(6)