Month: 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.

Read More

/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 …

Read More

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 …

Read More

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 …

Read More

sysctl interface

TOPIC General Linux System Control Interface Explanation Sysctl is a means of configuring certain aspects of the kernel at run-time, and the /proc/sys/ directory is there so that you don’t even need special tools to do it! In fact, there are only four things needed to use these config facilities: – a running Linux system …

Read More

$convmv -t ascii Y_WD.mp3

$convmv -t ascii Y_WD.mp3 Your Perl version has fleas #37757 #49830 Starting a dry run without changes… No changes to your files done. Use –notest to finally rename the files. $convmv -t symbol Y_WD.mp3 Your Perl version has fleas #37757 #49830 Starting a dry run without changes… symbol doesn’t cover all needed characters for: “./Y_WD.mp3” …

Read More

$sudo iwatch -c "uname -r" -e all_events /etc/

jeffrin@debian:~$ mplayer romeo_must_die_.ogg $sudo iwatch -c “uname -r” -e all_events /etc/ . . . . [ 8/Jan/2012 17:19:11] IN_OPEN /etc//locale.alias [ 8/Jan/2012 17:19:11] * Command: uname -r 3.1.0-1-amd64 [ 8/Jan/2012 17:19:11] IN_ACCESS /etc//locale.alias [ 8/Jan/2012 17:19:11] * Command: uname -r 3.1.0-1-amd64 [ 8/Jan/2012 17:19:11] IN_CLOSE_NOWRITE /etc//locale.alias [ 8/Jan/2012 17:19:11] * Command: uname -r 3.1.0-1-amd64 [ …

Read More

$sudo iwatch -e all_events /usr/lib/

$sudo iwatch -e all_events /usr/lib/ [ 7/Jan/2012 19:00:25] IN_OPEN /usr/lib//libmagic.so.1.0.0 [ 7/Jan/2012 19:00:25] IN_ACCESS /usr/lib//libmagic.so.1.0.0 [ 7/Jan/2012 19:00:25] IN_OPEN /usr/lib//libz.so.1.2.3.4 [ 7/Jan/2012 19:00:25] IN_ACCESS /usr/lib//libz.so.1.2.3.4 [ 7/Jan/2012 19:00:25] IN_CLOSE_NOWRITE /usr/lib//libz.so.1.2.3.4 [ 7/Jan/2012 19:00:25] IN_CLOSE_NOWRITE /usr/lib//libmagic.so.1.0.0   jeffrin@debian:~$ file hello-world.asp hello-world.asp: HTML document, ASCII text jeffrin@debian:~$ Related Link. http://en.wikipedia.org/wiki/Inotify

Read More

/etc/localtime .

File $ls -l /etc/localtime -rw-r–r– 1 root root 2100 Jan 5 21:49 /etc/localtime $ Explanation $file /etc/localtime /etc/localtime: timezone data, version 2, 4 gmt time flags, 4 std time flags, no leap seconds, 4 transition times, 4 abbreviation chars $ Get The Hang $hexdump /etc/localtime 0000000 5a54 6669 0032 0000 0000 0000 0000 0000 0000010 …

Read More