[continue reading…]
posix
[continue reading…]
What is /bin/dash? I noticed that the default system shell /bin/sh was changed to /bin/dash. Why was this change made?
[continue reading…]
What is the correct format for a TZ (time zone) environment variable for use with the Linux or UNIX operating system?
[continue reading…]
How do I convert Epoch seconds to the current time under UNIX or Linux operating systems?
[continue reading…]
The rndc stats commands created /var/named/chroot/var/named/data/named_stats.txt file under RHEL 5.x or CentOS 5.x BIND 9 server. However, date is not is correct format. The date is in the following format:
grep ‘Dump’ /var/named/chroot/var/named/data/named_stats.txt
outputs:
+++ Statistics Dump +++ (1263408025)
— Statistics Dump — (1263408025)
+++ Statistics Dump +++ (1263408071)
— Statistics Dump — (1263408071)
+++ Statistics Dump +++ (1268304218)
— Statistics Dump — (1268304218)
+++ Statistics Dump +++ (1268304248)
— Statistics Dump — (1268304248)
How do I convert date (e.g., 1263408025) in a human readable format?
[continue reading…]
I want to get an alert when my disk is full under UNIX and Mac OS X? How do I set a a specified threshold and run the script via cron?
[continue reading…]
Q. When I run make install clean for php5-extensions port, I’m dumped with the following error:
/usr/ports/sysutils/php5-posix
===> php5-posix-5.2.6 has known vulnerabilities:
=> php — input validation error in posix_access function.
Reference:
=> Please update your ports tree and try again.
*** Error code 1
Stop in /usr/ports/sysutils/php5-posix.
*** Error code 1
Stop in /usr/ports/lang/php5-extensions.
*** Error code 1
Stop in /usr/ports/lang/php5-extensions.
How do I fix this error?
[continue reading…]