01-05-2006
Not totally sure what you're asking here but try...
man find
If that's not what you want, please elaborate.
Cheers
ZB
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
I am having a hard time trying to do the following:
I have a file that looks like this:
0 CacheMaxConn 4 64
0 RMThread 16 3423423
7 DataSource 0 /hello/sas/ses
0 {94545B4-E343-1410-81E4-08000000} 3 DDBE
3 ... (4 Replies)
Discussion started by: yotoruja
4 Replies
2. Shell Programming and Scripting
Guys
Im checking some of my files for errors. I want to be able to find text and make sure it's located on the right place.
Example
Chapter 1
TEXT LKJ
TEXT 12Y
more and more text
Chapter 2
TEXT 34G
TEXT HHG
more and more text
Chapter 3
TEXT FG45
TEXT 11w
more and more text
... (3 Replies)
Discussion started by: tony3101
3 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I would like to do a search and replace on a file using vi.
Something like this:
:%s/dst_port=****//g
I want to search the entire file and replace all text that does not match dst_port=**** with space or nothing. In other words delete everything except for dst_port=****. The four *... (1 Reply)
Discussion started by: andyblaylock
1 Replies
4. UNIX for Dummies Questions & Answers
How would i search to find all the lines consisting of of only the letter "z" followed by any four characters? (1 Reply)
Discussion started by: trob
1 Replies
5. Shell Programming and Scripting
Hi,
I just started looking into various aspect of unix shell scripting. I am completely new to the world of UNIX. Could any one help me in solving the following requirement.
I have a parameter file with some data e.g.
sample.param
-------------
Andrew=201
Bob=219
Shelly=239... (4 Replies)
Discussion started by: mamatabbsr
4 Replies
6. UNIX for Dummies Questions & Answers
Hi guys,
I have a very common issue :( im trying to work it out but I am still not used to it. my problem is searching. very often I should look for piece of string in a text file or a file itself:
I want to learn some easy and professional commands to ease this routine for me. I want to be... (2 Replies)
Discussion started by: messi777
2 Replies
7. 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
8. Shell Programming and Scripting
Hello,
I need to write a script to check directory size on a linux server.
I do not have access to some directories Inside the directory tree so I've got some warning in the output that say :
du : cannot read directory ....
Could you please help me. I did try Inside of my script to... (2 Replies)
Discussion started by: Aswex
2 Replies
9. Shell Programming and Scripting
Hi,
I would like to achieve below requirement,
I have a directory "/mydir" and I want to automatically sync/copy all the content of /mydir directory to "/yourdir" directory all the time.
meaning, if some application creates a file in /mydir, it supposed to be copied/available in "/yourdir"... (4 Replies)
Discussion started by: aaron8667
4 Replies
10. Shell Programming and Scripting
I need a hint for extracting and copying only the loads of .mp3 files from one directory and its subdirectories to get them all into only one directory. This way I am doing gives me a identical copy with hundreds of subdirectories. But I just don't get it to extract only the files. Though I tried... (9 Replies)
Discussion started by: 1in10
9 Replies
LEARN ABOUT DEBIAN
ibid-factpack
IBID-FACTPACK(1) Ibid - Multi-protocol Bot IBID-FACTPACK(1)
NAME
ibid-factpack - Factoid-package management utility for Ibid
SYNOPSIS
ibid-factpack [-s] factpack-file
ibid-factpack -r [-f] factpack-name
ibid-factpack -h
DESCRIPTION
This utility is for adding and removing sets of packaged factoids, known as factpacks, from your Ibid's factoid database.
The default mode is factpack loading. The factpack-file specified is loaded into the bot's database. Should the pack contain any facts
with the same name as an existing fact in the bot's database, loading will be aborted, unless the -s option is supplied.
Factpacks can be gzipped if the filename ends with .gz.
When invoked with the -r option, the named factpack (original import filename minus the extension) will be removed from the bot. If any of
the facts contained in that pack were modified while loaded in the bot, unloading will be aborted, unless the -f option is supplied.
OPTIONS
-r, --remove
Remove the named factpack, rather than importing.
-f, --force
Force removal, if facts in the factpack were modified by users.
-s, --skip
Skip facts that clash with existing factoids, during import.
-h, --help
Show a help message and exit.
FACTPACKS
Factpacks are JSON-encoded text files containing a list of facts. Each fact is a tuple of two lists: fact-names, fact-values. The same
substitutions are available as in normal online Factoids.
Example:
[
[["Hello", "Hi"], ["<reply> Hi There", "<action> waves"]],
[["Bye"], ["<reply> kbye $who", "<reply> Cheers"]]
]
FILES
ibid.ini
Locates the database to act upon by looking for the [databases].ibid value in the bot configuration file in the current directory.
SEE ALSO
ibid(1), ibid.ini(5), http://ibid.omnia.za.net/
Ibid 0.1 March 2010 IBID-FACTPACK(1)