Hi all,
I am new to this forums. I need one help from urs.
My requirement is to fetch the records from the log file for every 15 mins and write the datas to the new file...
The log file which is located in the 21/09/2008 directory.
In 21/09/2008 directory, number of log files are... (1 Reply)
Hi all,
I am new comers to this forums. I need one help from urs.
My requirement is to fetch the records from the log file for every 15 mins and write the datas to the new file...
The log file which is located in the 21/09/2008 directory.
In 21/09/2008 directory, number of log files... (1 Reply)
Hi,
I have one script program (lod0361.job) ,where i am using errorlog() function with some arguments like below.
call errorlog ("---- unload to \"TESTNAME.out\" select * from TESTNAME")
but when i run the lod0361.job then i am getting below errors.
call errorlog ("---- load from... (1 Reply)
Hola tengo que hacer un programa en Bash, necesito ayuda porque no me sale y llevo bastante tiempo con esto!!
Los cinco directorios que más ocupan, ordenados según tamaño. Para medir el tamaño de cada directorio no debe incluirse el tamaño de sus subdirectorios.
Los diez archivos normales que más... (1 Reply)
Hello I have to do a program in Bash, need help because it does not go out for me and go enough time with this!!
Five directories(boards of directors) that more occupy, arranged according to size. To measure the size of every directory(board of directors) there must not be included the size... (1 Reply)
Hello,
I'm looking to script the basic instant messaging program we have in my company, it's called "oi", it's working as follow:
# oi $user
then we have to launch it...
after finding the system of the user it's asking for the message...
then on a new line we have to hit ctrl+d
I... (2 Replies)
So right now I am trying to sync an iPhoto Library file from multiple computers.
The goal being that it takes the most recently updated file (depending on which computer it was). Currently I am using Google Drive to essentially sync the newest library, however, I was curious to see if this was... (1 Reply)
Hello All,
I am trying to write a small bash script to make my life easier for an analysis. I have multiple folders and inside them are 10 output files with an extension .pdbqt What I am trying to do is to read the folder content and then make a PyMol (.pml) file to load the molecules and then... (11 Replies)
to kill a program in bash, for instance 'mousepad' I use
kill $(pidof mousepad);
or
pkill mousepad
But it only works if we use another bash window;
If it is started from the same bash, that does not work:
#mousepad;kill $(pidof mousepad);
In this case, it looks like mousepad hangs... (7 Replies)
Hi ,
I have written a shell script to call a java program say load_id.sh .This sh script indeed is executed implicitly in other sh script which calls 2 more sh scripts one by one. I need to check if the load_id.sh (which calls java program) is executed successfully only then continue with... (1 Reply)
Discussion started by: preema
1 Replies
LEARN ABOUT DEBIAN
libbash
LIBBASH(7) libbash Manual LIBBASH(7)NAME
libbash -- A bash shared libraries package.
DESCRIPTION
libbash is a package that enables bash dynamic-like shared libraries. Actually its a tool for managing bash scripts whose functions you may
want to load and use in scripts of your own.
It contains a 'dynamic loader' for the shared libraries ( ldbash(1)), a configuration tool (ldbashconfig(8)), and some libraries.
Using ldbash(1) you are able to load loadable bash libraries, such as getopts(1) and hashstash(1). A bash shared library that can be loaded
using
ldbash(1) must answer 4 requirments:
1. It must be installed in $LIBBASH_PREFIX/lib/bash (default is /usr/lib/bash).
2. It must contain a line that begins with '#EXPORT='. That line will contain (after the '=') a list of functions that the library
exports. I.e. all the function that will be usable after loading that library will be listed in that line.
3. It must contain a line that begins with '#REQUIRE='. That line will contain (after the '=') a list of bash libraries that are
required for our library. I.e. every bash library that is in use in our bash library must be listed there.
4. The library must be listed (For more information, see ldbashconfig(8)).
Basic guidelines for writing library of your own:
1. Be aware, that your library will be actually sourced. So, basically, it should contain (i.e define) only functions.
2. Try to declare all variables intended for internal use as local.
3. Global variables and functions that are intended for internal use (i.e are not defined in '#EXPORT=') should begin with:
__<library_name>_
For example, internal function myfoosort of hashstash library should be named as
__hashstash_myfoosort
This helps to avoid conflicts in global name space when using libraries that come from different vendors.
4. See html manual for full version of this guide.
AUTHORS
Hai Zaar <haizaar@haizaar.com>
Gil Ran <ril@ran4.net>
SEE ALSO ldbash(1), ldbashconfig(8), getopts(1), hashstash(1)colors(1)messages(1)urlcoding(1)locks(1)Linux Epoch Linux