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 …

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 …

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 …

What is sysctl in some Unix-like Operating systems ?

ABOUT sysctl sysctl is a software utility of some Unix-like operating systems that reads and modifies the attributes of the system kernel such as its version number, maximum limits, and security settings. It is available both as a system call for compiled programs, and an administrator command for interactive use and scripting. Linux additionally exposes …

$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” …

$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 [ …

$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

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