Sponsored Content
Full Discussion: Ls commands
Top Forums Shell Programming and Scripting Ls commands Post 302856423 by ahamed101 on Tuesday 24th of September 2013 12:15:55 AM
Old 09-24-2013
Sounds like homework!

--ahamed
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

commands

hi, I'm completely new to FreeBds or unix in general, is there a really nice site to teach you the basic ommands to free BSD. I don't know what to do. =( (3 Replies)
Discussion started by: Special K
3 Replies

2. Shell Programming and Scripting

commands

anyone know the command to display the ten most common words, together with their number of occurences, in the manual entry for the ls command. It would be much useful (1 Reply)
Discussion started by: master_6ez
1 Replies

3. Programming

code that reads commands from the standard i/p and executes the commands

Hello all, i've written a small piece of code that will read commands from standard input and executes the commands. Its working fine and is execting the commands well. Accepting arguments too. e.g #mkdir <name of the directory> The problem is that its not letting me change the directory i.e... (4 Replies)
Discussion started by: Phrozen Smoke
4 Replies

4. Shell Programming and Scripting

Can BASH execute commands on a remote server when the commands are embedded in shell

I want to log into a remote server transfer over a new config and then backup the existing config, replace with the new config. I am not sure if I can do this with BASH scripting. I have set up password less login by adding my public key to authorized_keys file, it works. I am a little... (1 Reply)
Discussion started by: bash_in_my_head
1 Replies

5. AIX

HACMP: difference between 'cl' commands and 'cli' commands

Hi all, I'm new in this forum. I'm looking for the difference between the HACMP commands with the prefix "cl" and "cli". The first type are under /usr/es/sbin/cluster/sbin directory and the second are under /usr/es/sbin/cluster/cspoc directory. I know that the first are called HACMP for AIX... (0 Replies)
Discussion started by: peppix
0 Replies

6. UNIX for Dummies Questions & Answers

help with some commands

Hi! i'd like from someone to explain me 'what is what' from these parts of code if it's possible.i'd like to understand them and their usage: 1) sed '3d' filename 2) sort –t: +0 -1 /etc/passwd and also this: tr ‘’ ‘ ‘ < filename thank you! (11 Replies)
Discussion started by: strawhatluffy
11 Replies

7. UNIX for Advanced & Expert Users

All my Commands GONE =( !!

Hi all, Im a newbie in Centos 5.8 What had i typed was "export PATH=/sbin/service" and now my command like ls, touch, mv, useradd, mysqldump, and more have gone.. anyone know how to solve it? (1 Reply)
Discussion started by: yjk2121
1 Replies

8. UNIX for Dummies Questions & Answers

Need help with certain commands

I'm trying to figure out certain commands for these steps. If you wish to discuss with me in real time, PM me your AIM or MSN, thanks. Here are the steps. Edit the readcal_final file Delete all of the lines that comprise the colandar portion of the memo Without leaving vi, open a new... (0 Replies)
Discussion started by: vgmaster9
0 Replies

9. UNIX for Dummies Questions & Answers

Vi % commands

How can I find a list of shortcut commands I can execute within vi using the % indicator? For example, I can vi a file, press colon, and then type "%s/\r//g" to remove all instances of a carriage return. What else can be executed from the % prompt and what are the shortcut letters (I could type... (4 Replies)
Discussion started by: MaindotC
4 Replies

10. Homework & Coursework Questions

What are the commands for this ?

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: If the user enters option 1, your program should display the list of entries in the current directory. For... (1 Reply)
Discussion started by: UniverseCloud
1 Replies
QSound(3qt)															       QSound(3qt)

NAME
QSound - Access to the platform audio facilities SYNOPSIS
#include <qsound.h> Inherits QObject. Public Members QSound ( const QString & filename, QObject * parent = 0, const char * name = 0 ) ~QSound () int loops () const int loopsRemaining () const void setLoops ( int l ) QString fileName () const bool isFinished () const Public Slots void play () void stop () Static Public Members bool isAvailable () void play ( const QString & filename ) bool available () DESCRIPTION
The QSound class provides access to the platform audio facilities. Qt provides the most commonly required audio operation in GUI applications: asynchronously playing a sound file. This is most easily accomplished with a single call: QSound::play("mysounds/bells.wav"); A second API is provided in which a QSound object is created from a sound file and is played later: QSound bells("mysounds/bells.wav"); bells.play(); Sounds played using the second model may use more memory but play more immediately than sounds played using the first model, depending on the underlying platform audio facilities. On Microsoft Windows the underlying multimedia system is used; only WAVE format sound files are supported. On X11 the Network Audio System is used if available, otherwise all operations work silently. NAS supports WAVE and AU files. On Macintosh, ironically, we use QT (QuickTime) for sound, this means all QuickTime formats are supported by Qt/Mac. On Qt/Embedded, a built-in mixing sound server is used, which accesses /dev/dsp directly. Only the WAVE format is supported. The availability of sound can be tested with QSound::isAvailable(). See also Multimedia Classes. MEMBER FUNCTION DOCUMENTATION
QSound::QSound ( const QString & filename, QObject * parent = 0, const char * name = 0 ) Constructs a QSound that can quickly play the sound in a file named filename. This may use more memory than the static play function. The parent and name arguments (default 0) are passed on to the QObject constructor. QSound::~QSound () Destroys the sound object. bool QSound::available () [static] Returns TRUE if sound support is available; otherwise returns FALSE. QString QSound::fileName () const Returns the filename associated with the sound. bool QSound::isAvailable () [static] Returns TRUE if sound facilities exist on the platform; otherwise returns FALSE. An application may choose either to notify the user if sound is crucial to the application or to operate silently without bothering the user. If no sound is available, all QSound operations work silently and quickly. bool QSound::isFinished () const Returns TRUE if the sound has finished playing; otherwise returns FALSE. int QSound::loops () const Returns the number of times the sound will play. int QSound::loopsRemaining () const Returns the number of times the sound will loop. This value decreases each time the sound loops. This function is not supported on Windows and will always return the total number of loops. void QSound::play ( const QString & filename ) [static] Plays the sound in a file called filename. Example: sound/sound.cpp. void QSound::play () [slot] This is an overloaded member function, provided for convenience. It behaves essentially like the above function. Starts the sound playing. The function returns immediately. Depending on the platform audio facilities, other sounds may stop or may be mixed with the new sound. The sound can be played again at any time, possibly mixing or replacing previous plays of the sound. void QSound::setLoops ( int l ) Sets the sound to repeat l times when it is played. Passing the value -1 will cause the sound to loop indefinitely. On Windows, sounds with a loop count different from 1 will always loop indefinitely. See also loops(). void QSound::stop () [slot] Stops the sound playing. See also play(). SEE ALSO
http://doc.trolltech.com/qsound.html http://www.trolltech.com/faq/tech.html COPYRIGHT
Copyright 1992-2001 Trolltech AS, http://www.trolltech.com. See the license file included in the distribution for a complete license statement. AUTHOR
Generated automatically from the source code. BUGS
If you find a bug in Qt, please report it as described in http://doc.trolltech.com/bughowto.html. Good bug reports help us to help you. Thank you. The definitive Qt documentation is provided in HTML format; it is located at $QTDIR/doc/html and can be read using Qt Assistant or with a web browser. This man page is provided as a convenience for those users who prefer man pages, although this format is not officially supported by Trolltech. If you find errors in this manual page, please report them to qt-bugs@trolltech.com. Please include the name of the manual page (qsound.3qt) and the Qt version (3.1.1). Trolltech AS 9 December 2002 QSound(3qt)
All times are GMT -4. The time now is 09:00 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy