10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have two files:
file 1:
hello.com neo.com,japan.com,example.com
news.net xyz.com, telecom.net, highlands.net, software.com
example2.com earth.net, abc.gov.uk
file 2:
neo.com
example.com
abc.gov.uk
file 2 are the search keys to search in file 1 if any of the search key is... (3 Replies)
Discussion started by: csim_mohan
3 Replies
2. UNIX for Dummies Questions & Answers
Hi guys...
Macbook Pro, OSX 10.7.5, bash...
I want to search for a known file in a totally unknown location.
This works perfectly:-
capturepath=`find / -name 'sox' 2>/dev/null`
Except it is crucyfyingly SSLLOOWW; and I mean SSLLOOWW!
Is there any means of searching the entire FS quickly... (5 Replies)
Discussion started by: wisecracker
5 Replies
3. Shell Programming and Scripting
Hi,
I would like to ask if there is a way to search for a file inside a .tar.gz file without extracting it? If there is, is there a way to search for that file by date?
Thanks! (4 Replies)
Discussion started by: erin00
4 Replies
4. Shell Programming and Scripting
Hello,
I'm trying to write a script in Bash to assist in pentesting. Essentially I'm looking to use a script to search for some terms in a log file and then send that key information into another file.
The log files consist of HTTP and SSL information that someone creates while browsing and... (2 Replies)
Discussion started by: Sagesparten007
2 Replies
5. Shell Programming and Scripting
without using conventional file searching commands like find etc, is it possible to locate a file if i just know that the file that i'm searching for contains a particular text like "Hello world" or something? (5 Replies)
Discussion started by: arindamlive
5 Replies
6. Shell Programming and Scripting
Dear Unix Gurus,
I am new to shell scripting and in the process of learing.
I am trying to find whether a file name has today's date in MMDDYYYY format.
I am using the following code and it doesn't seem like working.
#!/usr/bin/ksh
today=$(date '+%m%d%Y')
echo today: $today
file=`find... (4 Replies)
Discussion started by: shankar1dada
4 Replies
7. UNIX for Dummies Questions & Answers
Hi guys, I am a newbie here :wall:
I need a script that can search for a file in a directory and copy the contents of that file in a new file.
Please help me. :confused: Thanks in advance~ (6 Replies)
Discussion started by: zel2zel
6 Replies
8. Shell Programming and Scripting
Need to develop a unix shell script for the below requirement and I need your assistance:
1) search for file.log and file.bad file in a directory and read them
2) pull out "Load_Start_Time", "Data_File_Name", "Error_Type" from log file
4) concatinate each row from bad file as... (3 Replies)
Discussion started by: mlpathir
3 Replies
9. Shell Programming and Scripting
I'm new to shell scripting and am writing a script to help me log the free memory and hd space on a server. As of now, the script just runs 'df -h' and appends the output to a file and then runs 'top' and appends the output to a log file.
What I want to do, is have the script also search the... (3 Replies)
Discussion started by: enator45
3 Replies
10. Shell Programming and Scripting
Hi All,
I have two comma separated value(CSV) files, say FileA and FileB.
The contents looks like that shown below.
FileA
EmpNo,Name,Age,Sex,
1000,ABC,23,M,
1001,DES,24,F, ... (2 Replies)
Discussion started by: ultimate
2 Replies
KITSEND(1) General Commands Manual KITSEND(1)
NAME
kitpost - posts distribution kits
SYNOPSIS
kitpost [ -hrV ] [ -H file ] [ -D desc ] [ -m dest1,dest2 ] [ kits ] [ newsgroups ]
DESCRIPTION
Kitpost posts distribution kits made by makedist to some (source) newsgroups specified on the command line. If you do not specify any kit
list, then all the kits are sent. Otherwise, only the specified kits will be (re)sent.
A kit list may include ranges, 1-10 specifying kits 1 through 10, and 5- meaning kits 5 up to the last one. You may also specify kit num-
bers by separating them with commas or spaces, and even mix with ranges, such as: 1 3 5-7 9.
Kitpost ensures correct References: lines are inserted in your postings so that all parts but the first point to the root article. Threaded
newsreaders and end-users traditionally appreciate that.
OPTIONS
The following options are recognized by kitpost:
-h Print help message and exit.
-m dest1,destn
Sends kits by e-mail to the specified recipients. This option may be used in conjunction with newsgroup posting. It is mainly
intended for sites where direct posting to a moderated newsgroup is not allowed by inews. You may thus send your kits to the
newsgroup moderator in a form that will ease the whole posting process.
-r Signals a repost.
-D description
Specify a description string that will be added to the subject line. Usually a brief sentence (less than, say, 40 characters).
-H file Specify a file to be used as header introduction in the first part of your posting. Usually the root README file.
-V Print version number and exit.
BUGS
Article cross-referencing is properly set-up only when the whole package is (re)posted in one batch.
It is not currently possible to set-up the article headers manually or better, interactively.
AUTHOR
Raphael Manfredi <ram@hptnos02.grenoble.hp.com>
SEE ALSO
makedist(1), kitsend(1).
ram KITSEND(1)