Monthly Archives: January 2012

stat – display file or file system status

UNIX Command

$stat /usr/sbin/famd
  File: `/usr/sbin/famd'
  Size: 147504    	Blocks: 304        IO Block: 4096   regular file
Device: 801h/2049d	Inode: 7572257     Links: 1
Access: (0755/-rwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2012-01-24 00:00:54.000000000 +0530
Modify: 2010-08-03 15:32:44.000000000 +0530
Change: 2012-01-24 00:00:07.000000000 +0530
 Birth: -
$

UNIX Explanation

 Display file or file system status.

/etc/dpkg/dpkg.cfg

File

$ls -l /etc/dpkg/dpkg.cfg
-rw-r--r-- 1 root root 446 Sep 14  2010 /etc/dpkg/dpkg.cfg
$

Explanation

$file /etc/dpkg/dpkg.cfg
/etc/dpkg/dpkg.cfg: ASCII English text
$

Get The Hang

$cat /etc/dpkg/dpkg.cfg
# dpkg configuration file
#
# This file can contain default options for dpkg.  All command-line
# options are allowed.  Values can be specified by putting them after
# the option, separated by whitespace and/or an `=' sign.
#

# Do not enable debsig-verify by default; since the distribution is not using
# embedded signatures, debsig-verify would reject all packages.
no-debsig

# Log status changes and actions to a file.
log /var/log/dpkg.log
$

GIMP + rectangle selection + stroke selection

NTP Network Time Protocol

TOPIC

NETWORK TIME PROTOCOL

Explanation

NTP  stands  for Network  Time  Protocol,  and  it is  an  Internet
protocol used to  synchronize the clocks of computers  to some time
reference.  NTP   is  an  Internet   standard  protocol  originally
developed  by  Professor  David  L.  Mills  at  the  University  of
Delaware.

source: http://www.ntp.org/ntpfaq/NTP-s-def.htm#AEN1259

Get The Hang

$ntpdate in.pool.ntp.org
13 Jan 19:15:49 ntpdate[4295]: step time server 203.200.188.4 offset -1.325297 sec
$date
Fri Jan 13 19:16:01 IST 2012
$

Scheme

$scm
SCM version 5e5, Copyright (C) 1990-2006 Free Software Foundation.
SCM comes with ABSOLUTELY NO WARRANTY; for details type `(terms)'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `(terms)' for details.
;loading /usr/share/slib/require
;done loading /usr/share/slib/require.scm
;loading /usr/share/slib/require
;done loading /usr/share/slib/require.scm
;loading /usr/lib/scm/Link
;done loading /usr/lib/scm/Link.scm
;loading /usr/lib/scm/Transcen
;done loading /usr/lib/scm/Transcen.scm
> (+ 1 2 3)
6
> (- ( + 3 4) (- 4 5 ))
#
> 7
> -1
>
;WARNING: "/usr/lib/scm/Iedline.scm": unexpected ")"#
> (- ( + 3 4) (- 4 5 ))
8
>

Loading...
X
Copyright © 2009,  2010,  2011,  2012,  2013,  2014     BeautifulWork Project    e-mail:  ahiliation@yahoo.co.in
BeautifulWork Project comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law.