Hai Guru's,
I have 3 files.A,B,C
The file A,B is very huge.What i need to do is...I just get each record from file A and compare with File B...if the record presents...redirect the record to File C..otherwise not needed...
Kindly give me ur valuable suggestions to resolve the above... (1 Reply)
Is it possible to redirect a script output by command inside of that script?
I mean, if I have a script 'dosome.sh' I could run it by
>dosome.sh > dosome.log
I would dream to get some command inside of scrip to do the same; so, running the dosome.sh would have all output redirected to a log... (4 Replies)
hi i have two file
a.txt
123,b,c,d,e
111,c,d,e,f,
456,a,k,j,h
b.txt
123
678
987
321
456
i want to compare these two files(match content of b first coloum with a ) and o/p should be like
123,d,e
456,j,h
pls help.....:) (7 Replies)
Hi,
I have a process running in the background, which throws up some output to the terminal when I run my script. How can I read this output from my script?
Thank you. (5 Replies)
Hello, guys!
I need to redirect the error_log of apache web server to a script. I tried to use a pipe instead of a filename but this will cause me some troubles beacause cPanel doesn't like it. So, I would like to try something else.
Do you have any ideea on how can I read the content of the... (2 Replies)
I am unable to use STDIn redirection with < (commands)
When I do the following, both approaches work and give the same results:
1.
$ printf "aaa\nbbb\n" > file1
$ printf "111\n222\n" > file2
$ cat file1 file2
aaa
bbb
111
2222.
$ cat <(printf "aaa\nbbb\n") <(printf "111\n222\n")
aaa... (8 Replies)
I've been using tftp in one of my file
#!/bin/bash
filename1="config1h.txt"
filename2="config15.txt"
hostname="test.com"
tftp $hostname <</dev/null
get $filename1
get $filename2
quit
EOF
My output looks like this
# ./test3.sh
tftp> Received 1262 bytes in 0.0 seconds
tftp> Received... (2 Replies)
Hello Unix.com,
I badly need to get rid of drones that access my website. I'm using a hits php script that logs every ip that visits my index.php. Looks like this:
<?php
$IP = getenv("REMOTE_ADDR");
$day = date('l jS \of F Y h:i:s A');
$fout = fopen("hits.txt", "a");
fputs($fout,... (0 Replies)
Hello,
I want to design a script that will call an existing menu script and select options one by one and redirict the out put to a file.
For example;-
In the script MENU.sh there are 10 options i want to design a script MENU2.sh that will select option 2 3 4 6 7 10 and redirict the output... (4 Replies)
msg.sh
#!/bin/bash
if
then
echo "starting service"
else
echo " service not started"
echo " Please check the start.sh file or manuly start the service"
fi
if i login with root credentials @12.36.34.123 with passwd
username:root
passwd:abc
once i login into linux pc... (6 Replies)
Discussion started by: saku
6 Replies
LEARN ABOUT CENTOS
memcp
MEMCP(1) libmemcached MEMCP(1)NAME
memcp - libmemcached Documentation
Copies files to a collection of memcached servers
SYNOPSIS
memcp [options] [file] [server]
DESCRIPTION
memcp copies one or more files into memcached(1) servers. It is similar to the standard UNIX cp(1) command.
The key names will be the names of the files, without any directory path.
OPTIONS
You can specify servers via the option:
--servers
or via the environment variable:
`MEMCACHED_SERVERS`
If you do not specify either these, the final value in the command line list is the name of a server(s).
For a full list of operations run the tool with the option:
--help
HOME
To find out more information please check: http://libmemcached.org/
AUTHOR
Brian Aker, <brian@tangent.org>
Mark Atwood, <mark@fallenpegasus.com>
SEE ALSO memcached(1)libmemcached(3)AUTHOR
Brian Aker
COPYRIGHT
2011-2013, Brian Aker DataDifferential, http://datadifferential.com/
1.0.16 January 31, 2013 MEMCP(1)