Hello there peeps:
There is a little piece of bash shell scripting problem i have, which i was hoping you could help me with.
#!/bin/bash
stored_word()
{
case $(( $$ % 8 )) in
0 ) echo "energy";;
1 ) echo "touch";;
2 ) echo "climbing";;
3 ) echo... (3 Replies)
Hello,
I'm confused (oh, yes). I'm running Linux at work. When I type 'echo $SHELL' I am told that I'm running tcsh. In /bin I note that both tcsh and bash are listed.
Question 1: Can I swap to run bash rather than tcsh and, if so, how will this affect my system? Is there any advantage to... (6 Replies)
Hi,
can anyone help me with my scrip please. I wanted do following tasks:
1. List all the directory
2. A STDIN to ask user to enter a directory name from listed directories
3. command to check if the directory exists( or a command to validate if the user entered a valid directory name)... (3 Replies)
Hi,
can anyone help me with my scrip please. I wanted do following tasks:
1. List all the directory
2. A STDIN to ask user to enter a directory name from listed directories
3. command to check if the directory exists( or a command to validate if the user entered a valid directory name)
... (2 Replies)
Hello everyone!!!! I am new to this forum ...I have a problem. And I thought that you are expert :) so you can help me with that... I have a text file with maaany lines. Every line begins with something like that:
<http aksjfskcuhrf kushkfsnus> <http sxnfrksehfsd gsdg r> I don't know if every... (16 Replies)
Try to imagine a flag:
nnnnx
nnnxx
nnxxx
nxxxx
now imagine how it will output:
4 times the "n"and 1 times "x"
3 times "n"and" 2 times" x "
.. etc. ..
rhombus is the same only instead of "n" is there
gap "and " x "is a few times to form the correct shape
Can you help... (3 Replies)
Hi Guys i have a <script?> that spits out the location of each printer using snpget
here is the code
for i in `sed -n '/Start Printer/,/End Printer/p' /hosts/blah/etc/dhcp/hosts.conf | awk '!/^#/ {print $2}' | egrep -v \... (2 Replies)
same script:
1- i am using grep to find a string called: tinker panic 0 in a file /etc/ntp.conf
if the string is not there, i want to add the strings in /etc/ntp.conf file in the first line of the file. if not do nothing or exit.
2- also i want to add # in front of the following lines in... (0 Replies)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Try running 'phone4 xyz' and see what happens.
Modify your program so that if no matching name is found, an... (1 Reply)
Discussion started by: OmgHaxor
1 Replies
LEARN ABOUT SUSE
pulse-client.conf
pulse-client.conf(5) File Formats Manual pulse-client.conf(5)NAME
pulse-client.conf - PulseAudio client configuration file
SYNOPSIS
~/.pulse/client.conf
/etc/pulse/client.conf
DESCRIPTION
The PulseAudio client library reads configuration directives from a file ~/.pulse/client.conf on startup and when that file doesn't exist
from /etc/pulse/client.conf.
The configuration file is a simple collection of variable declarations. If the configuration file parser encounters either ; or # it
ignores the rest of the line until its end.
For the settings that take a boolean argument the values true, yes, on and 1 are equivalent, resp. false, no, off, 0.
DIRECTIVES
default-sink= The default sink to connect to. If specified overwrites the setting in the daemon. The environment variable $PULSE_SINK how-
ever takes precedence.
default-source= The default source to connect to. If specified overwrites the setting in the daemon. The environment variable $PULSE_SOURCE
however takes precedence.
default-server= The default sever to connect to. The environment variable $PULSE_SERVER takes precedence.
autospawn= Autospawn a PulseAudio daemon when needed. Takes a boolean value, defaults to "yes".
daemon-binary= Path to the PulseAudio daemon to run when autospawning. Defaults to a path configured at compile time.
extra-arguments= Extra arguments to pass to the PulseAudio daemon when autospawning. Defaults to --log-target=syslog
cookie-file= Specify the path to the PulseAudio authentication cookie. Defaults to ~/.pulse-cookie.
enable-shm= Enable data transfer via POSIX shared memory. Takes a boolean argument, defaults to yes.
shm-size-bytes= Sets the shared memory segment size for clients, in bytes. If left unspecified or is set to 0 it will default to some sys-
tem-specific default, usually 64 MiB. Please note that usually there is no need to change this value, unless you are running an OS kernel
that does not do memory overcommit.
AUTHORS
The PulseAudio Developers <mzchyfrnhqvb (at) 0pointer (dot) net>; PulseAudio is available from http://pulseaudio.org/
SEE ALSO pulse-daemon.conf(5), pulseaudio(1)Manuals User pulse-client.conf(5)