FAQ tagged as:

man page

How do I convert Epoch seconds to the current time under UNIX or Linux operating systems?

{ 0 comments }

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?

{ 5 comments }

How do I truncate or shrink large text file under UNIX / Linux operating systems?

{ 10 comments }

How do I enable OpenSSH SSH server to listen on an IPv6 address under Linux or UNIX operating systems?

{ 0 comments }

How do I redirect 80 port to 8123 using iptables?

{ 0 comments }

How do I read a file line by line using KSH shell scripting under UNIX like operating systems?

{ 8 comments }

How do I extract a single file or directory form a tarball under UNIX / Linux shell prompt? How do I restore a single file from /dev/st0 tape device?

{ 1 comment }

nixCraft FAQ PDF Collection Now Available To All