C code Filesystem

[c] Code Segment const struct vm_operations_struct generic_file_vm_ops = { .fault = filemap_fault, + .page_mkwrite = filemap_page_mkwrite, }; Code Dissection 1.const — A C language keyword. Makes variable value or pointer parameter unmodifiable. 2.struct — A C language keyword Groups variables into a single record. 3.vm_operations_struct — A structure name. 4.generic_file_vm_ops — A structure variable. 5. …

ls ( –full-time option )

UNIX Command $ls –full-time total 4 -rw-r–r– 1 jeffrin jeffrin 0 2012-02-19 22:30:38.000000000 +0530 a1.txt -rw-r–r– 1 jeffrin jeffrin 2 2012-02-19 22:31:00.000000000 +0530 a2.txt $date Sat Feb 25 01:17:27 IST 2012 $date -R Sat, 25 Feb 2012 01:19:41 +0530 $ UNIX Explanation –full-time like -l –time-style=full-iso computer science related Theory Drop In computer science and …

How to list numeric user and group IDs ?

UNIX Command $ls a1.txt a2.txt $ls -n total 4 -rw-r–r– 1 1000 1000 0 Feb 19 22:30 a1.txt -rw-r–r– 1 1000 1000 2 Feb 19 22:31 a2.txt $id a1.txt id: a1.txt: No such user $id jeffrin uid=1000(jeffrin) gid=1000(jeffrin) groups=1000(jeffrin),29(audio),33(www-data),1001(wireshark),119(mysql) $ Unix Explanation -n, –numeric-uid-gid like -l, but list numeric user and group IDs Theory Drop …