01-23-2015
hey jlliagre
you right, i foget to bash mode
thankyou very much
it's solve
9 More Discussions You Might Find Interesting
1. AIX
Hi Guys,
I would like to know is there a way to find out who or which id performed the system reboot?Uptime only shows the last date the system was reboot but no userid or ip add.Need to investigate something due to some reboot issues.
Thanks
Giri (1 Reply)
Discussion started by: giriplug
1 Replies
2. SuSE
Hi,
I want to know how can we check Server reboot reason on Suse linux ?
or what caused server to reboot or hung.
anyone knows abut the it. ?
Bryan (3 Replies)
Discussion started by: bryanabhay
3 Replies
3. Shell Programming and Scripting
We have number of servers which belongs to platforms Solaris, AIX,HP-UX and LINUX. Monitoring tool 'Patrol Agent' process run on the servers to check for the server health and communicate with the Patrol server through the port 5181. During scheduled reboot and maintenance of servers we do receive... (1 Reply)
Discussion started by: subharai
1 Replies
4. Solaris
Hi all,
My remote unix machine failed unexpectly, and I am unable to login to it.
Here is what I can see on the screen -
> Boot device: .... File and args: -i
> Boot load failed.
> The file just loaded does not appear to be executable.
> {1} ok
How can I fix this problem? Has... (1 Reply)
Discussion started by: bhakti.gandhi
1 Replies
5. Solaris
Hi,
Would like to know the uptime or specific time limit to reboot the sun microsystem to avoid unplanned outage.
Regards,Tarun (9 Replies)
Discussion started by: taruntan
9 Replies
6. Solaris
Dears
Kindly am requested to collect the date histroy that the system was rebooted, so is there any log file or command that i can find the time that the system was rebooted?
thanks a lot for you kind support. (2 Replies)
Discussion started by: thehero
2 Replies
7. Solaris
Hi,
we have a sun sparc solaris 10 machine and recently there was a power failure and one of the server domain was down. So today morning i have powered up the domain and it returned me to ok prompt then i have booted the machine with disk from devalias, the system was up as normal and no error... (0 Replies)
Discussion started by: phanidhar6039
0 Replies
8. Shell Programming and Scripting
Hi,
Please help me to cross verify the post reboot time.
I want to execute some script after every reboot, which will happen only post 20-30 mins of reboot.
If uptime is >24hrs, script should not execute.
I tried with below command, but seems no luck.
>>
uptime | sed 's/^.*up//' | awk -F,... (1 Reply)
Discussion started by: KailasB
1 Replies
9. Solaris
Hello all,
I just want to update the timezone file with new file to update the time, so the zone in /etc/TIMEZONE will be the same but the file it refers to will be changed, and the local time should be changed, can this take effect without rebooting Solaris 10? (9 Replies)
Discussion started by: Amr.Es
9 Replies
LEARN ABOUT X11R4
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