[sf-lug] favorite interview questions
jim
jim at well.com
Sat Apr 3 10:50:16 PDT 2010
what are other standard interview questions?
someone asked me what's the default signal
sent by the kill command ( i said "15" ).
On Fri, 2010-04-02 at 09:15 -0700, Rick Moen wrote:
> Quoting Grant Bowman (grantbow at gmail.com):
>
> > What is the sticky bit?
>
> Ah, one of my standard interview questions. ;->
>
> > So what is a directory? It is a special type of inode. Each block
> > group has it's own inode table that contains not only the file name
> > and inode reference but in later ext2 "revisions" also contains a copy
> > of the file type of the referenced inode. I hope others on the list
> > will find some of this useful.
>
> Tip: Play around with the "stat" command, and you'll learn some
> rather interesting things about what data are stored in inodes for files
> you ask the "stat" command about (including for directories).
>
> $ stat /home/rick
> File: `rick'
> Size: 20480 Blocks: 40 IO Block: 4096 directory
> Device: 903h/2307d Inode: 162881 Links: 53
> Access: (0755/drwxr-xr-x) Uid: ( 1000/ rick) Gid: ( 1000/ rick)
> Access: 2010-04-02 09:11:58.000000000 -0700
> Modify: 2010-04-02 09:10:02.000000000 -0700
> Change: 2010-04-02 09:10:02.000000000 -0700
> $
>
>
> _______________________________________________
> sf-lug mailing list
> sf-lug at linuxmafia.com
> http://linuxmafia.com/mailman/listinfo/sf-lug
> Information about SF-LUG is at http://www.sf-lug.org/
More information about the sf-lug
mailing list