10-21-2010
Could you be more clear?
"Sending from one terminal to another terminal" especially...
What do you mean by a terminal?
If its a tty on the same box, you have above the answers...
If you are talking of vt or Xterm emulation on PCs connected to different servers then its not the same thing...
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
i have done this code but am not sure how to send it to a txt file
for i in `w -h | awk '{ print $1 }'| sort | uniq`; do
n=`w -h $i | wc -l`
printf "$i:$n\n"
thanks any help would be great (5 Replies)
Discussion started by: peter112
5 Replies
2. UNIX for Advanced & Expert Users
Hi Gurus,
I am having an requirement. i have to read a list file which contains file names and send mail to different users based on the files in the list file.
eg. if file a.txt exists then send a mail to a@a.com
simillary for b.txt,c.txt etc.
Thanks for your help,
Nimu (6 Replies)
Discussion started by: nimu1979
6 Replies
3. Solaris
Dear Experts,
please help i am very much confused here and not getting the right path,
actually i want to send a file from client to a server,
initially i used mmap() which is failing most of the time so i want to use general IO streams to do that,
i can open a file in "rb" mode
and read... (1 Reply)
Discussion started by: vin_pll
1 Replies
4. Shell Programming and Scripting
hi all
i have a view in the database with columns
prod_no,prod_nm, prod_code
using a shell script i should query this view and dump the data in a delimited flat file and send to another ftp server....
i also have to schedule this periodically using cron tab.
can you... (2 Replies)
Discussion started by: rajesh_tns
2 Replies
5. UNIX for Dummies Questions & Answers
Hi all,
I'm trying to send a file to a remote host on a DG/UX system connected directly to a serial port of a computer, but every time I try to send the file, the remote host cannot recieve it (the download screen hangs, some wierd characters are displayed when I type the rz command).
I tried... (1 Reply)
Discussion started by: danceofillusion
1 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I'm suppose to upload a file to my company's client server. I used kftp grabber in my PCLinuxOS to do the file transfer.
The client has given a username and password to upload the file in their server. When I log in to the server, I cannot access root or home directory, nor can I access... (1 Reply)
Discussion started by: anaigini45
1 Replies
7. UNIX for Dummies Questions & Answers
Hi
Here is my script:
#!/bin/bash
set -x
dir="/var/local/dsx/import"
gawk -F, '
$1 == last1 && $2 == last2 {
printf $0"\n" >> $dir/$2
}
$1 !=last1 || $2 != last2 {
printf $0"\n" >> $dir/$2
}
{
last1=$1
last2=$2
} (11 Replies)
Discussion started by: ladyAnne
11 Replies
8. Ubuntu
Please i have a question:
ifconfig return:
eth0 Link encap:Ethernet HWaddr 08:00:27:71:aa:2c
adr inet6: fe80::a00:27ff:fe71:aa2c/64 Scope:Lien
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Packets reçus:3 erreurs:0 :0 overruns:0 frame:0
... (4 Replies)
Discussion started by: chercheur111
4 Replies
9. UNIX for Beginners Questions & Answers
Hi,
This is the content of a file name "test.sh":
#!/bin/bash
if ; then
echo "I am Here"
fi
When runing the command:
./test.sh chair table
The echo command "I am Here" will appear only based on the second value, in other words only if the there is no file name "table" regardless if... (1 Reply)
Discussion started by: uniran
1 Replies
UL(1) BSD General Commands Manual UL(1)
NAME
ul -- do underlining
SYNOPSIS
ul [-i] [-t terminal] [name ...]
DESCRIPTION
ul reads the named files (or standard input if none are given) and translates occurrences of underscores to the sequence which indicates
underlining for the terminal in use, as specified by the environment variable TERM. The file /usr/share/misc/terminfo is read to determine
the appropriate sequences for underlining. If the terminal is incapable of underlining, but is capable of a standout mode then that is used
instead. If the terminal can overstrike, or handles underlining automatically, ul degenerates to cat(1). If the terminal cannot underline,
underlining is ignored.
The following options are available:
-i Underlining is indicated by a separate line containing appropriate dashes `-'; this is useful when you want to look at the underlin-
ing which is present in an nroff(1) output stream on a crt-terminal.
-t terminal
Overrides the terminal type specified in the environment with terminal.
ENVIRONMENT
The following environment variable is used:
TERM The TERM variable is used to relate a tty device with its device capability description (see termcap(5)). TERM is set at login time,
either by the default terminal type specified in /etc/ttys or as set during the login process by the user in their login file (see for
example csh(1)'s setenv).
SEE ALSO
colcrt(1), man(1), nroff(1)
HISTORY
The ul command appeared in 3.0BSD.
BUGS
nroff(1) usually outputs a series of backspaces and underlines intermixed with the text to indicate underlining. No attempt is made to opti-
mize the backward motion.
BSD
September 29, 2009 BSD