Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pacmd(1) [centos man page]

pacmd(1)						      General Commands Manual							  pacmd(1)

NAME
pacmd - Reconfigure a PulseAudio sound server during runtime SYNOPSIS
pacmd pacmd --help pacmd --version DESCRIPTION
This tool can be used to introspect or reconfigure a running PulseAudio sound server during runtime. It connects to the sound server and offers a simple live shell that can be used to enter the commands also understood in the default.pa configuration scripts. To exit the live shell, use ctrl+d. Note that the 'exit' command inside the shell will tell the PulseAudio daemon itself to shutdown! If any arguments are passed on the command line, they will be passed into the live shell which will process the command and exit. OPTIONS
-h | --help Show help. --version Show version information. AUTHORS
The PulseAudio Developers <pulseaudio-discuss (at) lists (dot) freedesktop (dot) org>; PulseAudio is available from http://pulseaudio.org/ SEE ALSO
pulse-cli-syntax(5), pulseaudio(1), pactl(1), default.pa(5) Manuals User pacmd(1)

Check Out this Related Man Page

pasuspender(1)						      General Commands Manual						    pasuspender(1)

NAME
pasuspender - Temporarily suspend PulseAudio SYNOPSIS
pasuspender [options] -- PROGRAM [ARGUMENTS ...] pasuspender --help pasuspender --version DESCRIPTION
pasuspender is a tool that can be used to tell a local PulseAudio sound server to temporarily suspend access to the audio devices, to allow other applications access them directly. pasuspender will suspend access to the audio devices, fork a child process, and when the child process terminates, resume access again. Make sure to include -- in your pasuspender command line before passing the subprocess command line (as shown above). Otherwise pasuspender itself might end up interpreting the command line switches and options you intended to pass to the subprocess. OPTIONS
-h | --help Show help. --version Show version information. -s | --server=SERVER Specify the sound server to connect to. AUTHORS
The PulseAudio Developers <mzchyfrnhqvb (at) 0pointer (dot) net>; PulseAudio is available from http://pulseaudio.org/ SEE ALSO
pulseaudio(1), padsp(1), pacmd(1), pactl(1) Manuals User pasuspender(1)
Man Page

15 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

if, fi, then, and else commands

I am trying to create a script that will search for a file and if the file is there the script will end successfull, if the file is not found then the script will sleep for 60 then check for the file again. If the file is there the job will complete successfully, if it is still not there, the... (11 Replies)
Discussion started by: wereyou
11 Replies

2. Shell Programming and Scripting

Remove '| ' from file

Hi, I am using paste command to concat different fields from different files to create a new file. The new file is creating fine and is creating as a pipe delimited. The issue I am getting into is the new file have spaces after the '|' sign which it should not be there as I am creating a pipe... (11 Replies)
Discussion started by: msalam65
11 Replies

3. Shell Programming and Scripting

Syntax error near unexpected token `done'

Hi all, Here is a simple script that is working in one server and is giving a syntax error in other server. Can somebody help me ? #!/bin/bash # ftp files done < $file errors: I tried..with no success: if ; then (21 Replies)
Discussion started by: Lenora2009
21 Replies

4. Shell Programming and Scripting

Data differences

I have the following awk command, reading data from my local server(sun5) and remote server(sun8).Each doing the same command and displaying the differences into a diffs.txt file. awk 'BEGIN {while ( getline < "sun5-printers.txt") {arr++ } } { if (!($0 in a rr ) ) { print } }'... (15 Replies)
Discussion started by: ggoliath
15 Replies

5. Shell Programming and Scripting

sed or awk to parse this text

I am just beginning with sed and awk and understand that they are "per" line input. That is, they operate on each line individually, and output based on rules, etc. But I have multi-line text blocks that looks as follows, and wish to ONLY extract the text between the first hyphen (-) and the... (13 Replies)
Discussion started by: bulgin
13 Replies

6. Shell Programming and Scripting

Help with simple grep command

I am currently having a problem with displaying multiple occurences of a line using grep/sed combination. Let's say that I do grep "$anything" $file. When I do this it only displays a single line, but if I do grep -c "$anything" $file it says that there are 3 occurences of $anything, but how can... (15 Replies)
Discussion started by: puttster
15 Replies

7. Shell Programming and Scripting

if else and function.

Hi, I ahve many if else functions in my script but no function is avaialbe. Now I want to write a function and function body should have case statements. But the choice for that case statements should come as a parameter from the each ELSE part of my if-else statements. for eg:... (15 Replies)
Discussion started by: amit.mathur08
15 Replies

8. Shell Programming and Scripting

Commands to reorganize a text file

Hi! I am trying to create a script to reorder the contents of a text file. Below is the text file initially, followed by how I would like it reordered: File initially: --- Initial lines with text and/or numbers Initial lines with text and/or numbers Initial lines with text and/or numbers... (11 Replies)
Discussion started by: gwr
11 Replies

9. Shell Programming and Scripting

Create directories in stagging and informatica server

I have a function in bash script to create dir and subdir function mkdir_stage ( ) { mkdir -p /webdata/ecif/etl/$Env/$projectname/ mkdir -p /webdata/ecif/etl/$Env/$projectname/archivefiles mkdir -p /webdata/ecif/etl/$Env/$projectname/dropbox mkdir -p ... (40 Replies)
Discussion started by: nitinmathur18
40 Replies

10. Shell Programming and Scripting

Passing file name to get uptimes

Hi: I am very new to shell scripting, and started writing a script today. I am trying to read a server name from a list that stores server name and passing each server name to get the uptime. What i would to achieve is that, i should get a file with server names along with their uptimes on a... (12 Replies)
Discussion started by: hithere30052
12 Replies

11. Shell Programming and Scripting

Wget - how to ignore files in immediate directory?

i am trying to recursively save a remote FTP server but exclude the files immediately under a directory directory1 wget -r -N ftp://user:pass@hostname/directory1 I want to keep these which may have more files under them directory1/dir1/file.jpg directory1/dir2/file.jpg... (16 Replies)
Discussion started by: vanessafan99
16 Replies

12. Shell Programming and Scripting

Wait/if Generated kind of operation

Dear All, I am running a c++ code that will generate various output files. After generating each and every file I wanted to process that file and remove using shell. How can I do that? example for post script: #!/bin/sh for dirName in ab ac ad ae; do grep -r -n... (15 Replies)
Discussion started by: linuxUser_
15 Replies

13. Shell Programming and Scripting

Need help with sed/awk command

Dear all, I have a file named as fileName with following entities, functions { planeDictName { type surfaces; functionObjectLibs ( "libsampling.so" ); outputControl timeStep; surfaceFormat vtk; fields ( p U ); ... (42 Replies)
Discussion started by: linuxUser_
42 Replies

14. Shell Programming and Scripting

Format your scripts with shfmt

I've been working on a tool to format (style) shell programs, much like gofmt for Go. After much testing and personal use, I'm throwing it out there to see if it's useful to anyone else. GitHub - mvdan/sh: A shell parser and formatter in Go You'll need golang to build and install it. If this... (11 Replies)
Discussion started by: mvdan
11 Replies

15. Shell Programming and Scripting

Daemon not executing shell file

Hey guys, I'm rather new to scripting with the shell (I started on Wednesday) and encountered a problem that left me clueless. I moved to an old house recently and the sound of the 433mhz door bell is too quiet. Since I always wanted to start playing around with a raspberry pi and my wife... (11 Replies)
Discussion started by: matthes0815
11 Replies