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
rsh(1c) rsh(1c)
Name
rsh - remote shell
Syntax
rsh host [-l username] [-n] command
host [-l username] [-n] command
Description
The command connects to the specified host, and executes the specified command. The command copies its standard input to the remote com-
mand, 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. The command normally terminates when the remote command does.
The remote username used is the same as your local username, unless you specify a different remote name with the -l option. This remote
name must be equivalent, in the sense of to the originating account. No provision is made for specifying a password with a command.
If you omit command, then instead of executing a single command, you are logged in on the remote host using
Shell metacharacters which are not quoted are interpreted on local machine, while quoted metacharacters are interpreted on the remote
machine. Thus the command
rsh otherhost cat remotefile >> localfile
appends the remote file remotefile to the localfile localfile, while
rsh otherhost cat remotefile ">>" otherremotefile
appends remotefile to otherremotefile.
Host names are given in the file Each host has one standard name (the first name given in the file), which is rather long and unambiguous,
and optionally one or more nicknames. The host names for local machines are also commands in the directory If you put this directory in
your search path then the can be omitted.
Options
-l username Logs you in as the specified user, not as your user login name.
-n Redirects all command input to
Restrictions
The command is confused by output generated by commands in a .cshrc file on the remote host. In particular, `where are you?' and `stty:
Can't assign requested address' are messages which can result if output is generated by the startup file.
If you are using and put a in the background without redirecting its input away from the terminal, it blocks even if no reads are posted by
the remote command. If no input is desired you should redirect the input of to using the -n option.
You cannot run an interactive command like Use
Stop signals stop the local process only.
Files
/etc/hosts
/usr/hosts/*
See Also
rlogin(1c)
rsh(1c)