Hello,
i have some troubles with someone who keeps posting porno links on my website ;)
I warned him because of it but since he only seems to like the attention i wanted to give him an IP ban. Anyone knows how i can place an IP ban with telnet on my unix server? (3 Replies)
Hiya I am fairly new to UNIX and have been asked to write some scripts....
I am working in the korn shell. What I am trying to do is to go through a delimited file:
Testingline1;test;test
Testingline2;test;test
and place the lines into an Array so:
Array = Testingline1;test;test
Array... (4 Replies)
Hi,
I would like to get 5th field from this output using FS.
Filesystem 1024-blocks Used Available Capacity Mounted on
172.29.138.222:/vol/vol0 311936256 2565248 309371008 1% /tmp/test
My command is
df -kP | awk ' BEGIN { FS="" ; } { print $5 ; } '
For some... (5 Replies)
Hi all,
I need to place a custom configuration file for a script/program that will likely be sitting in /usr/sbin, but I am unsure of exactly where to place it. In RHEL was told the config file should be in /etc/sysconfig, but no such directory exists in Solaris. Will my config file simply sit... (5 Replies)
Hello -
I am running Linux. I want to place a comment char at the beginning of a line in a file. For example:
testvar=`grep username /etc/people
sed -e 's/$testvar/#$testvar/g' /etc/people
I cannot get the above commands to put a comment at the beginning of the line.
Any... (3 Replies)
Hi All,
I have a total of ten file to open in the Perl script and i am using a for loop to open each file and capture some strings inside each file.
Unfortunately, i encounter the below syntax error.
I think there should be something wrong with this term reports_${counting}_${_}.txt but i do... (4 Replies)
Hi,
I have a small requriement to change a part of string in a sentence starting with "ho".
For E.g I am having the following statements:
I want to go to home,beach.
I will never go to that horrible,place.
Now I want to replace the string starting with "ho" in the above 2... (3 Replies)
I have a basic tail/grep question. I have logs that are generated & kept in a directory called alert_audit. I am using "tail" to see the logs that are coming in, but I only need logs that contain the IP address 10.249.185. or 10.247.231.
Here is the command I have, but it pulls all IP... (3 Replies)
Hello all,
I am trying to make a script that will apply a substitution to any number of files given on the command line.
Example would be
~/Unix/script/subst car boat myFile1.txt myFile2.txt myFile3.txt
This is the code I have so far but it does not function as needed.
PAT=$1
shift... (10 Replies)
Discussion started by: ramn214
10 Replies
LEARN ABOUT DEBIAN
dradio
DRADIO(1) DRadio Manuals DRADIO(1)NAME
dradio - Danmarks Radio netradio player
SYNOPSIS
dradio [--nologo] [--notitle] [MPLAYER_OPTIONS]...
dradio --help, -h
dradio --version
DESCRIPTION
dradio is a Danmarks Radio (DR) netradio, podcast, and TV player. It is a terminal based frontend to mplayer(1) that collects the available
channels/podcasts for convenient browsing.
OPTIONS
MPLAYER_OPTIONS
Options are passed to the mplayer child process, e.g. 'dradio -nocache' will turn off mplayer caching. See mplayer(1) for a descrip-
tion of the available options.
--help, -h
Print help message and exit.
--version
Print the version number and exit.
--nologo
Do not show DR logo.
--notitle
Do not try to update the title/icon text of the terminal with the currently playing menu item name.
KEYBOARD CONTROL
k/j or up/down
Navigate menu 1 item up/down.
ctrl-b/ctrl-f or pgup/pgdown
Navigate menu 1 page up/down.
/ and *
Decrease/increase volume.
< and >
Previous/next podcast.
left and right
Seek backward/forwards 1 minute in podcasts.
shift-left and shift-right
Seek backward/forward 10 minutes in podcasts.
t Toggle show DR logo.
p Toggle pause.
q Quit.
When playing streaming TV or video podcasts see mplayer(1) for keyboard controls.
FILES
~/.config/dradio/menu.xml
The menu configuration file. See dradio(5) for further details.
~/.config/dradio/out.log
mplayer stdout is redirected here.
~/.config/dradio/err.log
mplayer stderr is redirected here.
~/.config/dradio/input.conf
The mplayer input.conf configuration file. See mplayer(1) for further details.
http://www.dr.dk/netradio/wmp.asp
DR netradio direct links page.
http://www.dr.dk/Podcast
DR podcast direct links page.
AUTHOR
Jess Thrysoee <jess@thrysoee.dk>
SEE ALSO dradio(5), dradio-config(1), mplayer(1), ncurses(3NCURSES)DRadio JANUAR 2009 DRADIO(1)