01-02-2012
yes works a treat - excellent.
please can I have comments on while code pls pls pls...
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
Would like to ask the experts if anyone knows how to run a script like this:
dtterm -title shell1
run process1 on shell1
dtterm -title shell2
run process2 on shell2
cheers!
p/s: sorry if i used the wrong forum, quite concussed after watching world cup for several nights; but I... (2 Replies)
Discussion started by: mochi
2 Replies
2. UNIX for Dummies Questions & Answers
Hello,
After seeing in a Unix cheatsheet that I could add commands into a file and run that file as a command to save on typing, i tried it with this:
#! /bin/csh
# Backup website excluding directories that do not change
rsync -e "ssh -p 2222" -axzvc --progress --stats --compress-level=9... (9 Replies)
Discussion started by: patwa
9 Replies
3. Solaris
Hi,
how do I start a script in run level 3 in solaris? (4 Replies)
Discussion started by: mokkan
4 Replies
4. UNIX for Dummies Questions & Answers
Hey,
I have finally made a command that works and now has to run it on 200+ files to run it on.
How do I do that?
Just fyi and if it complicates anything my commandline is:
awk '{if ($1 ~ /1/) print $2}' file
(yup, is should print $2 if $1 is a certain value)
It doesn't work when I: ... (2 Replies)
Discussion started by: lost
2 Replies
5. Shell Programming and Scripting
I have the following script running with nohup on one of my servers:
#!/bin/bash
#\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
#set log number
#i=1
#\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
#Check if log exits, if so incrememnt log number up so we don't clobber
#while... (8 Replies)
Discussion started by: DeCoTwc
8 Replies
6. AIX
In my cronjob, I would like to schedule my script.sh to run every minutes. I crontab -e and have in line below but it didn't seems to run at all.
* * * * * script.sh
When I run it manually, I can run it. Is that anything wrong with the above line?
If I change it to something like below,... (4 Replies)
Discussion started by: ngaisteve1
4 Replies
7. Shell Programming and Scripting
Hello all,
I'm trying to write a script to gather and send data and it works just fine at the bash command line, but when executing from CRON, it does not run properly.
My scripting skills are pretty limited and there's probably a better way, but as I said it works at the command line, but... (12 Replies)
Discussion started by: rusman
12 Replies
8. Shell Programming and Scripting
Linux System having all Perl, Python, PHP (and Ruby) installed
From a Shell script, can call a Perl, Python, PHP (or Ruby ?) file
eg
eg
a Shell script run in a case statement call to run a php file, also Perl or/and Python file???
Like
#!/usr/bin/bash
....
....
case $INPUT_STRING... (1 Reply)
Discussion started by: hoyanet
1 Replies
9. Shell Programming and Scripting
I have to provide a listing of all usernames and group assignments on Linux servers running SLES 12 SP 3. I am trying to automate this via a #for loop. It is not doing as desired and could use a little assistance. Here is the code:
#!/bin/bash
for uname in 'cat $(hostname)_unlist.txt'
do... (8 Replies)
Discussion started by: Kentlee65
8 Replies
zeya(1) zeya(1)
NAME
zeya - a web music server
SYNOPSIS
zeya [-h | --help] [--backend=backend] [--path=path] [-b | --bitrate=bitrate] [-p | --port=port] [--basic_auth_file=file]
DESCRIPTION
Zeya is a streaming music server that brings your music to any computer with a web browser. It reads your music library, lets you browse
your files, and streams them on demand.
The client runs entirely in the browser using the HTML5 draft standard technologies (no plugins or external players are needed).
OPTIONS
-h, --help
Display help.
--backend
Specify the backend to use.
dir Read a directory's contents recursively (default). See --path.
rhythmbox
Read from current user's Rhythmbox library.
playlist
Read from the playlist (.m3u or .pls file) specified by --path.
--path When used with --backend=dir, the directory in which to look for music (default: ./). When used with --backend=playlist, the abso-
lute path of the playlist file to be read.
-b, --bitrate
Specify the bitrate for output streams, in kbps. (default: 64)
-p, --port
Listen for requests on the specified port. (default: 8080)
--basic_auth_file
Require basic HTTP authentication and only allow users named in the specified file. The file should be in htpasswd format.
COPYRIGHT
Zeya was written by Phil Sung and Samson Yeung and is licensed under the terms of the GNU Affero GPL license, version 3 or later.
SEE ALSO
/usr/share/doc/zeya/README
/usr/share/doc/zeya/TODO
2009-10-19 zeya(1)