06-11-2012
Excellent! I'll give it a try and post here my results.
Thank you very much, Peasant. (y)
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi guys;
I want to show what am I doing on a terminal into another. I did something close but its not working really good.
Example: cat /dev/pts/12 >/dev/pts/13
where 12 is my terminal and 13 its the other terminal.
This is usefull for me to share my small unix knowledge to other people... (4 Replies)
Discussion started by: piltrafa
4 Replies
2. UNIX for Dummies Questions & Answers
Hello,
How can i install the sound card on solaris 9.00 and also, how can i play MP3 and audio songs on solaris....
pls provide me the complete steps....
thnks (4 Replies)
Discussion started by: taurian1234
4 Replies
3. Linux
I've been fighting for a few days now with trying to get my soundcard to recognize. I am currently using a Latitude D630 with Sigmatel C-Major Audio using the Intel ICH8 Family.
My problem appears to be that the computer cannot detect a sound card but it was only able to install default drivers... (0 Replies)
Discussion started by: grid-lyn
0 Replies
4. Linux
Hi,
I was wondering if any of you guys know of way to make applications that use sound device on linux to access it in a "non-exclusive manner", the aim is to be able to use more than one application that requires the sound device.
Thanks (0 Replies)
Discussion started by: andryk
0 Replies
5. Shell Programming and Scripting
ssh $USR@$host /bin/bash <<EOF
awk ' BEGIN{f=0} !f { s=$0; sub(/,.+/, "", s); gsub(//, " ", s); t=(systime()-mktime(s)); if(t<=14400) f=1 } f ' /home/error.log >> error.txt
EOFWe are trying to connect to a remote server through ssh and read values from error.log within last 4 hours.However, the... (3 Replies)
Discussion started by: Deepthz
3 Replies
6. Programming
i wanted to execute some terminal commands on local linux, parse their output and display it to the user, i checked netcat source code but i couldnt understance it since im new to c (and linux at the same time).
so i was wondering if there is away to run an instance of terminal hidden, read and... (15 Replies)
Discussion started by: JonhyM
15 Replies
7. UNIX for Advanced & Expert Users
hi all
i have a problem that if i use something like firefox it will grab the sound device and not release it, so i can not use skype
is there a command to see what is using the audio device
i am using Fedora
thaks
Adam (3 Replies)
Discussion started by: ab52
3 Replies
8. Shell Programming and Scripting
Hi,
I want to save the whole Output of the terminal in a file. I dont want to redirect a single command to a file (ls -l > test.txt), I want to redirect the whole last 40 lines into a file.
Maybe i can read out the terminal while working with it, but i cant find a way to save the whole... (2 Replies)
Discussion started by: niratschi
2 Replies
9. Hardware
I'm new to Solaris. I was able to installed Solaris 11 running GNOME. I tried to detect sound/audio but the message given that "No volume control GStreamer plugins and/or devices found". There is no dev/audio but there are audio drivers such as gstreamer installed when I checked using Solaris... (0 Replies)
Discussion started by: Abang Annuar
0 Replies
10. Shell Programming and Scripting
when i do something like this:
bona=$(echo hi2 > /dev/pts/1 ; printf '%s\n' "" | sed '/^$/d')
i get:
hi2
and the $bona variable is empty, when I run:
echo ${bona}
i get the result "hi2" outside of the variable. I want it stored in the bona variable with nothing outputted to the... (6 Replies)
Discussion started by: SkySmart
6 Replies
RCMD(1) BSD General Commands Manual RCMD(1)
NAME
rcmd -- backend driver for rcmd(3)
SYNOPSIS
rcmd [-46dn] [-l username] [-p port] [-u localusername] host command
DESCRIPTION
rcmd executes command on host.
rcmd copies its standard input to the remote command, the standard output of the remote command to its standard output, and the standard
error of the remote command to its standard error. Interrupt, quit and terminate signals are propagated to the remote command; rcmd normally
terminates when the remote command does. The options are as follows:
-4 Use IPv4 addresses only.
-6 Use IPv6 addresses only.
-d The -d option turns on socket debugging (using setsockopt(2)) on the TCP sockets used for communication with the remote host.
-l By default, the remote username is the same as the local username. The -l option allows the remote name to be specified. Another pos-
sible way to specify the remote username is the notation user@host.
-n The -n option redirects input from the special device /dev/null (see the BUGS section of this manual page).
-p port
Uses the given port instead of the one assigned to the service ``shell''. May be given either as symbolic name or as number.
-u The -u option allows the local username to be specified. Only the superuser is allowed to use this option.
Shell metacharacters which are not quoted are interpreted on local machine, while quoted metacharacters are interpreted on the remote
machine. For example, the command
rcmd otherhost cat remotefile >> localfile
appends the remote file remotefile to the local file localfile, while
rcmd otherhost cat remotefile ">>" other_remotefile
appends remotefile to other_remotefile.
FILES
/etc/hosts
SEE ALSO
rsh(1), rcmd(3), environ(7)
HISTORY
The rcmd command appeared in NetBSD 1.3 and is primarily derived from rsh(1). Its purpose was to create a backend driver for rcmd(3) that
would allow the users of rcmd(3) to no longer require super-user privileges.
BUGS
If you are using csh(1) and put a rcmd in the background without redirecting its input away from the terminal, it will block even if no reads
are posted by the remote command. If no input is desired you should redirect the input of rcmd to /dev/null using the -n option.
You cannot use rcmd to run an interactive command (like rogue(6) or vi(1)). Use rlogin(1) instead.
The stop signal, SIGSTOP, will stop the local rcmd process only. This is arguably wrong, but currently hard to fix for reasons too compli-
cated to explain here.
BSD
May 31, 2011 BSD