10 More Discussions You Might Find Interesting
1. 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
2. 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
3. UNIX for Dummies Questions & Answers
Please help! I am in urgent need of assistance.
What started out as a small problem with IMAP folders not working seems to have spread.
Our mail server, Scalix running on CentOS 5.5 isn't sending out any mail.
There are now over 400 emails queued waiting to go out, all of which give the... (0 Replies)
Discussion started by: beckyboo
0 Replies
4. UNIX for Dummies Questions & Answers
Help me. .i want to send a file from one terminal to another terminal . .how to do that???
thnx in advance . .:) (2 Replies)
Discussion started by: Nagaraju.s
2 Replies
5. 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
6. 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
7. 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
8. 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
9. Shell Programming and Scripting
Hi folks,
I have the following file (tnsnames.ora):
DB10g =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = buffy)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = DB10g)
)
)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
... (2 Replies)
Discussion started by: nir_s
2 Replies
10. 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